From 97f67d1b5a723b17eabb1d82fcaf50aeffa7f85b Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sat, 27 May 2017 11:56:32 +0200 Subject: [PATCH] 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. --- pkgs/development/interpreters/python/mk-python-derivation.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix index 1a388bfe4afa..959c8a8070bb 100644 --- a/pkgs/development/interpreters/python/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/mk-python-derivation.nix @@ -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;