mongodb: Support 32 bit platforms
This commit is contained in:
parent
b76d6c1699
commit
3cb3247ae0
@ -17,14 +17,14 @@ let version = "3.0.3";
|
|||||||
] ++ optionals stdenv.isLinux [ "tcmalloc" ];
|
] ++ optionals stdenv.isLinux [ "tcmalloc" ];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
sasl boost gperftools pcre snappy
|
sasl boost gperftools pcre snappy
|
||||||
zlib libyamlcpp sasl openssl libpcap wiredtiger
|
zlib libyamlcpp sasl openssl libpcap
|
||||||
];
|
] ++ optional stdenv.is64bit wiredtiger;
|
||||||
|
|
||||||
other-args = concatStringsSep " " ([
|
other-args = concatStringsSep " " ([
|
||||||
"--c++11=on"
|
"--c++11=on"
|
||||||
"--ssl"
|
"--ssl"
|
||||||
#"--rocksdb" # Don't have this packaged yet
|
#"--rocksdb" # Don't have this packaged yet
|
||||||
"--wiredtiger=on"
|
"--wiredtiger=${if stdenv.is64bit then "on" else "off"}"
|
||||||
"--js-engine=v8-3.25"
|
"--js-engine=v8-3.25"
|
||||||
"--use-sasl-client"
|
"--use-sasl-client"
|
||||||
"--variant-dir=nixos" # Needed so we don't produce argument lists that are too long for gcc / ld
|
"--variant-dir=nixos" # Needed so we don't produce argument lists that are too long for gcc / ld
|
||||||
|
Loading…
Reference in New Issue
Block a user