From 3d147f1170e32c870dbb861bd26901692ced4aaf Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Thu, 20 Jan 2022 12:21:40 +0100 Subject: latex : change default scheme ; add minted dependencies --- modules/latex.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'modules/latex.nix') diff --git a/modules/latex.nix b/modules/latex.nix index 16f0017..d880605 100644 --- a/modules/latex.nix +++ b/modules/latex.nix @@ -15,7 +15,11 @@ let ++ cfg.latexmk.extraFlags); latexBuildInput = cfg.texlive.combine ((cfg.packages cfg.texlive) // (optionalAttrs cfg.latexmk.enable { inherit (cfg.texlive) latexmk; }) - // (optionalAttrs cfg.minted.enable { inherit (cfg.texlive) minted; })); + // (optionalAttrs cfg.minted.enable { + inherit (cfg.texlive) + minted catchfile etoolbox fancyvrb float framed fvextra ifplatform kvoptions + lineno pdftexcmds upquote xcolor xstring; + })); in { options.latex = { enable = mkEnableOption { name = "LaTex"; }; @@ -32,8 +36,8 @@ in { packages = mkOption { type = with types; functionTo attrs; - default = tl: { inherit (tl) scheme-full; }; - defaultText = literalExample "tl: { inherit (tl) scheme-full; }"; + default = tl: { inherit (tl) scheme-basic; }; + defaultText = literalExample "tl: { inherit (tl) scheme-basic; }"; description = '' Collection of packages that will be made available to the environment. ''; -- cgit v1.2.3