From 72d59e3920caa801f3a64f584f3ddf3f5b472a5c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Mon, 1 Mar 2010 13:12:56 +0000
Subject: [PATCH] buildPythonPackage: Adapt to the cross-build-aware `stdenv'.

svn path=/nixpkgs/trunk/; revision=20306
---
 pkgs/development/python-modules/generic/default.nix | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkgs/development/python-modules/generic/default.nix b/pkgs/development/python-modules/generic/default.nix
index ce3c7d319d6..458a30116ae 100644
--- a/pkgs/development/python-modules/generic/default.nix
+++ b/pkgs/development/python-modules/generic/default.nix
@@ -15,9 +15,9 @@ let
     recursiveBuildInputs =
       pkg:
         [ pkg ] ++
-        (if pkg ? propagatedBuildInputs
+        (if pkg ? propagatedBuildNativeInputs
          then lib.concatLists (map recursiveBuildInputs
-                                   pkg.propagatedBuildInputs)
+                                   pkg.propagatedBuildNativeInputs)
          else []);
 
 in