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.
This commit is contained in:
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
(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