gtk3: propagate Cocoa on darwin

Generally frameworks should not be propagated, but in this case it's
always needed so we propagate (only) Cocoa.
This commit is contained in:
Daiderd Jordan 2018-08-19 12:24:04 +02:00
parent 90b991625b
commit ac95ddb008
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -38,10 +38,11 @@ stdenv.mkDerivation rec {
];
buildInputs = [ libxkbcommon epoxy json-glib ]
++ optionals stdenv.isDarwin [ AppKit Cocoa ];
++ optional stdenv.isDarwin AppKit;
propagatedBuildInputs = with xorg; with stdenv.lib;
[ expat glib cairo pango gdk_pixbuf atk at-spi2-atk gnome3.gsettings-desktop-schemas
libXrandr libXrender libXcomposite libXi libXcursor libSM libICE ]
++ optional stdenv.isDarwin Cocoa # explicitly propagated, always needed
++ optionals waylandSupport [ mesa_noglu wayland wayland-protocols ]
++ optional xineramaSupport libXinerama
++ optional cupsSupport cups;