mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
mongodb: fix build on OSX by adding Security framework
This commit is contained in:
parent
83df0e7b18
commit
6bfbb7a07c
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, scons, boost, gperftools, pcre-cpp, snappy
|
{ stdenv, fetchurl, fetchpatch, scons, boost, gperftools, pcre-cpp, snappy
|
||||||
, zlib, libyamlcpp, sasl, openssl, libpcap, wiredtiger
|
, zlib, libyamlcpp, sasl, openssl, libpcap, wiredtiger, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
# Note:
|
# Note:
|
||||||
@ -22,8 +22,8 @@ let version = "3.2.9";
|
|||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
sasl boost gperftools pcre-cpp snappy
|
sasl boost gperftools pcre-cpp snappy
|
||||||
zlib libyamlcpp sasl openssl libpcap
|
zlib libyamlcpp sasl openssl.dev openssl.out libpcap
|
||||||
]; # ++ optional stdenv.is64bit wiredtiger;
|
] ++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
other-args = concatStringsSep " " ([
|
other-args = concatStringsSep " " ([
|
||||||
"--ssl"
|
"--ssl"
|
||||||
|
@ -10039,6 +10039,7 @@ in
|
|||||||
|
|
||||||
mongodb = callPackage ../servers/nosql/mongodb {
|
mongodb = callPackage ../servers/nosql/mongodb {
|
||||||
sasl = cyrus_sasl;
|
sasl = cyrus_sasl;
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
|
|
||||||
mongodb248 = callPackage ../servers/nosql/mongodb/2.4.8.nix { };
|
mongodb248 = callPackage ../servers/nosql/mongodb/2.4.8.nix { };
|
||||||
|
Loading…
Reference in New Issue
Block a user