~ruther/guix-local

c94d01bab2714b963048e965955652d0f91ebd56 — Ludovic Courtès 12 years ago 52a79f1
gnu: tzdata: Fix cross-compilation.

Reported by John Darrington <john@darrington.wattle.id.au>.

* gnu/packages/base.scm (tzdata): Use the 'source' keyword argument in
  phases rather than the "source" input.  This fixes cross-compilation.
1 files changed, 2 insertions(+), 2 deletions(-)

M gnu/packages/base.scm
M gnu/packages/base.scm => gnu/packages/base.scm +2 -2
@@ 520,8 520,8 @@ with the Linux kernel.")
       #:phases
       (alist-replace
        'unpack
        (lambda* (#:key inputs #:allow-other-keys)
          (and (zero? (system* "tar" "xvf" (assoc-ref inputs "source")))
        (lambda* (#:key source inputs #:allow-other-keys)
          (and (zero? (system* "tar" "xvf" source))
               (zero? (system* "tar" "xvf" (assoc-ref inputs "tzcode")))))
        (alist-cons-after
         'install 'post-install