Merge pull request #21694 from dtzWill/fix/skype-pax
skype: paxmark to fix execution on PaX-enabled kernels
This commit is contained in:
commit
f1dc2dd552
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user