firefox: Fix running firefox under grsec kernels

This commit is contained in:
Ricardo M. Correia 2014-10-03 00:03:04 +02:00
parent 561e4211b7
commit 14fe149856

View File

@ -88,7 +88,7 @@ stdenv.mkDerivation rec {
postInstall =
''
# For grsecurity kernels
paxmark m $out/lib/*/{plugin-container,xulrunner}
paxmark m $out/lib/${name}/{firefox,firefox-bin,plugin-container}
# Remove SDK cruft. FIXME: move to a separate output?
rm -rf $out/share/idl $out/include $out/lib/firefox-devel-*