mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
mongodb: Enable parallel building
This commit is contained in:
parent
1e4e684fcb
commit
b461df248e
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue