tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
wxGTK31: drop mesa on darwin
Weijia Wang
2 years ago
e5b4371b
fa386a50
+2
-4
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
wxwidgets
wxGTK31.nix
+2
-4
pkgs/development/libraries/wxwidgets/wxGTK31.nix
···
1
{ lib
2
, stdenv
3
, fetchFromGitHub
4
-
, fetchurl
5
-
, gnome2
6
, gst_all_1
7
, gtk3
8
, libGL
···
17
, compat30 ? true
18
, unicode ? true
19
, withEGL ? true
20
-
, withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms
21
, withWebKit ? stdenv.isDarwin
22
, webkitgtk
23
, setfile
···
96
"--enable-webviewwebkit"
97
];
98
99
-
SEARCH_LIB = "${libGLU.out}/lib ${libGL.out}/lib ";
100
101
preConfigure = ''
102
substituteInPlace configure --replace \
···
1
{ lib
2
, stdenv
3
, fetchFromGitHub
0
0
4
, gst_all_1
5
, gtk3
6
, libGL
···
15
, compat30 ? true
16
, unicode ? true
17
, withEGL ? true
18
+
, withMesa ? !stdenv.isDarwin
19
, withWebKit ? stdenv.isDarwin
20
, webkitgtk
21
, setfile
···
94
"--enable-webviewwebkit"
95
];
96
97
+
SEARCH_LIB = lib.optionalString (!stdenv.isDarwin) "${libGLU.out}/lib ${libGL.out}/lib ";
98
99
preConfigure = ''
100
substituteInPlace configure --replace \