diff options
author | William A. Kennington III <william@wkennington.com> | 2015-04-08 14:59:35 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-04-08 14:59:35 -0700 |
commit | b461df248e87b9529b9e355dc64c0df1624581c6 (patch) | |
tree | 59d53d3655deddc050555c7772332c588117f4d1 /pkgs/servers/nosql/mongodb/default.nix | |
parent | 1e4e684fcb1f1888399483b42b4fc3af792e30c8 (diff) | |
download | nixpkgs-b461df248e87b9529b9e355dc64c0df1624581c6.tar nixpkgs-b461df248e87b9529b9e355dc64c0df1624581c6.tar.gz nixpkgs-b461df248e87b9529b9e355dc64c0df1624581c6.tar.bz2 nixpkgs-b461df248e87b9529b9e355dc64c0df1624581c6.tar.lz nixpkgs-b461df248e87b9529b9e355dc64c0df1624581c6.tar.xz nixpkgs-b461df248e87b9529b9e355dc64c0df1624581c6.tar.zst nixpkgs-b461df248e87b9529b9e355dc64c0df1624581c6.zip |
mongodb: Enable parallel building
Diffstat (limited to 'pkgs/servers/nosql/mongodb/default.nix')
-rw-r--r-- | pkgs/servers/nosql/mongodb/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/servers/nosql/mongodb/default.nix b/pkgs/servers/nosql/mongodb/default.nix index 99cf6cd9757..303159cb7f4 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; |