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