diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2022-09-01 16:36:17 +0200 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2022-09-01 16:36:17 +0200 |
| commit | 3872829cd19bafdd98ebfe3b4b16871238273f50 (patch) | |
| tree | 878982effc9a971353c2ee309b5b96887788b109 | |
| parent | 90c7373be454cf0754b447c469fb457963d5da1f (diff) | |
modules: latex: minted: debug dependency on pygments lib
| -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 { |
