about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/skypeforlinux
diff options
context:
space:
mode:
authorBjørn Forsman <bjorn.forsman@gmail.com>2022-10-29 23:39:29 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2022-11-01 10:41:06 +0100
commitf627f3a2b51c77fb227c0ae2b440cfac4a169469 (patch)
tree564b6e9ab3da6ae146d42b68d12b8fab1393d90d /pkgs/applications/networking/instant-messengers/skypeforlinux
parent7408ad5e14347ef8550ffb16f2a5265a3ec5b40a (diff)
skypeforlinux: remove nix store path references in desktop files
Because desktop files can be copied to $HOME/.config/autostart, and
eventually the Nix store paths they reference will be garbage collected
and break.
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/skypeforlinux')
-rw-r--r--pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix b/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix
index ec33f99809ef6..d9fcbc26380ee 100644
--- a/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix
+++ b/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix
@@ -110,11 +110,11 @@ in stdenv.mkDerivation {
 
     # Fix the desktop link
     substituteInPlace $out/share/applications/skypeforlinux.desktop \
-      --replace /usr/bin/ $out/bin/
+      --replace /usr/bin/ ""
     substituteInPlace $out/share/applications/skypeforlinux-share.desktop \
-      --replace /usr/bin/ $out/bin/
+      --replace /usr/bin/ ""
     substituteInPlace $out/share/kservices5/ServiceMenus/skypeforlinux.desktop \
-      --replace /usr/bin/ $out/bin/
+      --replace /usr/bin/ ""
   '';
 
   meta = with lib; {