hushboard: use --replace-fail in postPatch substitutions (#460837)

This commit is contained in:
Gergő Gutyina
2026-02-14 00:19:11 +00:00
committed by GitHub
+2 -2
View File
@@ -54,9 +54,9 @@ python3Packages.buildPythonApplication {
postPatch = ''
substituteInPlace hushboard/_pulsectl.py \
--replace "ctypes.util.find_library('libpulse') or 'libpulse.so.0'" "'${libpulseaudio}/lib/libpulse.so.0'"
--replace-fail "ctypes.util.find_library('libpulse') or 'libpulse.so.0'" "'${libpulseaudio}/lib/libpulse.so.0'"
substituteInPlace snap/gui/hushboard.desktop \
--replace "\''${SNAP}/hushboard/icons/hushboard.svg" "hushboard"
--replace-fail "\''${SNAP}/hushboard/icons/hushboard.svg" "hushboard"
'';
postInstall = ''