skypeforlinux: fix borked cherry-picking
This commit is contained in:
parent
3b2f3e59d1
commit
2801a299be
@ -83,6 +83,8 @@ in stdenv.mkDerivation {
|
|||||||
rm -rf $out/opt $out/usr
|
rm -rf $out/opt $out/usr
|
||||||
rm $out/bin/skypeforlinux
|
rm $out/bin/skypeforlinux
|
||||||
|
|
||||||
|
ln -s "$out/share/skypeforlinux/skypeforlinux" "$out/bin/skypeforlinux"
|
||||||
|
|
||||||
# Otherwise it looks "suspicious"
|
# Otherwise it looks "suspicious"
|
||||||
chmod -R g-w $out
|
chmod -R g-w $out
|
||||||
'';
|
'';
|
||||||
@ -93,12 +95,6 @@ in stdenv.mkDerivation {
|
|||||||
patchelf --set-rpath ${rpath}:$out/share/skypeforlinux $file || true
|
patchelf --set-rpath ${rpath}:$out/share/skypeforlinux $file || true
|
||||||
done
|
done
|
||||||
|
|
||||||
ln -s "$out/share/skypeforlinux/skypeforlinux" "$out/bin/skypeforlinux"
|
|
||||||
|
|
||||||
wrapProgram $out/bin/skypeforlinux \
|
|
||||||
--suffix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
|
|
||||||
|
|
||||||
|
|
||||||
# Fix the desktop link
|
# Fix the desktop link
|
||||||
substituteInPlace $out/share/applications/skypeforlinux.desktop \
|
substituteInPlace $out/share/applications/skypeforlinux.desktop \
|
||||||
--replace /usr/bin/ $out/bin/ \
|
--replace /usr/bin/ $out/bin/ \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user