python setuptools: fix for cross (nativeBuildInputs)

This commit is contained in:
Will Dietz 2018-01-11 11:30:16 -06:00
parent a5a64cfcb1
commit e33499bd30
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ stdenv.mkDerivation rec {
sha256 = "6501fc32f505ec5b3ed36ec65ba48f1b975f52cf2ea101c7b73a08583fd12f75";
};
buildInputs = [ python wrapPython unzip ];
nativeBuildInputs = [ unzip wrapPython ];
buildInputs = [ python ];
doCheck = false; # requires pytest
installPhase = ''
dst=$out/${python.sitePackages}