diff --git a/pkgs/development/libraries/mesa/default.nix b/pkgs/development/libraries/mesa/default.nix index c68d2e7d552f..23c12825f8e9 100644 --- a/pkgs/development/libraries/mesa/default.nix +++ b/pkgs/development/libraries/mesa/default.nix @@ -12,7 +12,8 @@ stdenv.mkDerivation { md5 = "7db4617e9e10ad3aca1b64339fd71b7d"; }; - configureFlags = "--disable-gallium"; + configureFlags = "--disable-gallium" + + (if stdenv.isDarwin then " --disable-egl" else ""); buildInputs = [ pkgconfig expat x11 libdrm xlibs.glproto