unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/2] gnu: tzdata: Fix dangling symbolic link.
@ 2016-10-06 18:18 John Darrington
  2016-10-06 18:18 ` [PATCH 2/2] gnu: tzdata: Use modify-phases John Darrington
  2016-10-06 19:36 ` [PATCH 1/2] gnu: tzdata: Fix dangling symbolic link Ludovic Courtès
  0 siblings, 2 replies; 8+ messages in thread
From: John Darrington @ 2016-10-06 18:18 UTC (permalink / raw)
  To: guix-devel; +Cc: John Darrington

* gnu/packages/base.scm (tzdata)[arguments]: Replace dangling symbolic link
with the correct path.
---
 gnu/packages/base.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index a476837..52d8de3 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -946,11 +946,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
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-10-07 19:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-06 18:18 [PATCH 1/2] gnu: tzdata: Fix dangling symbolic link John Darrington
2016-10-06 18:18 ` [PATCH 2/2] gnu: tzdata: Use modify-phases John Darrington
2016-10-06 19:36   ` Ludovic Courtès
2016-10-06 21:46     ` Leo Famulari
2016-10-06 19:36 ` [PATCH 1/2] gnu: tzdata: Fix dangling symbolic link Ludovic Courtès
2016-10-06 20:40   ` Danny Milosavljevic
2016-10-07 19:53     ` Ludovic Courtès
2016-10-07 19:58       ` Danny Milosavljevic

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).