From abbf922ed219e8137fe3d5529a155c803d698a98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Mon, 17 Oct 2022 23:57:00 +1100 Subject: [PATCH] libgrss: fix darwin build --- pkgs/development/libraries/libgrss/default.nix | 4 ++++ pkgs/top-level/all-packages.nix | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libgrss/default.nix b/pkgs/development/libraries/libgrss/default.nix index 277a1860cde5..8cb978042e71 100644 --- a/pkgs/development/libraries/libgrss/default.nix +++ b/pkgs/development/libraries/libgrss/default.nix @@ -1,5 +1,6 @@ { lib, stdenv, fetchurl, fetchpatch, pkg-config, vala, gobject-introspection, gtk-doc , docbook_xsl, docbook_xml_dtd_412, glib, libxml2, libsoup, gnome, buildPackages +, Foundation, AppKit }: stdenv.mkDerivation rec { @@ -35,6 +36,9 @@ stdenv.mkDerivation rec { glib libxml2 libsoup + ] ++ lib.optionals stdenv.isDarwin [ + Foundation + AppKit ]; configureFlags = [ diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ac51b9fcc46b..d49b1907903d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -19891,7 +19891,9 @@ with pkgs; libgringotts = callPackage ../development/libraries/libgringotts { }; - libgrss = callPackage ../development/libraries/libgrss { }; + libgrss = callPackage ../development/libraries/libgrss { + inherit (darwin.apple_sdk_11_0.frameworks) Foundation AppKit; + }; libgweather = callPackage ../development/libraries/libgweather { };