From aab93e8479f16ae0af1c83c280e32e5acfcc82f2 Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Sat, 22 Dec 2012 02:35:04 +0100 Subject: [PATCH] do not create e.g pth file for build inputs if they are really needed they will be in pth file created by easy_install. If that does not work, they need to be put into propagatedBuildInputs or the setup.py fixed. see #210 --- pkgs/development/python-modules/generic/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/generic/default.nix b/pkgs/development/python-modules/generic/default.nix index 901b7144253..4a3d92b28bf 100644 --- a/pkgs/development/python-modules/generic/default.nix +++ b/pkgs/development/python-modules/generic/default.nix @@ -91,7 +91,8 @@ python.stdenv.mkDerivation (attrs // { '' wrapPythonPrograms - createBuildInputsPth build-inputs "$buildInputStrings" + # these should already be in $name.pth + #createBuildInputsPth build-inputs "$buildInputStrings" for inputsfile in propagated-build-inputs propagated-build-native-inputs; do if test -e $out/nix-support/$inputsfile; then createBuildInputsPth $inputsfile "$(cat $out/nix-support/$inputsfile)"