3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #14853 from avnik/fixes

skype: fix rpath broken by closure-size merge
This commit is contained in:
Nikolay Amiantov 2016-04-21 03:23:41 +04:00
commit dfb370ce5f

View file

@ -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}