From cec3a44123bfc86693a48119f8233ff5ead6fc94 Mon Sep 17 00:00:00 2001 From: apfelkuchen06 Date: Thu, 13 Apr 2023 18:59:07 +0200 Subject: [PATCH] auctex: fix build prior to this change, the build fails because the documentation cannot be generated due to a missing latex package (probably fallout from a texlive update): ! LaTeX Error: File `hypdoc.sty' not found. Type X to quit or to proceed, or enter new name. (Default extension: sty) Enter file name: ! Emergency stop. l.29 \begin{document} ^^M ! ==> Fatal error occurred, no output PDF file produced! Transcript written on preview.log. make[1]: *** [Makefile:91: preview.pdf] Error 1 make[1]: Leaving directory '/build/auctex-12.3/latex' make: *** [Makefile:219: texmf] Error 2 --- pkgs/tools/typesetting/tex/auctex/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/tools/typesetting/tex/auctex/default.nix b/pkgs/tools/typesetting/tex/auctex/default.nix index f19ddaebdfa1..e928608f9e22 100644 --- a/pkgs/tools/typesetting/tex/auctex/default.nix +++ b/pkgs/tools/typesetting/tex/auctex/default.nix @@ -17,7 +17,7 @@ let auctex = stdenv.mkDerivation ( rec { buildInputs = [ emacs ghostscript - texlive.combined.scheme-basic + (texlive.combine { inherit (texlive) scheme-basic hypdoc; }) ]; preConfigure = ''