mongodb: Enable parallel building
commitb461df248e87b9529b9e355dc64c0df1624581c6
authorWilliam A. Kennington III <william@wkennington.com>
dateWed 8 Apr 2015, 14:59 (12 years ago)
parent1e4e684
pkgs/servers/nosql/mongodb/default.nix+4−2
@@ -49,14 +49,16 @@ in stdenv.mkDerivation rec {
4949 '';
5050
5151 buildPhase = ''
52− scons core --release ${other-args}
52+ scons -j $NIX_BUILD_CORES core --release ${other-args}
5353 '';
5454
5555 installPhase = ''
5656 mkdir -p $out/lib
57− scons install --release --prefix=$out ${other-args}
57+ scons -j $NIX_BUILD_CORES install --release --prefix=$out ${other-args}
5858 '';
5959
60+ enableParallelBuilding = true;
61+
6062 meta = {
6163 description = "a scalable, high-performance, open source NoSQL database";
6264 homepage = http://www.mongodb.org;