diff options
Diffstat (limited to 'modules/latex.nix')
| -rw-r--r-- | modules/latex.nix | 11 |
1 files changed, 1 insertions, 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 { |
