me
/
guix
Archived
1
0
Fork 0

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.
master
Ludovic Courtès 2013-12-14 19:23:29 +01:00
parent 52a79f1e73
commit c94d01bab2
1 changed files with 2 additions and 2 deletions

View File

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