1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

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;