blahtexml: change --replace into --replace-fail

This commit is contained in:
Vincenzo Mantova
2026-05-23 22:02:04 +01:00
parent 8a3fcf9c9e
commit 72b5b9ee5c
+2 -2
View File
@@ -22,13 +22,13 @@ stdenv.mkDerivation (finalAttrs: {
postPatch =
lib.optionalString stdenv.cc.isClang ''
substituteInPlace makefile \
--replace "\$(CXX)" "\$(CXX) -std=c++98"
--replace-fail "\$(CXX)" "\$(CXX) -std=c++98"
''
+
# fix the doc build on TeX Live 2023
''
substituteInPlace Documentation/manual.tex \
--replace '\usepackage[utf8x]{inputenc}' '\usepackage[utf8]{inputenc}'
--replace-fail '\usepackage[utf8x]{inputenc}' '\usepackage[utf8]{inputenc}'
'';
outputs = [