python3Packages.torchtune: disable on Darwin due to sentencepiece bug (#466354)

This commit is contained in:
Gaétan Lepage
2025-11-30 22:43:33 +00:00
committed by GitHub
@@ -119,5 +119,10 @@ buildPythonPackage rec {
changelog = "https://github.com/meta-pytorch/torchtune/releases/tag/${src.tag}";
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
];
};
}