git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #19239 from mattbillenstein/master

mongodb: fix build on OSX by adding Security framework

commit548bcd0de130f9dfe3595d9e9f58b1071402fbf0 authorDaniel Peebles <copumpkin@users.noreply.github.com> dateWed 5 Oct 2016, 00:01 (10 years ago) parent83df0e76bfbb7a
2 files changed+4−3
pkgs/servers/nosql/mongodb/default.nix+3−3 pkgs/top-level/all-packages.nix+1
pkgs/servers/nosql/mongodb/default.nix+3−3
@@ -1,5 +1,5 @@
11{ stdenv, fetchurl, fetchpatch, scons, boost, gperftools, pcre-cpp, snappy
2−, zlib, libyamlcpp, sasl, openssl, libpcap, wiredtiger
2+, zlib, libyamlcpp, sasl, openssl, libpcap, wiredtiger, Security
33}:
44
55# Note:
@@ -22,8 +22,8 @@ let version = "3.2.9";
2222
2323 buildInputs = [
2424 sasl boost gperftools pcre-cpp snappy
25− zlib libyamlcpp sasl openssl libpcap
26− ]; # ++ optional stdenv.is64bit wiredtiger;
25+ zlib libyamlcpp sasl openssl.dev openssl.out libpcap
26+ ] ++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
2727
2828 other-args = concatStringsSep " " ([
2929 "--ssl"
pkgs/top-level/all-packages.nix+1
@@ -10039,6 +10039,7 @@ in
1003910039
1004010040 mongodb = callPackage ../servers/nosql/mongodb {
1004110041 sasl = cyrus_sasl;
10042+ inherit (darwin.apple_sdk.frameworks) Security;
1004210043 };
1004310044
1004410045 mongodb248 = callPackage ../servers/nosql/mongodb/2.4.8.nix { };