mesa: fix darwin build
This commit is contained in:
parent
5a5272f97c
commit
012a33b0de
1 changed files with 2 additions and 1 deletions
|
@ -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 ];
|
||||||
|
|
Loading…
Reference in a new issue