From 0bc4e80cd1ed67252bffbb3953869e2328550ec9 Mon Sep 17 00:00:00 2001 From: Mathew Polzin Date: Sat, 11 May 2024 20:55:33 -0500 Subject: [PATCH] opensaml-cpp: fix darwin builds --- pkgs/development/libraries/opensaml-cpp/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/opensaml-cpp/default.nix b/pkgs/development/libraries/opensaml-cpp/default.nix index 7e44f2a50eeb..09c2be979a82 100644 --- a/pkgs/development/libraries/opensaml-cpp/default.nix +++ b/pkgs/development/libraries/opensaml-cpp/default.nix @@ -1,5 +1,5 @@ { lib, stdenv, fetchgit, autoreconfHook, pkg-config -, boost, openssl, log4shib, xercesc, xml-security-c, xml-tooling-c, zlib +, darwin, boost, openssl, log4shib, xercesc, xml-security-c, xml-tooling-c, zlib }: stdenv.mkDerivation rec { @@ -14,7 +14,10 @@ stdenv.mkDerivation rec { buildInputs = [ boost openssl log4shib xercesc xml-security-c xml-tooling-c zlib - ]; + ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ + CoreServices + SystemConfiguration + ]); nativeBuildInputs = [ autoreconfHook pkg-config ]; configureFlags = [ "--with-xmltooling=${xml-tooling-c}" ];