mongodb: Enable parallel building
This commit is contained in:
parent
1e4e684fcb
commit
b461df248e
@ -49,14 +49,16 @@ in stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
scons core --release ${other-args}
|
scons -j $NIX_BUILD_CORES core --release ${other-args}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/lib
|
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 = {
|
meta = {
|
||||||
description = "a scalable, high-performance, open source NoSQL database";
|
description = "a scalable, high-performance, open source NoSQL database";
|
||||||
homepage = http://www.mongodb.org;
|
homepage = http://www.mongodb.org;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user