diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2017-05-27 11:56:32 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2017-05-27 14:25:08 +0200 |
commit | 97f67d1b5a723b17eabb1d82fcaf50aeffa7f85b (patch) | |
tree | 815d9f21b68f816b77e973fe71c691a260767a6b /pkgs/development/interpreters/python/mk-python-derivation.nix | |
parent | eeeaba31f897db901dba5734b2436fe97dadb033 (diff) | |
download | nixpkgs-97f67d1b5a723b17eabb1d82fcaf50aeffa7f85b.tar nixpkgs-97f67d1b5a723b17eabb1d82fcaf50aeffa7f85b.tar.gz nixpkgs-97f67d1b5a723b17eabb1d82fcaf50aeffa7f85b.tar.bz2 nixpkgs-97f67d1b5a723b17eabb1d82fcaf50aeffa7f85b.tar.lz nixpkgs-97f67d1b5a723b17eabb1d82fcaf50aeffa7f85b.tar.xz nixpkgs-97f67d1b5a723b17eabb1d82fcaf50aeffa7f85b.tar.zst nixpkgs-97f67d1b5a723b17eabb1d82fcaf50aeffa7f85b.zip |
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.
Diffstat (limited to 'pkgs/development/interpreters/python/mk-python-derivation.nix')
-rw-r--r-- | pkgs/development/interpreters/python/mk-python-derivation.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix index 1a388bfe4af..959c8a8070b 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; |