git.iko.soy/typeable/nixpkgs
on master help sign in
mongodb: Enable parallel building
b461df2William A. Kennington III
pkgs/servers/nosql/mongodb/default.nix+4−2
@@ -49,14 +49,16 @@ in stdenv.mkDerivation rec {
49 '';
49 '';
50
50
51 buildPhase = ''
51 buildPhase = ''
52− scons core --release ${other-args}
52+ scons -j $NIX_BUILD_CORES core --release ${other-args}
53 '';
53 '';
54
54
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}
58 '';
58 '';
59
59
60+ enableParallelBuilding = true;
61+
60 meta = {
62 meta = {
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;