all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: John Darrington <jmd@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 1/2] gnu: tzdata: Fix dangling symbolic link.
Date: Thu, 06 Oct 2016 21:36:19 +0200	[thread overview]
Message-ID: <87twcpi824.fsf@gnu.org> (raw)
In-Reply-To: <1475777887-6628-1-git-send-email-jmd@gnu.org> (John Darrington's message of "Thu, 6 Oct 2016 20:18:06 +0200")

John Darrington <jmd@gnu.org> skribis:

> * 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"))

Or even:

  (symlink "." (string-append out "/share/zoneinfo/posix"))

OK for core-updates, thanks!

Ludo’.

  parent reply	other threads:[~2016-10-06 19:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Ludovic Courtès [this message]
2016-10-06 20:40   ` [PATCH 1/2] gnu: tzdata: Fix dangling symbolic link Danny Milosavljevic
2016-10-07 19:53     ` Ludovic Courtès
2016-10-07 19:58       ` Danny Milosavljevic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87twcpi824.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=jmd@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.