From 0f7e530c9dda92b36567aa2bb598b97a135c7828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 17 Jun 2013 16:12:17 +0200 Subject: [PATCH] mesa_noglu: make it meaningful even on darwin In future we should change the mess, e.g. have libGL, libGLU and similar attributes. --- pkgs/top-level/all-packages.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 25ae2dcc717..314662813d6 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4784,7 +4784,8 @@ let mesaSupported = lib.elem system lib.platforms.mesaPlatforms; - mesa_noglu = callPackage ../development/libraries/mesa { }; + mesa_noglu = if stdenv.isDarwin then darwinX11AndOpenGL + else callPackage ../development/libraries/mesa { }; mesa_drivers = mesa_noglu.drivers; mesa_glu = callPackage ../development/libraries/mesa-glu { }; mesa = if stdenv.isDarwin then darwinX11AndOpenGL