diff --git a/pkgs/development/python-modules/mercantile/default.nix b/pkgs/development/python-modules/mercantile/default.nix index 61357b3a7ad6..0c825469ed6e 100644 --- a/pkgs/development/python-modules/mercantile/default.nix +++ b/pkgs/development/python-modules/mercantile/default.nix @@ -10,8 +10,9 @@ click, # tests - pytestCheckHook, hypothesis, + pytestCheckHook, + versionCheckHook, }: buildPythonPackage rec { @@ -35,9 +36,11 @@ buildPythonPackage rec { ]; nativeCheckInputs = [ - pytestCheckHook hypothesis + pytestCheckHook + versionCheckHook ]; + versionCheckProgramArg = "--version"; disabledTests = [ # AssertionError CLI exists with non-zero error code