Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

opensaml-cpp: fix darwin builds

+5 -2
+5 -2
pkgs/development/libraries/opensaml-cpp/default.nix
··· 1 1 { lib, stdenv, fetchgit, autoreconfHook, pkg-config 2 - , boost, openssl, log4shib, xercesc, xml-security-c, xml-tooling-c, zlib 2 + , darwin, boost, openssl, log4shib, xercesc, xml-security-c, xml-tooling-c, zlib 3 3 }: 4 4 5 5 stdenv.mkDerivation rec { ··· 14 14 15 15 buildInputs = [ 16 16 boost openssl log4shib xercesc xml-security-c xml-tooling-c zlib 17 - ]; 17 + ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ 18 + CoreServices 19 + SystemConfiguration 20 + ]); 18 21 nativeBuildInputs = [ autoreconfHook pkg-config ]; 19 22 20 23 configureFlags = [ "--with-xmltooling=${xml-tooling-c}" ];