mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
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:
@@ -51,7 +51,7 @@ if disabled
|
||||
then throw "${name} not supported for interpreter ${python.executable}"
|
||||
else
|
||||
|
||||
python.stdenv.mkDerivation (builtins.removeAttrs attrs ["disabled"] // {
|
||||
python.stdenv.mkDerivation (builtins.removeAttrs attrs ["disabled" "checkInputs"] // {
|
||||
|
||||
name = namePrefix + name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user