From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: [PATCH 1/2] gnu: tzdata: Fix dangling symbolic link. Date: Thu, 6 Oct 2016 20:18:06 +0200 Message-ID: <1475777887-6628-1-git-send-email-jmd@gnu.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37222) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bsDFL-0005cm-3Z for guix-devel@gnu.org; Thu, 06 Oct 2016 14:18:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bsDFF-0006vx-1s for guix-devel@gnu.org; Thu, 06 Oct 2016 14:18:17 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org 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