git.iko.soy/typeable/nixpkgs
on master help sign in
gtk3: propagate Cocoa on darwin

Generally frameworks should not be propagated, but in this case it's always needed so we propagate (only) Cocoa.

commitac95ddb008a03fa438f9ad271332ccdb2dbf033f authorDaiderd Jordan <daiderd@gmail.com> dateSun 19 Aug 2018, 12:24 (8 years ago) parent90b9916
1 file changed+2−1
pkgs/development/libraries/gtk+/3.x.nix+2−1
pkgs/development/libraries/gtk+/3.x.nix+2−1
@@ -38,10 +38,11 @@ stdenv.mkDerivation rec {
3838 ];
3939
4040 buildInputs = [ libxkbcommon epoxy json-glib ]
41− ++ optionals stdenv.isDarwin [ AppKit Cocoa ];
41+ ++ optional stdenv.isDarwin AppKit;
4242 propagatedBuildInputs = with xorg; with stdenv.lib;
4343 [ expat glib cairo pango gdk_pixbuf atk at-spi2-atk gnome3.gsettings-desktop-schemas
4444 libXrandr libXrender libXcomposite libXi libXcursor libSM libICE ]
45+ ++ optional stdenv.isDarwin Cocoa # explicitly propagated, always needed
4546 ++ optionals waylandSupport [ mesa_noglu wayland wayland-protocols ]
4647 ++ optional xineramaSupport libXinerama
4748 ++ optional cupsSupport cups;