aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Darrington <jmd@gnu.org>2016-10-06 20:03:09 +0200
committerJohn Darrington <jmd@gnu.org>2016-10-07 06:59:42 +0200
commit12b85b378777393bda24edb30cd974e4a0591e0f (patch)
tree3833338dde1344250a51a3c624f7a60a1f61bd05
parent1d8de185b80958cbb0c10621e1dd790aa327064b (diff)
downloadgnu-guix-12b85b378777393bda24edb30cd974e4a0591e0f.tar
gnu-guix-12b85b378777393bda24edb30cd974e4a0591e0f.tar.gz
gnu: tzdata: Fix dangling symbolic link.
* gnu/packages/base.scm (tzdata)[arguments]: Replace dangling symbolic link with the correct path.
-rw-r--r--gnu/packages/base.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 6057df2f5d..8f1290770a 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -960,11 +960,11 @@ command.")
(lambda* (#:key outputs #:allow-other-keys)
;; Move data in the right place.
(let ((out (assoc-ref outputs "out")))
- (copy-recursively (string-append out "/share/zoneinfo-posix")
- (string-append out "/share/zoneinfo/posix"))
+ (symlink (string-append out "/share/zoneinfo")
+ (string-append out "/share/zoneinfo/posix"))
+ (delete-file-recursively (string-append out "/share/zoneinfo-posix"))
(copy-recursively (string-append out "/share/zoneinfo-leaps")
(string-append out "/share/zoneinfo/right"))
- (delete-file-recursively (string-append out "/share/zoneinfo-posix"))
(delete-file-recursively (string-append out "/share/zoneinfo-leaps"))))
(alist-delete 'configure %standard-phases)))))
(inputs `(("tzcode" ,(origin