qemu: apply PaX markings

This commit is contained in:
Joachim Fasting 2016-04-08 01:45:53 +02:00
parent 09cf92ccee
commit dae5f53d25
No known key found for this signature in database
GPG Key ID: 4330820E1E04DCF4

@ -60,6 +60,13 @@ stdenv.mkDerivation rec {
++ optional stdenv.isDarwin "--enable-cocoa"
++ optional stdenv.isLinux "--enable-linux-aio";
postFixup =
''
for exe in $out/bin/qemu-system-* ; do
paxmark m $exe
done
'';
postInstall =
''
# Add a qemu-kvm wrapper for compatibility/convenience.