mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 22:16:32 +01: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
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'unpack-gnulib
|
(add-after 'unpack 'unpack-gnulib
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs native-inputs #:allow-other-keys)
|
||||||
(let ((gnulib (assoc-ref inputs "gnulib")))
|
(let ((gnulib
|
||||||
|
(dirname (search-input-file (or native-inputs inputs)
|
||||||
|
"gnulib-tool.py"))))
|
||||||
(copy-recursively gnulib "lib")
|
(copy-recursively gnulib "lib")
|
||||||
(setenv "PATH" (string-append "lib:" (getenv "PATH")))
|
(setenv "PATH" (string-append "lib:" (getenv "PATH")))
|
||||||
#t)))
|
#t)))
|
||||||
|
|
Loading…
Reference in a new issue