about summary refs log tree commit diff
path: root/pkgs/development/libraries
diff options
context:
space:
mode:
authorRandy Eckenrode <randy@largeandhighquality.com>2024-06-10 19:45:45 -0400
committerRandy Eckenrode <randy@largeandhighquality.com>2024-06-10 20:07:19 -0400
commit724b7e23e1cc794e276ec699c89724c8dcb7a411 (patch)
tree83460c0c890ea8ea24e29f6286088c7955afb7cd /pkgs/development/libraries
parent0cc78468fa5ead3bc4689c8f0085cdb7b88ab743 (diff)
mesa: disable glvnd on Darwin
Disabling glvnd ensures Mesa builds libGL.dylib and installs the GL headers on Darwin.
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r--pkgs/development/libraries/mesa/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix
index 91f8c2f9d9c1a..43a3c84f5e120 100644
--- a/pkgs/development/libraries/mesa/default.nix
+++ b/pkgs/development/libraries/mesa/default.nix
@@ -270,6 +270,8 @@ self = stdenv.mkDerivation {
     (lib.mesonEnable "gallium-va" false)
     (lib.mesonEnable "gallium-xa" false)
     (lib.mesonEnable "lmsensors" false)
+    # Don’t build with glvnd support to make sure Mesa builds libGL on Darwin
+    (lib.mesonEnable "glvnd" false)
   ] ++ lib.optionals enableOpenCL [
     # Clover, old OpenCL frontend
     (lib.mesonOption "gallium-opencl" "icd")