diff options
author | Yan <yanabuarab@gmail.com> | 2023-02-14 17:09:48 +0200 |
---|---|---|
committer | Yan <yanabuarab@gmail.com> | 2023-02-14 17:09:48 +0200 |
commit | b68077df875d866a239a0ba5938159c652a57422 (patch) | |
tree | 5d1b6b1c3dd69fc1c1efe8b81a78695a681cf384 /pkgs/development/libraries/mongoc | |
parent | 08b9cb9e7033e6f3aef2b4e46e0e927800b50a0e (diff) |
mongoc: add Security Framework Darwin build dep
Diffstat (limited to 'pkgs/development/libraries/mongoc')
-rw-r--r-- | pkgs/development/libraries/mongoc/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/libraries/mongoc/default.nix b/pkgs/development/libraries/mongoc/default.nix index abdb4e15ccf1a..80bb9633737a9 100644 --- a/pkgs/development/libraries/mongoc/default.nix +++ b/pkgs/development/libraries/mongoc/default.nix @@ -10,7 +10,11 @@ cyrus_sasl, libbson, snappy, + darwin, }: +let + inherit (darwin.apple_sdk.frameworks) Security; +in stdenv.mkDerivation rec { pname = "mongoc"; version = "1.23.2"; @@ -30,7 +34,7 @@ stdenv.mkDerivation rec { ''; nativeBuildInputs = [cmake pkg-config perl]; - buildInputs = [openssl zlib cyrus_sasl]; + buildInputs = [openssl zlib cyrus_sasl] ++ lib.optionals stdenv.isDarwin [Security]; propagatedBuildInputs = [libbson snappy]; # -DMONGOC_TEST_USE_CRYPT_SHARED=OFF |