diff options
-rw-r--r-- | ymir.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -62,10 +62,10 @@ in rec { | |||
62 | cgit = pkgs.stdenv.lib.overrideDerivation pkgs.cgit (oldAttrs : { | 62 | cgit = pkgs.stdenv.lib.overrideDerivation pkgs.cgit (oldAttrs : { |
63 | buildInputs = oldAttrs.buildInputs ++ [ | 63 | buildInputs = oldAttrs.buildInputs ++ [ |
64 | pkgs.perl | 64 | pkgs.perl |
65 | pkgs.python2 | 65 | pkgs.python3 |
66 | pkgs.makeWrapper | 66 | pkgs.makeWrapper |
67 | ]; | 67 | ]; |
68 | postInstall = "wrapProgram $out/lib/cgit/filters/syntax-highlighting.py --prefix PYTHONPATH ':' ${pkgs.python.buildEnv.override { extraLibs = with pkgs.python2Packages; [ pygments ]; }}/lib/*/site-packages"; | 68 | postInstall = "wrapProgram $out/lib/cgit/filters/syntax-highlighting.py --prefix PYTHONPATH ':' ${pkgs.python.buildEnv.override { extraLibs = with pkgs.python3Packages; [ pygments ]; }}/lib/*/site-packages"; |
69 | }); | 69 | }); |
70 | }; | 70 | }; |
71 | 71 | ||