From b461df248e87b9529b9e355dc64c0df1624581c6 Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Wed, 8 Apr 2015 14:59:35 -0700 Subject: [PATCH] mongodb: Enable parallel building --- pkgs/servers/nosql/mongodb/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/nosql/mongodb/default.nix b/pkgs/servers/nosql/mongodb/default.nix index 99cf6cd97572..303159cb7f4b 100644 --- a/pkgs/servers/nosql/mongodb/default.nix +++ b/pkgs/servers/nosql/mongodb/default.nix @@ -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;