buildPythonPackage: Adapt to the cross-build-aware `stdenv'.

svn path=/nixpkgs/trunk/; revision=20306
This commit is contained in:
Ludovic Courtès 2010-03-01 13:12:56 +00:00
parent 67b7a89daf
commit 72d59e3920

View File

@ -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