diff options
author | Brian Kubisiak <brian@kubisiak.com> | 2022-03-29 18:45:55 -0700 |
---|---|---|
committer | Mathieu Othacehe <othacehe@gnu.org> | 2022-03-30 12:34:36 +0200 |
commit | 2387adf60022799a8af144ed8dd2b7a46c155374 (patch) | |
tree | 91264e4bb034336d2afa092658ba503bc175b77a | |
parent | a006b7d34757dbafc0d71d875613e6df521efe51 (diff) |
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>
-rw-r--r-- | gnu/packages/compression.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 3edaecd951..e1d8f721a3 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -411,8 +411,10 @@ decompression.") `(#: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))) |