skype: fix rpath broken by closure-size merge
This commit is contained in:
parent
fda6a5ff9d
commit
2ddc17b930
@ -38,13 +38,8 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p $out/{libexec/skype/,bin}
|
||||
cp -r * $out/libexec/skype/
|
||||
|
||||
fullPath=
|
||||
for i in $nativeBuildInputs; do
|
||||
fullPath=$fullPath''${fullPath:+:}$i/lib
|
||||
done
|
||||
|
||||
patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath "$fullPath" $out/libexec/skype/skype
|
||||
--set-rpath "${lib.makeLibraryPath buildInputs}" $out/libexec/skype/skype
|
||||
|
||||
cat > $out/bin/skype << EOF
|
||||
#!${stdenv.shell}
|
||||
|
Loading…
Reference in New Issue
Block a user