aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-10-28 13:17:38 +0100
committerChristopher Baines <mail@cbaines.net>2022-10-28 13:17:38 +0100
commitbf37ad12b2dd60a05000df46938ac2906c1b9701 (patch)
treeccea11586522e11c2705503533a487bd9661d036
parent99020853cb3c8c0c0c2cd8fff7a34bc1d441659a (diff)
downloadguix-fix-some-compression-scripts.tar
guix-fix-some-compression-scripts.tar.gz
gnu: bzip2: Fix script interpreters when cross-compiling.fix-some-compression-scripts
Add bash-minimal as an input fixes the interpreters for various scripts (like bzdiff and bzgrep) when cross-compiling. * gnu/packages/compression.scm (bzip2)[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 672d5119be..857722ef4a 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -394,6 +394,10 @@ file; as a result, it is often used in conjunction with \"tar\", resulting in
,@(if (%current-target-system)
'(#:tests? #f)
'())))
+ (inputs
+ `(,@(if (%current-target-system)
+ `(("bash" ,bash-minimal))
+ '())))
(outputs '("out" "static"))
(synopsis "High-quality data compression program")
(description