mpd-touch-screen-gui: use substituteInPlace with --replace-fail for patch

This commit is contained in:
Doron Behar
2026-05-05 10:41:26 +03:00
parent ac3bc672c5
commit 85356ccf96
@@ -32,7 +32,8 @@ stdenv.mkDerivation (finalAttrs: {
];
postPatch = ''
sed -i s#/usr/share/fonts/TTF#${dejavu_fonts}/share/fonts/truetype#g data/program.conf
substituteInPlace data/program.conf \
--replace-fail /usr/share/fonts/TTF ${dejavu_fonts}/share/fonts/truetype
'';
buildInputs = [