Merge pull request #206082 from wizeman/u/fix-polkit

polkit: only fix mocklibc when doing tests
This commit is contained in:
Jörg Thalheim
2022-12-14 21:04:00 +00:00
committed by GitHub
@@ -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