signal-desktop-(generic): use --replace-fail

(cherry picked from commit 614795583f)
This commit is contained in:
Gliczy
2024-11-07 16:52:36 +01:00
committed by github-actions[bot]
parent c82de5208d
commit 98cea74e49

View File

@@ -236,7 +236,7 @@ stdenv.mkDerivation rec {
# Fix the desktop link
substituteInPlace $out/share/applications/${pname}.desktop \
--replace "/opt/${dir}/${pname}" $out/bin/${pname} \
--replace-fail "/opt/${dir}/${pname}" $out/bin/${pname} \
--replace-fail "StartupWMClass=Signal" "StartupWMClass=signal"
# Note: The following path contains bundled libraries: