GNU bug report logs - #49327
[PATCH core-updates 000/128] Add 'bash' input for 'wrap-program'.

Previous Next

Package: guix-patches;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Fri, 2 Jul 2021 10:05:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxime Devos <maximedevos <at> telenet.be>
To: 49327 <at> debbugs.gnu.org
Cc: Maxime Devos <maximedevos <at> telenet.be>
Subject: [bug#49327] [PATCH core-updates 091/128] gnu: lightdm: Explicitely use a native 'bash' for 'wrap-program'.
Date: Fri,  2 Jul 2021 12:07:37 +0200
Having to use a native bash for 'wrap-program' is fairly
unusual, but here it is the right thing, as it is for
the test suite only.  Placate the 'wrapper-inputs' linter.

Also, eventually we might consider letting 'wrap-program'
bail out if no bash for the host is found, even when
compiling natively.  But that's for later.

* gnu/packages/display-managers.scm
  (lightdm)[arguments]<#:phases>{pre-check}: Set #:sh
  argument of 'pre-check'
---
 gnu/packages/display-managers.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/display-managers.scm b/gnu/packages/display-managers.scm
index 264ad34ba3..0af00163cf 100644
--- a/gnu/packages/display-managers.scm
+++ b/gnu/packages/display-managers.scm
@@ -223,6 +223,7 @@ easy to use, login interface with a modern yet classy touch.")
            ;; Run test-suite under a dbus session.
            (lambda* (#:key inputs #:allow-other-keys)
              (wrap-program "tests/src/test-python-greeter"
+               #:sh (which "bash")
                `("GUIX_PYTHONPATH"      ":" prefix (,(getenv "GUIX_PYTHONPATH")))
                `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH"))))
 
-- 
2.32.0





This bug report was last modified 1 year and 208 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.