mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
polkit: fix paxmark script
This commit is contained in:
parent
f85a82a647
commit
bad3800307
@ -92,6 +92,7 @@ stdenv.mkDerivation rec {
|
|||||||
# The following is required on grsecurity/PaX due to spidermonkey's JIT
|
# The following is required on grsecurity/PaX due to spidermonkey's JIT
|
||||||
postBuild = stdenv.lib.optionalString stdenv.isLinux ''
|
postBuild = stdenv.lib.optionalString stdenv.isLinux ''
|
||||||
paxmark mr src/polkitbackend/.libs/polkitd
|
paxmark mr src/polkitbackend/.libs/polkitd
|
||||||
|
'' + stdenv.lib.optionalString (stdenv.isLinux && doCheck) ''
|
||||||
paxmark mr test/polkitbackend/.libs/polkitbackendjsauthoritytest
|
paxmark mr test/polkitbackend/.libs/polkitbackendjsauthoritytest
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user