python3Packages.skia-pathops: fix build on Darwin (#346991)

This commit is contained in:
Emily 2024-10-11 01:24:44 +01:00 committed by GitHub
commit 01b0b1b09e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,7 @@
fetchPypi,
gn,
pytestCheckHook,
cctools,
xcodebuild,
ApplicationServices,
OpenGL,
@ -53,11 +54,16 @@ buildPythonPackage rec {
EOF
'';
nativeBuildInputs = [
cython
ninja
setuptools-scm
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ xcodebuild ];
nativeBuildInputs =
[
cython
ninja
setuptools-scm
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
cctools.libtool
xcodebuild
];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
ApplicationServices