mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: lbzip2: Fix cross-compilation.
* gnu/packages/compression.scm (lbzip2)[arguments]: Search (or native-inputs inputs) for gnulib-tool.py. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
parent
a006b7d347
commit
2387adf600
1 changed files with 4 additions and 2 deletions
|
@ -411,8 +411,10 @@ (define-public lbzip2
|
|||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'unpack-gnulib
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((gnulib (assoc-ref inputs "gnulib")))
|
||||
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
||||
(let ((gnulib
|
||||
(dirname (search-input-file (or native-inputs inputs)
|
||||
"gnulib-tool.py"))))
|
||||
(copy-recursively gnulib "lib")
|
||||
(setenv "PATH" (string-append "lib:" (getenv "PATH")))
|
||||
#t)))
|
||||
|
|
Loading…
Reference in a new issue