summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ymir.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/ymir.nix b/ymir.nix
index d7c862ef..21a3a690 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -61,10 +61,11 @@ in rec {
61 cgit = pkgs.stdenv.lib.overrideDerivation pkgs.cgit (oldAttrs : { 61 cgit = pkgs.stdenv.lib.overrideDerivation pkgs.cgit (oldAttrs : {
62 buildInputs = oldAttrs.buildInputs ++ [ 62 buildInputs = oldAttrs.buildInputs ++ [
63 pkgs.perl 63 pkgs.perl
64 (pkgs.python2.buildEnv.override { extraLibs = (with pkgs.python2Packages; [ pygments ]); }) 64 pkgs.python2.wrapPython
65 ]; 65 ];
66 fixupPhase = '' 66 pythonPath = with pkgs.python2Packages ; [pygments];
67 rm -v $out/cgit/robots.txt 67 postInstall = ''
68 wrapPythonPrograms
68 ''; 69 '';
69 }); 70 });
70 }; 71 };