Merge pull request #106996 from andir/ml2pr/PATCH-wireshark-Do-PATH-lookup-in-wireshark-desktop-instead-of-hardcoding-derivation

wireshark: Do $PATH lookup in wireshark.desktop instead of hardcoding derivation
This commit is contained in:
Andreas Rammhold 2020-12-16 15:07:02 +01:00 committed by GitHub
commit 3bc15cbb55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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