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
, libGL ? null
18
, libGLU ? null
19
, wxGTK ? null
20
-
, wxmac ? null
21
, xorg ? null
22
, parallelBuild ? false
23
, systemd
···
72
}:
73
74
assert wxSupport -> (if stdenv.isDarwin
75
-
then wxmac != null
76
else libGL != null && libGLU != null && wxGTK != null && xorg != null);
77
78
assert odbcSupport -> unixODBC != null;
···
80
81
let
82
inherit (lib) optional optionals optionalAttrs optionalString;
83
-
wxPackages2 = if stdenv.isDarwin then [ wxmac ] else wxPackages;
84
85
in
86
stdenv.mkDerivation ({
···
17
, libGL ? null
18
, libGLU ? null
19
, wxGTK ? null
0
20
, xorg ? null
21
, parallelBuild ? false
22
, systemd
···
71
}:
72
73
assert wxSupport -> (if stdenv.isDarwin
74
+
then wxGTK != null
75
else libGL != null && libGLU != null && wxGTK != null && xorg != null);
76
77
assert odbcSupport -> unixODBC != null;
···
79
80
let
81
inherit (lib) optional optionals optionalAttrs optionalString;
82
+
wxPackages2 = if stdenv.isDarwin then [ wxGTK ] else wxPackages;
83
84
in
85
stdenv.mkDerivation ({