change replace to replace-fail

This commit is contained in:
Stefano De Vuono
2025-03-30 15:42:16 -07:00
parent e8598f846c
commit e1b8acf7ca
@@ -88,11 +88,11 @@ clangStdenv.mkDerivation rec {
postPatch = ''
substituteInPlace src/xmagics/executable.cpp \
--replace "getDataLayout" "getDataLayoutString"
--replace-fail "getDataLayout" "getDataLayoutString"
substituteInPlace src/xmagics/execution.cpp \
--replace "simplisticCastAs" "castAs"
--replace-fail "simplisticCastAs" "castAs"
substituteInPlace src/xmime_internal.hpp \
--replace "code.str()" "code.str().str()"
--replace-fail "code.str()" "code.str().str()"
'';
dontStrip = debug;