1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

Merge pull request #221723 from Cynerd/mesa-demos-crossbuild

mesa-demos: fix cross compilation
This commit is contained in:
Atemu 2023-04-17 11:27:06 +02:00 committed by GitHub
commit 269c677b54
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
freeglut glew libX11 libXext libGL libGLU mesa wayland
wayland-protocols vulkan-loader libxkbcommon libdecor glslang
] ++ lib.optional (mesa ? osmesa) mesa.osmesa ;
nativeBuildInputs = [ meson ninja pkg-config ];
nativeBuildInputs = [ meson ninja pkg-config wayland ];
mesonFlags = [
"-Degl=${if stdenv.isDarwin then "disabled" else "auto"}"