diff options
| author | John Darrington | 2016-10-06 20:03:09 +0200 |
|---|---|---|
| committer | John Darrington | 2016-10-07 06:59:42 +0200 |
| commit | 12b85b378777393bda24edb30cd974e4a0591e0f (patch) | |
| tree | 3833338dde1344250a51a3c624f7a60a1f61bd05 /gnu/packages/base.scm | |
| parent | 1d8de185b80958cbb0c10621e1dd790aa327064b (diff) | |
gnu: tzdata: Fix dangling symbolic link.
* gnu/packages/base.scm (tzdata)[arguments]: Replace dangling symbolic link
with the correct path.
Diffstat (limited to 'gnu/packages/base.scm')
| -rw-r--r-- | gnu/packages/base.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 6057df2f5..8f1290770 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 |