summary refs log tree commit diff
path: root/pkgs/applications/video/webtorrent_desktop
diff options
context:
space:
mode:
authorTycho Grouwstra <tychogrouwstra@gmail.com>2018-08-22 23:32:10 +0200
committerxeji <36407913+xeji@users.noreply.github.com>2018-08-22 23:32:10 +0200
commita89492b0f067bd0171557a40ce771b6b477bdb90 (patch)
treed6486084bfc5790cb725e24a487ab6e3205d3837 /pkgs/applications/video/webtorrent_desktop
parent9b136dd5ed17888daf8b188ceaad434643294231 (diff)
downloadnixpkgs-a89492b0f067bd0171557a40ce771b6b477bdb90.tar
nixpkgs-a89492b0f067bd0171557a40ce771b6b477bdb90.tar.gz
nixpkgs-a89492b0f067bd0171557a40ce771b6b477bdb90.tar.bz2
nixpkgs-a89492b0f067bd0171557a40ce771b6b477bdb90.tar.lz
nixpkgs-a89492b0f067bd0171557a40ce771b6b477bdb90.tar.xz
nixpkgs-a89492b0f067bd0171557a40ce771b6b477bdb90.tar.zst
nixpkgs-a89492b0f067bd0171557a40ce771b6b477bdb90.zip
webtorrent-desktop: fix .desktop Path entries (#45477)
Fixes the `Path=/opt/webtorrent-desktop` entries [here](https://github.com/webtorrent/webtorrent-desktop/blob/41511c56153b878b0dd39b2adac9525fb66fb35c/static/linux/share/applications/webtorrent-desktop.desktop#L11-L13) -- presently these prevent users from launching the application using the `.desktop` entry.
Diffstat (limited to 'pkgs/applications/video/webtorrent_desktop')
-rw-r--r--pkgs/applications/video/webtorrent_desktop/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/video/webtorrent_desktop/default.nix b/pkgs/applications/video/webtorrent_desktop/default.nix
index b03ca2328b3..c99aed0c1af 100644
--- a/pkgs/applications/video/webtorrent_desktop/default.nix
+++ b/pkgs/applications/video/webtorrent_desktop/default.nix
@@ -73,7 +73,7 @@
 
       # Fix the desktop link
       substituteInPlace $out/share/applications/webtorrent-desktop.desktop \
-        --replace /opt/webtorrent-desktop/WebTorrent $out/bin/WebTorrent
+        --replace /opt/webtorrent-desktop $out/bin
     '';
 
     meta = with stdenv.lib; {