From 4b08c4e4e25ccdc694fcbaae9e3c570e958b3563 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 25 Aug 2025 02:04:50 +0200 Subject: [PATCH] python3Packages.xgrammar: mark as broken on darwin --- pkgs/development/python-modules/xgrammar/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/xgrammar/default.nix b/pkgs/development/python-modules/xgrammar/default.nix index 16961ad77c19..c7f26b35eb41 100644 --- a/pkgs/development/python-modules/xgrammar/default.nix +++ b/pkgs/development/python-modules/xgrammar/default.nix @@ -95,5 +95,10 @@ buildPythonPackage rec { homepage = "https://xgrammar.mlc.ai"; changelog = "https://github.com/mlc-ai/xgrammar/releases/tag/${src.tag}"; license = lib.licenses.asl20; + badPlatforms = [ + # clang++: error: unsupported option '-ffat-lto-objects' for target 'arm64-apple-darwin' + # idem for 'x86_64-apple-darwin' + lib.systems.inspect.patterns.isDarwin + ]; }; }