From 8ccc11560617d686d1443a93a5f2cc1c4e567311 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 29 Apr 2010 14:57:07 +0000 Subject: [PATCH] pkgs/development/libraries/mesa: disable build of egl library on Darwin The egl library doesn't seem to work, i.e. the included demo program has undefined symbols after linking with it. svn path=/nixpkgs/trunk/; revision=21429 --- pkgs/development/libraries/mesa/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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