python3Packages.pycairo: fix darwin sandbox build

This commit is contained in:
Olivér Falvai
2025-02-12 21:25:28 +01:00
parent 043321fc4c
commit 9eefabc0dc

View File

@@ -37,6 +37,10 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
# Cairo tries to load system fonts by default.
# It's surfaced as a Cairo "out of memory" error in tests.
__impureHostDeps = [ "/System/Library/Fonts" ];
mesonFlags = [
# This is only used for figuring out what version of Python is in
# use, and related stuff like figuring out what the install prefix