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
parent
52a79f1e73
commit
c94d01bab2
|
@ -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
|
||||||
|
|
Reference in New Issue