From fafd1a8123197c9d79367642541eed8af673e03b Mon Sep 17 00:00:00 2001 From: natsukium Date: Wed, 5 Jul 2023 06:52:17 +0900 Subject: [PATCH] python310Packages.matplotx: move checkInputs to nativeCheckInputs --- pkgs/development/python-modules/matplotx/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/matplotx/default.nix b/pkgs/development/python-modules/matplotx/default.nix index fd477d7c259f..f20812606869 100644 --- a/pkgs/development/python-modules/matplotx/default.nix +++ b/pkgs/development/python-modules/matplotx/default.nix @@ -42,14 +42,13 @@ buildPythonPackage rec { ]; }; - checkInputs = passthru.optional-dependencies.all; # This variable is needed to suppress the "Trace/BPT trap: 5" error in Darwin's checkPhase. # Not sure of the details, but we can avoid it by changing the matplotlib backend during testing. env.MPLBACKEND = lib.optionalString stdenv.isDarwin "Agg"; nativeCheckInputs = [ pytestCheckHook - ]; + ] ++ passthru.optional-dependencies.all; disabledTestPaths = [ "tests/test_spy.py" # Requires meshzoo (non-free) and pytest-codeblocks (not packaged) @@ -65,3 +64,4 @@ buildPythonPackage rec { maintainers = with lib.maintainers; [ swflint ]; }; } +