skype: paxmark to fix execution on PaX-enabled kernels

This commit is contained in:
Will Dietz 2017-01-05 16:26:35 -06:00
parent 8d029efdfd
commit 3f9cb55dce

View file

@ -38,6 +38,9 @@ stdenv.mkDerivation rec {
mkdir -p $out/{libexec/skype/,bin}
cp -r * $out/libexec/skype/
# Fix execution on PaX-enabled kernels
paxmark m $out/libexec/skype/skype
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath "${lib.makeLibraryPath buildInputs}" $out/libexec/skype/skype