GNU bug report logs -
#49327
[PATCH core-updates 000/128] Add 'bash' input for 'wrap-program'.
Previous Next
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
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.