diff --git a/pkgs/development/python-modules/python-debian/default.nix b/pkgs/development/python-modules/python-debian/default.nix index b088ffabc446..c94707bc8a9b 100644 --- a/pkgs/development/python-modules/python-debian/default.nix +++ b/pkgs/development/python-modules/python-debian/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, pythonOlder, fetchFromGitLab, @@ -37,6 +38,10 @@ buildPythonPackage rec { pytestCheckHook ]; + disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [ + "tests/test_debfile.py" + ]; + pythonImportsCheck = [ "debian" ]; meta = {