git-latexdiff: use --replace-fail in substitution

This commit is contained in:
Doron Behar
2026-02-09 23:24:30 +02:00
parent 619efc7f0d
commit 480985dd9a
+1 -1
View File
@@ -28,7 +28,7 @@ stdenv.mkDerivation (finalAttrs: {
postPatch = ''
substituteInPlace git-latexdiff \
--replace "@GIT_LATEXDIFF_VERSION@" "v${finalAttrs.version}"
--replace-fail "@GIT_LATEXDIFF_VERSION@" "v${finalAttrs.version}"
patchShebangs git-latexdiff
'';