polkit: fix paxmark script

This commit is contained in:
Matthew Justin Bauer 2018-06-16 21:24:27 -04:00 committed by GitHub
parent f85a82a647
commit bad3800307
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
''; '';