We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a36c8c9 commit 25725c8Copy full SHA for 25725c8
pkgs/development/python-modules/systemd/default.nix
@@ -25,12 +25,14 @@ buildPythonPackage rec {
25
26
buildInputs = [ systemd ];
27
28
- nativeCheckInputs = [ pytest ];
+ nativeCheckInputs = [
29
+ libredirect.hook
30
+ pytest
31
+ ];
32
33
checkPhase = ''
34
echo "12345678901234567890123456789012" > machine-id
35
export NIX_REDIRECTS=/etc/machine-id=$(realpath machine-id) \
- LD_PRELOAD=${libredirect}/lib/libredirect.so
36
37
# Those tests assume /etc/machine-id to be available
38
# But our redirection technique does not work apparently
0 commit comments