diff --git a/pkgs/development/python-modules/pytorch-tokenizers/default.nix b/pkgs/development/python-modules/pytorch-tokenizers/default.nix index e87b613b887a..c8d04e185462 100644 --- a/pkgs/development/python-modules/pytorch-tokenizers/default.nix +++ b/pkgs/development/python-modules/pytorch-tokenizers/default.nix @@ -90,5 +90,10 @@ buildPythonPackage rec { homepage = "https://github.com/meta-pytorch/tokenizers"; license = lib.licenses.bsd3; maintainers = with lib.maintainers; [ GaetanLepage ]; + badPlatforms = [ + # sentencepiece 0.21.0 segfaults when initialized on Darwin + # See https://github.com/NixOS/nixpkgs/issues/466092 + lib.systems.inspect.patterns.isDarwin + ]; }; }