wxwidgets: resolve easy let ins

This commit is contained in:
Sandro Jäckel 2022-02-21 23:30:03 +01:00
parent ee2f1269d0
commit 368ad4df2e
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5
3 changed files with 6 additions and 9 deletions

View File

@ -28,7 +28,6 @@
assert withGtk2 -> (!withWebKit);
let
inherit (gst_all_1) gstreamer gst-plugins-base;
gtk = if withGtk2 then gtk2 else gtk3;
in
stdenv.mkDerivation rec {
@ -47,8 +46,8 @@ stdenv.mkDerivation rec {
];
buildInputs = [
gstreamer
gst-plugins-base
gst_all_1.gstreamer
gst_all_1.gst-plugins-base
gtk
libSM
libXinerama

View File

@ -31,8 +31,6 @@
assert withGtk2 -> (!withWebKit);
let
inherit (gnome2) GConf;
inherit (gst_all_1) gst-plugins-base gstreamer;
gtk = if withGtk2 then gtk2 else gtk3;
in
stdenv.mkDerivation rec {
@ -55,8 +53,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkg-config ];
buildInputs = [
gst-plugins-base
gstreamer
gst_all_1.gst-plugins-base
gst_all_1.gstreamer
gtk
libSM
libXinerama
@ -65,7 +63,7 @@ stdenv.mkDerivation rec {
xorgproto
]
++ lib.optionals withGtk2 [
GConf
gnome2.GConf
]
++ lib.optional withMesa libGLU
++ lib.optional withWebKit webkitgtk

View File

@ -20523,7 +20523,7 @@ with pkgs;
};
wxmac = callPackage ../development/libraries/wxwidgets/wxmac30.nix {
inherit (darwin.stubs) derez rez setfile;
inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel WebKit;
inherit (darwin.apple_sdk.frameworks) AGL Cocoa Kernel WebKit;
};
wxGTK30-gtk2 = wxGTK30.override { withGtk2 = true; };