mongodb: Support 32 bit platforms

This commit is contained in:
William A. Kennington III 2015-05-19 22:01:08 -07:00
parent b76d6c1699
commit 3cb3247ae0

View file

@ -17,14 +17,14 @@ let version = "3.0.3";
] ++ optionals stdenv.isLinux [ "tcmalloc" ];
buildInputs = [
sasl boost gperftools pcre snappy
zlib libyamlcpp sasl openssl libpcap wiredtiger
];
zlib libyamlcpp sasl openssl libpcap
] ++ optional stdenv.is64bit wiredtiger;
other-args = concatStringsSep " " ([
"--c++11=on"
"--ssl"
#"--rocksdb" # Don't have this packaged yet
"--wiredtiger=on"
"--wiredtiger=${if stdenv.is64bit then "on" else "off"}"
"--js-engine=v8-3.25"
"--use-sasl-client"
"--variant-dir=nixos" # Needed so we don't produce argument lists that are too long for gcc / ld