From 5f5ab96aa65be84bc84cf1e82b7edf52196a1025 Mon Sep 17 00:00:00 2001 From: Ethan Carter Edwards Date: Sun, 3 Aug 2025 17:37:41 -0400 Subject: [PATCH] python3Packages.weasyprint: fix darwin build Tests rely on local darwin networking, enable. Signed-off-by: Ethan Carter Edwards --- pkgs/development/python-modules/weasyprint/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/weasyprint/default.nix b/pkgs/development/python-modules/weasyprint/default.nix index fce0a2c3baca..84f96cdfc1e7 100644 --- a/pkgs/development/python-modules/weasyprint/default.nix +++ b/pkgs/development/python-modules/weasyprint/default.nix @@ -35,6 +35,8 @@ buildPythonPackage rec { version = "65.1"; pyproject = true; + __darwinAllowLocalNetworking = true; + src = fetchFromGitHub { owner = "Kozea"; repo = "WeasyPrint"; @@ -112,10 +114,5 @@ buildPythonPackage rec { homepage = "https://weasyprint.org/"; license = lib.licenses.bsd3; teams = [ lib.teams.apm ]; - badPlatforms = [ - # Fatal Python error: Segmentation fault - # "...weasyprint/pdf/fonts.py", line 221 in _harfbuzz_subset - lib.systems.inspect.patterns.isDarwin - ]; }; }