nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit 772e850cefefecf26b594618e4445dc3511a6f20
parent 9451f4f8670d38597e84ddfff682932015fb8934
Author: Nikolay Korotkiy <sikmir@gmail.com>
Date:   Sat, 12 Dec 2020 16:59:41 +0300

tatoebatools: fix checkLang

Diffstat:
Mpkgs/tools/dict/tatoebatools/default.nix | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkgs/tools/dict/tatoebatools/default.nix b/pkgs/tools/dict/tatoebatools/default.nix @@ -6,7 +6,7 @@ python3Packages.buildPythonApplication { src = sources.tatoebatools; - patches = lib.optional checkLang ./dont-check-lang-validity.patch + patches = lib.optional (!checkLang) ./dont-check-lang-validity.patch ++ lib.optional withCli ./cli.patch; propagatedBuildInputs = with python3Packages; [ beautifulsoup4 pandas requests setuptools tqdm ] @@ -14,7 +14,7 @@ python3Packages.buildPythonApplication { checkInputs = with python3Packages; [ pytestCheckHook ]; - disabledTests = lib.optionals checkLang [ + disabledTests = lib.optionals (!checkLang) [ "test_init_with_not_language_1" "test_init_with_not_language_2" ];