From 3872829cd19bafdd98ebfe3b4b16871238273f50 Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Thu, 1 Sep 2022 16:36:17 +0200 Subject: modules: latex: minted: debug dependency on pygments lib --- modules/latex.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/modules/latex.nix b/modules/latex.nix index 4454f98..c949c3f 100644 --- a/modules/latex.nix +++ b/modules/latex.nix @@ -86,20 +86,11 @@ in { minted = { enable = mkEnableOption "minted"; - pygments = mkOption { - type = types.package; - default = pkgs.pythonPackages.pygments; - defaultText = literalExample "pkgs.pythonPackages.pygments"; - description = '' - The package providing pygments. - ''; - }; }; }; config = mkIf cfg.enable { - buildInputs = [ latexBuildInput ] ++ (optional cfg.latexmk.enable pkgs.ps) - ++ (optional cfg.minted.enable cfg.minted.pygments); + buildInputs = [ latexBuildInput ] ++ (optional cfg.latexmk.enable pkgs.ps); aliases.latexmk = mkIf cfg.latexmk.enable "${latexBuildInput}/bin/latexmk ${latexmkFlags} \\$@"; python = mkIf cfg.minted.enable { -- cgit v1.2.3