diff options
author | Christopher Baines <mail@cbaines.net> | 2022-10-28 13:16:07 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2022-10-29 09:29:32 +0100 |
commit | a0c5f19dc6e5a4d126b7b10502677ddb463f022f (patch) | |
tree | 5b81e28eaf5580426d136b083f0efb86e9423598 /gnu | |
parent | 01cfc2270005375d81011d2bd2f8b32ec520e22d (diff) |
gnu: xz: Fix script interpreters when cross-compiling.
Add bash-minimal as an input fixes the interpreters for various scripts (like
xzgrep and xzless) when cross-compiling.
* gnu/packages/compression.scm (xz)[inputs]: Add bash-minimal when cross
compiling.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/compression.scm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index b3a678480d..672d5119be 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -529,6 +529,10 @@ compressed with pbzip2 can be decompressed with bzip2).") (("^old_library='liblzma.a'") "old_library=''")) #t)))))) (outputs '("out" "static")) + (inputs + `(,@(if (%current-target-system) + `(("bash" ,bash-minimal)) + '()))) (synopsis "General-purpose data compression") (description "XZ Utils is free general-purpose data compression software with high |