From 4dd73ec934a3601ba938fd40bd197da938c9c075 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 13 Jan 2016 05:49:16 +0100 Subject: trying python again --- ymir.nix | 7 ++++--- 1 file 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 { cgit = pkgs.stdenv.lib.overrideDerivation pkgs.cgit (oldAttrs : { buildInputs = oldAttrs.buildInputs ++ [ pkgs.perl - (pkgs.python2.buildEnv.override { extraLibs = (with pkgs.python2Packages; [ pygments ]); }) + pkgs.python2.wrapPython ]; - fixupPhase = '' - rm -v $out/cgit/robots.txt + pythonPath = with pkgs.python2Packages ; [pygments]; + postInstall = '' + wrapPythonPrograms ''; }); }; -- cgit v1.2.3