From e886d9a596407e8f19c73987ccc42e99530e4e83 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 13 Jan 2016 04:16:15 +0100 Subject: python buildEnv --- ymir.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ymir.nix b/ymir.nix index 607c0a38..17454c2b 100644 --- a/ymir.nix +++ b/ymir.nix @@ -59,7 +59,10 @@ in rec { plugins = []; }; cgit = pkgs.stdenv.lib.overrideDerivation pkgs.cgit (oldAttrs : { - buildInputs = oldAttrs.buildInputs ++ [pkgs.perl pkgs.python2 pkgs.python27Packages.pygments]; + buildInputs = oldAttrs.buildInputs ++ [ + pkgs.perl + (pkgs.python2.buildEnv.override { extraLibs = with pkgs.python2Packages [ pygments ]; }) + ]; }); }; -- cgit v1.2.3