unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 58834@debbugs.gnu.org
Subject: [bug#58834] [PATCH 3/3] gnu: bzip2: Fix script interpreters when cross-compiling.
Date: Fri, 28 Oct 2022 13:29:36 +0100	[thread overview]
Message-ID: <20221028122936.3717-3-mail@cbaines.net> (raw)
In-Reply-To: <20221028122936.3717-1-mail@cbaines.net>

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.
---
 gnu/packages/compression.scm | 4 ++++
 1 file changed, 4 insertions(+)

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 @@ (define-public bzip2
        ,@(if (%current-target-system)
              '(#:tests? #f)
              '())))
+    (inputs
+     `(,@(if (%current-target-system)
+             `(("bash" ,bash-minimal))
+             '())))
     (outputs '("out" "static"))
     (synopsis "High-quality data compression program")
     (description
-- 
2.37.3





  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 ` [bug#58834] [PATCH 1/3] gnu: gzip: Fix script interpreters " Christopher Baines
2022-10-28 12:29   ` [bug#58834] [PATCH 2/3] gnu: xz: " Christopher Baines
2022-10-28 12:29   ` Christopher Baines [this message]
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-3-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).