From 880475bbd5e935449c21396b210d184ab6dc174c Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Fri, 1 Jul 2016 16:16:29 +0200 Subject: [PATCH] python: fix modules in buildEnv, closes #16646 Python 2.7 on Nix is stripped of some modules, which can be added when needed. This was broken with python.buildEnv. --- pkgs/development/interpreters/python/2.7/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/interpreters/python/2.7/default.nix b/pkgs/development/interpreters/python/2.7/default.nix index 3538f901d460..ebd9dba1ce32 100644 --- a/pkgs/development/interpreters/python/2.7/default.nix +++ b/pkgs/development/interpreters/python/2.7/default.nix @@ -193,6 +193,9 @@ let buildInputs = [ python ] ++ deps; + # We need to set this for python.buildEnv + pythonPath = []; + inherit (mkPaths buildInputs) C_INCLUDE_PATH LIBRARY_PATH; # non-python gdbm has a libintl dependency on i686-cygwin, not on x86_64-cygwin