Merge pull request #208190 from SharzyL/fix-parsec-bin-desktop

parsec-bin: fix desktop entry exec and icon
This commit is contained in:
Anderson Torres 2022-12-29 01:31:48 -03:00 committed by GitHub
commit 7d301ebe20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,6 +67,10 @@ stdenvNoCC.mkDerivation {
--prefix LD_LIBRARY_PATH : "$runtimeDependenciesPath" \
--run "$prepareParsec"
substituteInPlace $out/share/applications/parsecd.desktop \
--replace "/usr/bin/parsecd" "parsecd" \
--replace "/usr/share/icons" "${placeholder "out"}/share/icons"
runHook postInstall
'';