blahtexml: drop utf8x to fix doc build with TeX Live 2023

This commit is contained in:
Vincenzo Mantova 2024-01-27 10:37:01 +00:00
parent 75eb32b0bb
commit f193870505

View File

@ -14,6 +14,11 @@ stdenv.mkDerivation rec {
postPatch = lib.optionalString stdenv.cc.isClang ''
substituteInPlace makefile \
--replace "\$(CXX)" "\$(CXX) -std=c++98"
'' +
# fix the doc build on TeX Live 2023
''
substituteInPlace Documentation/manual.tex \
--replace '\usepackage[utf8x]{inputenc}' '\usepackage[utf8]{inputenc}'
'';
outputs = [ "out" "doc" ];