mongodb: Enable parallel building

This commit is contained in:
William A. Kennington III 2015-04-08 14:59:35 -07:00
parent 1e4e684fcb
commit b461df248e

View file

@ -49,14 +49,16 @@ in stdenv.mkDerivation rec {
'';
buildPhase = ''
scons core --release ${other-args}
scons -j $NIX_BUILD_CORES core --release ${other-args}
'';
installPhase = ''
mkdir -p $out/lib
scons install --release --prefix=$out ${other-args}
scons -j $NIX_BUILD_CORES install --release --prefix=$out ${other-args}
'';
enableParallelBuilding = true;
meta = {
description = "a scalable, high-performance, open source NoSQL database";
homepage = http://www.mongodb.org;