mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
Merge pull request #19239 from mattbillenstein/master
mongodb: fix build on OSX by adding Security framework
This commit is contained in:
commit
548bcd0de1
@ -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"
|
||||
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user