wxGTK31: drop mesa on darwin

This commit is contained in:
Weijia Wang 2023-05-29 14:51:52 +03:00
parent fa386a50ae
commit e5b4371bd2

View File

@ -1,8 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchurl
, gnome2
, gst_all_1
, gtk3
, libGL
@ -17,7 +15,7 @@
, compat30 ? true
, unicode ? true
, withEGL ? true
, withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms
, withMesa ? !stdenv.isDarwin
, withWebKit ? stdenv.isDarwin
, webkitgtk
, setfile
@ -96,7 +94,7 @@ stdenv.mkDerivation rec {
"--enable-webviewwebkit"
];
SEARCH_LIB = "${libGLU.out}/lib ${libGL.out}/lib ";
SEARCH_LIB = lib.optionalString (!stdenv.isDarwin) "${libGLU.out}/lib ${libGL.out}/lib ";
preConfigure = ''
substituteInPlace configure --replace \