tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
erlang: wxmac -> wxGTK
authored by
Weijia Wang
and committed by
Yt
3 years ago
d72bcc2b
2faf993f
+2
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
interpreters
erlang
generic-builder.nix
+2
-3
pkgs/development/interpreters/erlang/generic-builder.nix
···
17
17
, libGL ? null
18
18
, libGLU ? null
19
19
, wxGTK ? null
20
20
-
, wxmac ? null
21
20
, xorg ? null
22
21
, parallelBuild ? false
23
22
, systemd
···
72
71
}:
73
72
74
73
assert wxSupport -> (if stdenv.isDarwin
75
75
-
then wxmac != null
74
74
+
then wxGTK != null
76
75
else libGL != null && libGLU != null && wxGTK != null && xorg != null);
77
76
78
77
assert odbcSupport -> unixODBC != null;
···
80
79
81
80
let
82
81
inherit (lib) optional optionals optionalAttrs optionalString;
83
83
-
wxPackages2 = if stdenv.isDarwin then [ wxmac ] else wxPackages;
82
82
+
wxPackages2 = if stdenv.isDarwin then [ wxGTK ] else wxPackages;
84
83
85
84
in
86
85
stdenv.mkDerivation ({