diff options
author | Christopher Baines <mail@cbaines.net> | 2022-10-28 13:14:04 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2022-10-29 09:29:31 +0100 |
commit | 01cfc2270005375d81011d2bd2f8b32ec520e22d (patch) | |
tree | ae130b0593fd36295ccfdb37fccc530aee405550 | |
parent | 42c83153168e4a637cdfda06c8f90686e5b7018c (diff) | |
download | guix-01cfc2270005375d81011d2bd2f8b32ec520e22d.tar.gz |
gnu: gzip: Fix script interpreters when cross-compiling.
Add bash-minimal as an input fixes the interpreters for various scripts (like zcat and zless) when cross-compiling. * gnu/packages/compression.scm (gzip)[inputs]: Add bash-minimal when cross compiling.
-rw-r--r-- | gnu/packages/compression.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index f2bf5c443c..b3a678480d 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -70,6 +70,7 @@ #:use-module (gnu packages autotools) #:use-module (gnu packages backup) #:use-module (gnu packages base) + #:use-module (gnu packages bash) #:use-module (gnu packages benchmark) #:use-module (gnu packages boost) #:use-module (gnu packages check) @@ -281,6 +282,10 @@ adding and extracting files to/from a tar archive.") (string-append "exec " (assoc-ref outputs "out") "/bin/gzip"))) #t))))) + (inputs + `(,@(if (%current-target-system) + `(("bash" ,bash-minimal)) + '()))) (description "GNU Gzip provides data compression and decompression utilities; the typical extension is \".gz\". Unlike the \"zip\" format, it compresses a single |