[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#49327] [PATCH core-updates 091/128] gnu: lightdm: Explicitely use a

From: Maxime Devos
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 
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 
            ;; 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 
                `("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH"))))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]