Commit f1938705 authored by Vincenzo Mantova's avatar Vincenzo Mantova
Browse files

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

parent 75eb32b0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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" ];