buildPythonPackage: do not keep checkInputs

When tests are disabled, we do not want to pass checkInputs to
stdenv.mkDerivation. This reduces the build requirements and, more
importantly, helps cutting cycles.
This commit is contained in:
Frederik Rietdijk 2017-05-27 11:56:32 +02:00
parent eeeaba31f8
commit 97f67d1b5a

View file

@ -51,7 +51,7 @@ if disabled
then throw "${name} not supported for interpreter ${python.executable}" then throw "${name} not supported for interpreter ${python.executable}"
else else
python.stdenv.mkDerivation (builtins.removeAttrs attrs ["disabled"] // { python.stdenv.mkDerivation (builtins.removeAttrs attrs ["disabled" "checkInputs"] // {
name = namePrefix + name; name = namePrefix + name;