diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-13 05:49:16 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-13 05:49:16 +0100 |
commit | 4dd73ec934a3601ba938fd40bd197da938c9c075 (patch) | |
tree | 2a2b1cda908dad6790c92a2fc92fd47e494333ac | |
parent | 2bb6ed38d2b0e28741a498c64777a5f20eb7af97 (diff) | |
download | nixos-4dd73ec934a3601ba938fd40bd197da938c9c075.tar nixos-4dd73ec934a3601ba938fd40bd197da938c9c075.tar.gz nixos-4dd73ec934a3601ba938fd40bd197da938c9c075.tar.bz2 nixos-4dd73ec934a3601ba938fd40bd197da938c9c075.tar.xz nixos-4dd73ec934a3601ba938fd40bd197da938c9c075.zip |
trying python again
-rw-r--r-- | ymir.nix | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 | }; |