diff --git a/pkgs/servers/nosql/mongodb/default.nix b/pkgs/servers/nosql/mongodb/default.nix index ee1987bd7e33..ee373878cb62 100644 --- a/pkgs/servers/nosql/mongodb/default.nix +++ b/pkgs/servers/nosql/mongodb/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, fetchpatch, scons, boost, gperftools, pcre-cpp, snappy -, zlib, libyamlcpp, sasl, openssl, libpcap, wiredtiger +, zlib, libyamlcpp, sasl, openssl, libpcap, wiredtiger, Security }: # Note: @@ -22,8 +22,8 @@ let version = "3.2.9"; buildInputs = [ sasl boost gperftools pcre-cpp snappy - zlib libyamlcpp sasl openssl libpcap - ]; # ++ optional stdenv.is64bit wiredtiger; + zlib libyamlcpp sasl openssl.dev openssl.out libpcap + ] ++ stdenv.lib.optionals stdenv.isDarwin [ Security ]; other-args = concatStringsSep " " ([ "--ssl" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c1c2eadd0303..bf9d635b9307 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10039,6 +10039,7 @@ in mongodb = callPackage ../servers/nosql/mongodb { sasl = cyrus_sasl; + inherit (darwin.apple_sdk.frameworks) Security; }; mongodb248 = callPackage ../servers/nosql/mongodb/2.4.8.nix { };