summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-01-13 05:49:16 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2016-01-13 05:49:16 +0100
commit4dd73ec934a3601ba938fd40bd197da938c9c075 (patch)
tree2a2b1cda908dad6790c92a2fc92fd47e494333ac
parent2bb6ed38d2b0e28741a498c64777a5f20eb7af97 (diff)
downloadnixos-4dd73ec934a3601ba938fd40bd197da938c9c075.tar
nixos-4dd73ec934a3601ba938fd40bd197da938c9c075.tar.gz
nixos-4dd73ec934a3601ba938fd40bd197da938c9c075.tar.bz2
nixos-4dd73ec934a3601ba938fd40bd197da938c9c075.tar.xz
nixos-4dd73ec934a3601ba938fd40bd197da938c9c075.zip
trying python again
-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 };