wxGTK31: drop mesa on darwin

+2 -4
+2 -4
pkgs/development/libraries/wxwidgets/wxGTK31.nix
··· 1 1 { lib 2 2 , stdenv 3 3 , fetchFromGitHub 4 - , fetchurl 5 - , gnome2 6 4 , gst_all_1 7 5 , gtk3 8 6 , libGL ··· 17 15 , compat30 ? true 18 16 , unicode ? true 19 17 , withEGL ? true 20 - , withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms 18 + , withMesa ? !stdenv.isDarwin 21 19 , withWebKit ? stdenv.isDarwin 22 20 , webkitgtk 23 21 , setfile ··· 96 94 "--enable-webviewwebkit" 97 95 ]; 98 96 99 - SEARCH_LIB = "${libGLU.out}/lib ${libGL.out}/lib "; 97 + SEARCH_LIB = lib.optionalString (!stdenv.isDarwin) "${libGLU.out}/lib ${libGL.out}/lib "; 100 98 101 99 preConfigure = '' 102 100 substituteInPlace configure --replace \