diff --git a/pkgs/by-name/wx/wxwidgets_3_3/package.nix b/pkgs/by-name/wx/wxwidgets_3_3/package.nix index be8899dea103..078dc6706c1d 100644 --- a/pkgs/by-name/wx/wxwidgets_3_3/package.nix +++ b/pkgs/by-name/wx/wxwidgets_3_3/package.nix @@ -27,6 +27,8 @@ compat32 ? true, withMesa ? !stdenv.hostPlatform.isDarwin, withWebKit ? true, + withEGL ? true, + withPrivateFonts ? false, webkitgtk_4_1, }: @@ -85,6 +87,8 @@ stdenv.mkDerivation (finalAttrs: { (if compat32 then "--enable-compat32" else "--disable-compat32") ] ++ lib.optional withMesa "--with-opengl" + ++ lib.optional (!withEGL) "--disable-glcanvasegl" + ++ lib.optional withPrivateFonts "--enable-privatefonts" ++ lib.optionals stdenv.hostPlatform.isDarwin [ "--with-macosx-version-min=${stdenv.hostPlatform.darwinMinVersion}" "--with-osx_cocoa" @@ -115,7 +119,12 @@ stdenv.mkDerivation (finalAttrs: { enableParallelBuilding = true; passthru = { - inherit compat30 compat32; + inherit + compat30 + compat32 + withEGL + withPrivateFonts + ; }; meta = {