Browse Source

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.
gn-latest-20200428
Ludovic Courtès 8 years ago
parent
commit
c94d01bab2
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      gnu/packages/base.scm

+ 2
- 2
gnu/packages/base.scm 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


Loading…
Cancel
Save