pugl: fix x86_64-darwin build

This commit is contained in:
Weijia Wang 2024-11-23 10:17:57 +01:00
parent f3f2f65e63
commit a3e0c8cd6e

View File

@ -15,6 +15,7 @@
sphinx, sphinx,
sphinxygen, sphinxygen,
ninja, ninja,
apple-sdk_11,
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
@ -44,7 +45,8 @@ stdenv.mkDerivation (finalAttrs: {
python3.pkgs.sphinx-lv2-theme python3.pkgs.sphinx-lv2-theme
]; ];
buildInputs = [ buildInputs =
[
xorg.libX11 xorg.libX11
xorg.libXcursor xorg.libXcursor
xorg.libXrandr xorg.libXrandr
@ -53,6 +55,9 @@ stdenv.mkDerivation (finalAttrs: {
vulkan-headers vulkan-headers
xorg.libXext xorg.libXext
cairo cairo
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
apple-sdk_11
]; ];
meta = { meta = {