skype: fix rpath broken by closure-size merge
This commit is contained in:
parent
fda6a5ff9d
commit
2ddc17b930
1 changed files with 1 additions and 6 deletions
|
@ -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 a new issue