aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-10-28 13:16:07 +0100
committerChristopher Baines <mail@cbaines.net>2022-10-28 13:16:07 +0100
commit99020853cb3c8c0c0c2cd8fff7a34bc1d441659a (patch)
treed206af2e7fe5752c1654801c706dee2bf7e62228
parentb8493b2f52152b38a6b46d858dd801c3c6da6e41 (diff)
downloadguix-99020853cb3c8c0c0c2cd8fff7a34bc1d441659a.tar
guix-99020853cb3c8c0c0c2cd8fff7a34bc1d441659a.tar.gz
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.
-rw-r--r--gnu/packages/compression.scm4
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