about summary refs log tree commit diff
path: root/pkgs/tools/typesetting
diff options
context:
space:
mode:
authorVincenzo Mantova <1962985+xworld21@users.noreply.github.com>2024-01-27 10:37:01 +0000
committerVincenzo Mantova <1962985+xworld21@users.noreply.github.com>2024-01-27 10:37:01 +0000
commitf193870505a4eefac86f0961ed95d5c39b253841 (patch)
treea510f49cf4363d45eab80c54a921d784931dfa81 /pkgs/tools/typesetting
parent75eb32b0bb1256362d4de155221ace10f9234dc2 (diff)
downloadnixlib-f193870505a4eefac86f0961ed95d5c39b253841.tar
nixlib-f193870505a4eefac86f0961ed95d5c39b253841.tar.gz
nixlib-f193870505a4eefac86f0961ed95d5c39b253841.tar.bz2
nixlib-f193870505a4eefac86f0961ed95d5c39b253841.tar.lz
nixlib-f193870505a4eefac86f0961ed95d5c39b253841.tar.xz
nixlib-f193870505a4eefac86f0961ed95d5c39b253841.tar.zst
nixlib-f193870505a4eefac86f0961ed95d5c39b253841.zip
blahtexml: drop utf8x to fix doc build with TeX Live 2023
Diffstat (limited to 'pkgs/tools/typesetting')
-rw-r--r--pkgs/tools/typesetting/tex/blahtexml/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/typesetting/tex/blahtexml/default.nix b/pkgs/tools/typesetting/tex/blahtexml/default.nix
index 43981eb2ae92..fb7605924023 100644
--- a/pkgs/tools/typesetting/tex/blahtexml/default.nix
+++ b/pkgs/tools/typesetting/tex/blahtexml/default.nix
@@ -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" ];