mesa: fix darwin build

This commit is contained in:
Jonathan Ringer 2021-06-06 16:30:11 -07:00 committed by Jonathan Ringer
parent 5a5272f97c
commit 012a33b0de

View file

@ -4,7 +4,7 @@
, expat, libdrm, xorg, wayland, wayland-protocols, openssl , expat, libdrm, xorg, wayland, wayland-protocols, openssl
, llvmPackages, libffi, libomxil-bellagio, libva-minimal , llvmPackages, libffi, libomxil-bellagio, libva-minimal
, libelf, libvdpau , libelf, libvdpau
, libglvnd , libglvnd, libunwind
, galliumDrivers ? ["auto"] , galliumDrivers ? ["auto"]
, driDrivers ? ["auto"] , driDrivers ? ["auto"]
, vulkanDrivers ? ["auto"] , vulkanDrivers ? ["auto"]
@ -127,6 +127,7 @@ self = stdenv.mkDerivation {
libpthreadstubs openssl /*or another sha1 provider*/ libpthreadstubs openssl /*or another sha1 provider*/
] ++ lib.optionals (elem "wayland" eglPlatforms) [ wayland wayland-protocols ] ] ++ lib.optionals (elem "wayland" eglPlatforms) [ wayland wayland-protocols ]
++ lib.optionals stdenv.isLinux [ libomxil-bellagio libva-minimal ] ++ lib.optionals stdenv.isLinux [ libomxil-bellagio libva-minimal ]
++ lib.optionals stdenv.isDarwin [ libunwind ]
++ lib.optional withValgrind valgrind-light; ++ lib.optional withValgrind valgrind-light;
depsBuildBuild = [ pkg-config ]; depsBuildBuild = [ pkg-config ];