Merge pull request #206082 from wizeman/u/fix-polkit
polkit: only fix mocklibc when doing tests
This commit is contained in:
commit
e4bda4c56e
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ stdenv.mkDerivation rec {
|
|||
--replace /bin/false ${coreutils}/bin/false
|
||||
'';
|
||||
|
||||
postConfigure = lib.optionalString (!stdenv.hostPlatform.isMusl) ''
|
||||
postConfigure = lib.optionalString doCheck ''
|
||||
# Unpacked by meson
|
||||
chmod +x subprojects/mocklibc-1.0/bin/mocklibc
|
||||
patchShebangs subprojects/mocklibc-1.0/bin/mocklibc
|
||||
|
|
Loading…
Reference in a new issue