From a0c5f19dc6e5a4d126b7b10502677ddb463f022f Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Fri, 28 Oct 2022 13:16:07 +0100 Subject: gnu: xz: Fix script interpreters when cross-compiling. Add bash-minimal as an input fixes the interpreters for various scripts (like xzgrep and xzless) when cross-compiling. * gnu/packages/compression.scm (xz)[inputs]: Add bash-minimal when cross compiling. --- gnu/packages/compression.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index b3a678480d..672d5119be 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -529,6 +529,10 @@ compressed with pbzip2 can be decompressed with bzip2).") (("^old_library='liblzma.a'") "old_library=''")) #t)))))) (outputs '("out" "static")) + (inputs + `(,@(if (%current-target-system) + `(("bash" ,bash-minimal)) + '()))) (synopsis "General-purpose data compression") (description "XZ Utils is free general-purpose data compression software with high -- cgit 1.4.1