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:
parent
90b991625b
commit
ac95ddb008
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue