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