opensaml-cpp: fix darwin builds

This commit is contained in:
Mathew Polzin 2024-05-11 20:55:33 -05:00
parent 12b3c434ad
commit 0bc4e80cd1

View File

@ -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}" ];