guix_mirror_bot pushed a commit to branch core-packages-team in repository guix.
commit 3cc4d5af239e883a2d8c17d25e21e4759564813c Author: Nicolas Graves <[email protected]> AuthorDate: Sun Mar 15 17:40:16 2026 +0100 gnu: gettext-minimal: Fix cross-compilation. * gnu/packages/gettext.scm (gettext-minimal)[arguments] <#:phases>: Fix cross-compilation in phase 'patch-tests. Change-Id: I3d326380420f33fa03a84e272876503bc89c67ab --- gnu/packages/gettext.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index f33a28879c..c119794d24 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm @@ -90,12 +90,13 @@ "gettext-tools/projects/GNOME/trigger") (("/bin/pwd") "pwd")))) (add-before 'check 'patch-tests - (lambda* (#:key inputs #:allow-other-keys) + (lambda* (#:key native-inputs inputs #:allow-other-keys) ;;libgettextlib-1.0.so => not found (substitute* "gettext-tools/gnulib-tests/test-execute.sh" (("^#!.*" all) (string-append all "exit 77;\n"))) - (let* ((bash (search-input-file inputs "bin/sh"))) + (let* ((bash (search-input-file (or native-inputs inputs) + "bin/sh"))) ;; Some of the files we're patching are ;; ISO-8859-1-encoded, so choose it as the default ;; encoding so the byte encoding is preserved.
