icon-library: fix darwin build

Add the required framework.
This commit is contained in:
Stanisław Pitucha 2023-03-19 16:42:33 +11:00
parent 3b8e15b8d3
commit 57accc032c

View file

@ -1,6 +1,6 @@
{ lib, stdenv, fetchurl, fetchpatch, wrapGAppsHook4
, cargo, desktop-file-utils, meson, ninja, pkg-config, rustc
, gdk-pixbuf, glib, gtk4, gtksourceview5, libadwaita
, gdk-pixbuf, glib, gtk4, gtksourceview5, libadwaita, darwin
}:
stdenv.mkDerivation rec {
@ -25,7 +25,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
cargo desktop-file-utils meson ninja pkg-config rustc wrapGAppsHook4
];
buildInputs = [ gdk-pixbuf glib gtk4 gtksourceview5 libadwaita ];
buildInputs = [
gdk-pixbuf glib gtk4 gtksourceview5 libadwaita
] ++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Foundation
];
meta = with lib; {
homepage = "https://gitlab.gnome.org/World/design/icon-library";