Merge #199223: mesa: fix build on darwin

This commit is contained in:
Vladimír Čunát 2022-11-03 17:26:05 +01:00
commit 42d29d4edc
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -9,7 +9,7 @@
, galliumDrivers ? ["auto"]
, vulkanDrivers ? ["auto"]
, eglPlatforms ? [ "x11" ] ++ lib.optionals stdenv.isLinux [ "wayland" ]
, vulkanLayers ? [ "device-select" "overlay" ]
, vulkanLayers ? lib.optionals (!stdenv.isDarwin) [ "device-select" "overlay" ] # No Vulkan support on Darwin
, OpenGL, Xplugin
, withValgrind ? lib.meta.availableOn stdenv.hostPlatform valgrind-light && !valgrind-light.meta.broken, valgrind-light
, enableGalliumNine ? stdenv.isLinux