summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlemens Nanni <klemens.nanni@siticom.de>2020-11-18 23:30:58 +0100
committerAndreas Rammhold <andreas@rammhold.de>2020-12-16 03:42:19 +0100
commit251349dac30e4de0d9d0c982ccbe4e12c3217ccb (patch)
tree39e2125368f13fe32e5cfe604ab67734ed80ee20
parent5d5e970ce04933576957dfbf99cb7d4c1802c60d (diff)
wireshark: Do $PATH lookup in wireshark.desktop instead of hardcoding derivation
See db236e588de "steam: Do $PATH lookup in steam.desktop [...]". tl;dr: Otherwise widget/panel/desktop icons in DEs like KDE break. As upstream's .desktop file does not contain any executable paths, simply avoid substitution. Message-Id: <97c3e797-d844-4d0a-9ccf-397745f83aeb@siticom.de>
-rw-r--r--pkgs/applications/networking/sniffers/wireshark/default.nix3
1 files changed, 0 insertions, 3 deletions
diff --git a/pkgs/applications/networking/sniffers/wireshark/default.nix b/pkgs/applications/networking/sniffers/wireshark/default.nix
index d906b4459009..c1464151eca1 100644
--- a/pkgs/applications/networking/sniffers/wireshark/default.nix
+++ b/pkgs/applications/networking/sniffers/wireshark/default.nix
@@ -80,9 +80,6 @@ in stdenv.mkDerivation {
'' else optionalString withQt ''
install -Dm644 -t $out/share/applications ../wireshark.desktop
- substituteInPlace $out/share/applications/*.desktop \
- --replace "Exec=wireshark" "Exec=$out/bin/wireshark"
-
install -Dm644 ../image/wsicon.svg $out/share/icons/wireshark.svg
mkdir $dev/include/{epan/{wmem,ftypes,dfilter},wsutil,wiretap} -pv