hoogle: use $NIX_BUILD_CORES to determine the proper level of parallelism for database creation

This commit is contained in:
Peter Simons 2015-09-02 16:24:06 +02:00
parent 6e76765795
commit 07542d12ea
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ stdenv.mkDerivation {
echo building hoogle database
# FIXME: rehoo is marked as depricated on Hackage
chmod 644 *.hoo *.txt
rehoo -j4 -c64 .
rehoo -j$NIX_BUILD_CORES -c64 .
mv default.hoo .x
rm -fr downloads *.dep *.txt *.hoo