diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-11-30 18:34:31 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-11-30 18:54:07 +0100 |
commit | 6efc160efe6b91dd2ef2b74d551411d290c3b1f6 (patch) | |
tree | c89c70794edd03e2cbd200158ab93e1835dcd464 /nix/nix-daemon/guix-daemon.cc | |
parent | 5f86a66efdd07e1ff43fb280245e0b7f4744cfca (diff) | |
download | guix-6efc160efe6b91dd2ef2b74d551411d290c3b1f6.tar.gz |
daemon: Default to '--cores=0'.
Suggested by Deck Pickard <deck.r.pickard@gmail.com>. * nix/nix-daemon/guix-daemon.cc (main): Set 'settings.buildCores' to 0. * doc/guix.texi (Invoking guix-daemon): Adjust accordingly.
Diffstat (limited to 'nix/nix-daemon/guix-daemon.cc')
-rw-r--r-- | nix/nix-daemon/guix-daemon.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nix/nix-daemon/guix-daemon.cc b/nix/nix-daemon/guix-daemon.cc index d1d4541971..3cca120755 100644 --- a/nix/nix-daemon/guix-daemon.cc +++ b/nix/nix-daemon/guix-daemon.cc @@ -264,6 +264,9 @@ main (int argc, char *argv[]) /* Turn automatic deduplication on by default. */ settings.autoOptimiseStore = true; + /* Default to using as many cores as possible. */ + settings.buildCores = 0; + argvSaved = argv; try |