summaryrefslogtreecommitdiff
path: root/gnu/packages/compression.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-10-28 13:17:38 +0100
committerChristopher Baines <mail@cbaines.net>2022-10-29 09:29:32 +0100
commit067deee14ff8f956a4246a15991e291fafdac898 (patch)
tree509cff8fa4107c77f1d21812d538e9305eb7c58e /gnu/packages/compression.scm
parenta0c5f19dc6e5a4d126b7b10502677ddb463f022f (diff)
gnu: bzip2: Fix script interpreters when cross-compiling.
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.
Diffstat (limited to 'gnu/packages/compression.scm')
-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