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

This commit is contained in:
Gliczy 2024-11-07 16:52:36 +01:00
parent e630ab066e
commit 614795583f

View File

@ -237,7 +237,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: