buildPythonPackage: use config.doCheckByDefault
This commit is contained in:
parent
845fa56921
commit
912cfb8aaa
@ -2,6 +2,7 @@
|
|||||||
# and can build packages that use distutils, setuptools or flit.
|
# and can build packages that use distutils, setuptools or flit.
|
||||||
|
|
||||||
{ lib
|
{ lib
|
||||||
|
, config
|
||||||
, python
|
, python
|
||||||
, wrapPython
|
, wrapPython
|
||||||
, setuptools
|
, setuptools
|
||||||
@ -19,7 +20,7 @@ let
|
|||||||
wheel-specific = import ./build-python-package-wheel.nix { };
|
wheel-specific = import ./build-python-package-wheel.nix { };
|
||||||
common = import ./build-python-package-common.nix { inherit python bootstrapped-pip; };
|
common = import ./build-python-package-common.nix { inherit python bootstrapped-pip; };
|
||||||
mkPythonDerivation = import ./mk-python-derivation.nix {
|
mkPythonDerivation = import ./mk-python-derivation.nix {
|
||||||
inherit lib python wrapPython setuptools unzip ensureNewerSourcesForZipFilesHook toPythonModule namePrefix;
|
inherit lib config python wrapPython setuptools unzip ensureNewerSourcesForZipFilesHook toPythonModule namePrefix;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
# Generic builder.
|
# Generic builder.
|
||||||
|
|
||||||
{ lib
|
{ lib
|
||||||
|
, config
|
||||||
, python
|
, python
|
||||||
, wrapPython
|
, wrapPython
|
||||||
, setuptools
|
, setuptools
|
||||||
@ -53,7 +54,7 @@
|
|||||||
|
|
||||||
, passthru ? {}
|
, passthru ? {}
|
||||||
|
|
||||||
, doCheck ? false
|
, doCheck ? config.doCheckByDefault or false
|
||||||
|
|
||||||
, ... } @ attrs:
|
, ... } @ attrs:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user