Skip to content

Commit

Permalink
Merge pull request NixOS#244063 from reckenrode/maxminddb-fix
Browse files Browse the repository at this point in the history
python3Packages.maxminddb: fix build on Darwin
  • Loading branch information
wegank authored Jul 18, 2023
2 parents 009bde2 + 41d5756 commit 897f5b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/python-modules/maxminddb/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 897f5b1

Please sign in to comment.