parsec-bin: fix desktop entry exec and icon

This commit is contained in:
SharzyL
2022-12-29 11:59:06 +08:00
parent 109dcb6baa
commit bfd10b629d
+4
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
'';