From 455314a3f088fd313dcb08ef6f9737b2b75dc50a Mon Sep 17 00:00:00 2001 From: Yueh-Shun Li Date: Thu, 2 May 2024 05:33:15 +0800 Subject: [PATCH] buildPython*: make doCheck default less confusing Modify the set pattern to hint developers that the doInstallCheck attribute of Python packages, specified by the doCheck argument of buildPythonPackage and buildPythonApplication, defaults to true instead of false. --- pkgs/development/interpreters/python/mk-python-derivation.nix | 2 +- .../interpreters/python/python2/mk-python-derivation.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix index 4c45d9603be82..d656760a71a1c 100644 --- a/pkgs/development/interpreters/python/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/mk-python-derivation.nix @@ -144,7 +144,7 @@ in , meta ? {} -, doCheck ? config.doCheckByDefault or false +, doCheck ? true , disabledTestPaths ? [] diff --git a/pkgs/development/interpreters/python/python2/mk-python-derivation.nix b/pkgs/development/interpreters/python/python2/mk-python-derivation.nix index 1a6f9c784cf67..d0d8a9d0dca8f 100644 --- a/pkgs/development/interpreters/python/python2/mk-python-derivation.nix +++ b/pkgs/development/interpreters/python/python2/mk-python-derivation.nix @@ -92,7 +92,7 @@ , passthru ? {} -, doCheck ? config.doCheckByDefault or false +, doCheck ? true , disabledTestPaths ? []