diff --git a/pkgs/development/python-modules/maxminddb/default.nix b/pkgs/development/python-modules/maxminddb/default.nix index 90acdef2d363..b5f7fb9d5db0 100644 --- a/pkgs/development/python-modules/maxminddb/default.nix +++ b/pkgs/development/python-modules/maxminddb/default.nix @@ -31,6 +31,10 @@ buildPythonPackage rec { "maxminddb" ]; + # The multiprocessing tests fail on Darwin because multiprocessing uses spawn instead of fork, + # resulting in an exception when it can’t pickle the `lookup` local function. + disabledTests = lib.optionals stdenv.isDarwin [ "multiprocessing" ]; + meta = with lib; { description = "Reader for the MaxMind DB format"; homepage = "https://github.com/maxmind/MaxMind-DB-Reader-python";