From: Christopher Baines <mail@cbaines.net>
To: 58834@debbugs.gnu.org
Subject: [bug#58834] [PATCH 1/3] gnu: gzip: Fix script interpreters when cross-compiling.
Date: Fri, 28 Oct 2022 13:29:34 +0100 [thread overview]
Message-ID: <20221028122936.3717-1-mail@cbaines.net> (raw)
In-Reply-To: <871qqs6sz7.fsf@cbaines.net>
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.
---
gnu/packages/compression.scm | 5 +++++
1 file changed, 5 insertions(+)
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 @@ (define-module (gnu packages compression)
#: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 @@ (define-public gzip
(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
--
2.37.3
next prev parent reply other threads:[~2022-10-28 12:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-28 12:18 [bug#58834] [PATCH 0/3] Fix some scripts in compression packages when cross-compiling Christopher Baines
2022-10-28 12:29 ` Christopher Baines [this message]
2022-10-28 12:29 ` [bug#58834] [PATCH 2/3] gnu: xz: Fix script interpreters " Christopher Baines
2022-10-28 12:29 ` [bug#58834] [PATCH 3/3] gnu: bzip2: " Christopher Baines
2022-10-29 8:41 ` bug#58834: [PATCH 0/3] Fix some scripts in compression packages " Christopher Baines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221028122936.3717-1-mail@cbaines.net \
--to=mail@cbaines.net \
--cc=58834@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).