pythonPackages.box2d: fix build by moving swig2 to nativeBuildInputs

This commit is contained in:
Robert Scott 2019-04-21 23:44:02 +01:00 committed by Frederik Rietdijk
parent 73b0114f70
commit 4c49c02073

View File

@ -20,7 +20,8 @@ buildPythonPackage rec {
sed -i "s/'Box2D.tests' : 'tests'//" setup.py
'';
buildInputs = [ swig2 pkgs-box2d ];
nativeBuildInputs = [ swig2 ];
buildInputs = [ pkgs-box2d ];
# tests not included with pypi release
doCheck = false;