1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/applications/window-managers/herbstluftwm/test-path-environment.patch
Thibaut Marty b1eb0af283 herbstluftwm: 0.8.3 → 0.9.1
Also enables the packages' tests.
The tests need a few patches to fix runtime generated script's shebangs.
There is also a fix to pass PATH environment variable to subprocess'
calls so that they can find some binaries (like xterm).
2021-01-18 16:12:29 +00:00

11 lines
303 B
Diff

--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -43,6 +43,7 @@
self.next_client_id = 0
self.env = {
'DISPLAY': display,
+ 'PATH': os.environ['PATH']
}
self.env = extend_env_with_whitelist(self.env)
self.hlwm_process = hlwm_process