erlang: wxmac -> wxGTK

This commit is contained in:
Weijia Wang 2022-11-14 22:41:35 +01:00 committed by Yt
parent 2faf993fe8
commit d72bcc2bc9

View File

@ -17,7 +17,6 @@
, libGL ? null
, libGLU ? null
, wxGTK ? null
, wxmac ? null
, xorg ? null
, parallelBuild ? false
, systemd
@ -72,7 +71,7 @@
}:
assert wxSupport -> (if stdenv.isDarwin
then wxmac != null
then wxGTK != null
else libGL != null && libGLU != null && wxGTK != null && xorg != null);
assert odbcSupport -> unixODBC != null;
@ -80,7 +79,7 @@ assert javacSupport -> openjdk11 != null;
let
inherit (lib) optional optionals optionalAttrs optionalString;
wxPackages2 = if stdenv.isDarwin then [ wxmac ] else wxPackages;
wxPackages2 = if stdenv.isDarwin then [ wxGTK ] else wxPackages;
in
stdenv.mkDerivation ({