mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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.
This commit is contained in:
parent
42c8315316
commit
01cfc22700
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue