diff options
author | Will Dietz <w@wdtz.org> | 2017-01-05 16:26:35 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2017-01-05 16:26:35 -0600 |
commit | 3f9cb55dce4b1e006c13f5423b368b9282d65db9 (patch) | |
tree | b571c7ececb9c77a538a90fcd66520094ed033c7 /pkgs/applications/networking/instant-messengers | |
parent | 8d029efdfde39dae8456fe20e25c77ac80ba53ce (diff) | |
download | nixlib-3f9cb55dce4b1e006c13f5423b368b9282d65db9.tar nixlib-3f9cb55dce4b1e006c13f5423b368b9282d65db9.tar.gz nixlib-3f9cb55dce4b1e006c13f5423b368b9282d65db9.tar.bz2 nixlib-3f9cb55dce4b1e006c13f5423b368b9282d65db9.tar.lz nixlib-3f9cb55dce4b1e006c13f5423b368b9282d65db9.tar.xz nixlib-3f9cb55dce4b1e006c13f5423b368b9282d65db9.tar.zst nixlib-3f9cb55dce4b1e006c13f5423b368b9282d65db9.zip |
skype: paxmark to fix execution on PaX-enabled kernels
Diffstat (limited to 'pkgs/applications/networking/instant-messengers')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/skype/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/skype/default.nix b/pkgs/applications/networking/instant-messengers/skype/default.nix index 5bb2121b1fda..a84b9cbf31c1 100644 --- a/pkgs/applications/networking/instant-messengers/skype/default.nix +++ b/pkgs/applications/networking/instant-messengers/skype/default.nix @@ -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 |