summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/ymir.nix b/ymir.nix
index 79e5a41e..dac96cd5 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -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