Skip to content

Commit

Permalink
mesa-demos: fix build harder
Browse files Browse the repository at this point in the history
osmesa tests are not worth the complexity of handling the lack of osmesa
on some platforms. Please just let osmesa die.
  • Loading branch information
K900 committed Aug 29, 2024
1 parent 8432dd9 commit 195182d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/tools/graphics/mesa-demos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ stdenv.mkDerivation rec {
libGL
libGLU
mesa
mesa.osmesa
wayland
wayland-protocols
vulkan-loader
Expand All @@ -58,7 +57,7 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Degl=${if stdenv.isDarwin then "disabled" else "auto"}"
(lib.mesonEnable "libdrm" (stdenv.isLinux))
(lib.mesonEnable "osmesa" (mesa ? osmesa))
(lib.mesonEnable "osmesa" false)
(lib.mesonEnable "wayland" (lib.meta.availableOn stdenv.hostPlatform wayland))
];

Expand Down

0 comments on commit 195182d

Please sign in to comment.