wxGTK30-gtk2,wxGTK30-gtk3: add missing buildInput on Darwin

This commit is contained in:
Malo Bourgon 2022-06-15 18:24:45 -07:00
parent d3f9ba06c2
commit d304496834
2 changed files with 3 additions and 2 deletions

View file

@ -18,6 +18,7 @@
, withGtk2 ? true
, withWebKit ? false, webkitgtk
, AGL
, AVFoundation
, Carbon
, Cocoa
, Kernel
@ -57,6 +58,7 @@ stdenv.mkDerivation rec {
++ lib.optional withMesa libGLU
++ lib.optional withWebKit webkitgtk
++ lib.optionals stdenv.isDarwin [
AVFoundation
Carbon
Cocoa
Kernel
@ -130,7 +132,6 @@ stdenv.mkDerivation rec {
license = licenses.wxWindows;
maintainers = with maintainers; [ ];
platforms = platforms.linux ++ platforms.darwin;
badPlatforms = [ "x86_64-darwin" ];
};
passthru = {

View file

@ -21212,7 +21212,7 @@ with pkgs;
wxGTK30 = callPackage ../development/libraries/wxwidgets/wxGTK30.nix {
withGtk2 = true;
inherit (darwin.stubs) setfile;
inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QTKit;
inherit (darwin.apple_sdk.frameworks) AGL AVFoundation Carbon Cocoa Kernel QTKit;
};
wxGTK30-gtk2 = wxGTK30.override { withGtk2 = true; };
wxGTK30-gtk3 = wxGTK30.override { withGtk2 = false; };