Skip to content

Commit

Permalink
buildPythonPackage: use config.doCheckByDefault
Browse files Browse the repository at this point in the history
  • Loading branch information
oxij committed Apr 26, 2018
1 parent 845fa56 commit 912cfb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# and can build packages that use distutils, setuptools or flit.

{ lib
, config
, python
, wrapPython
, setuptools
Expand All @@ -19,7 +20,7 @@ let
wheel-specific = import ./build-python-package-wheel.nix { };
common = import ./build-python-package-common.nix { inherit python bootstrapped-pip; };
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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Generic builder.

{ lib
, config
, python
, wrapPython
, setuptools
Expand Down Expand Up @@ -53,7 +54,7 @@

, passthru ? {}

, doCheck ? false
, doCheck ? config.doCheckByDefault or false

, ... } @ attrs:

Expand Down

0 comments on commit 912cfb8

Please sign in to comment.