guix-devel/nix/libstore
Ludovic Courtès deac976d3d
daemon: Client settings no longer override daemon settings.
Fixes <http://bugs.gnu.org/20217>.

* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x161.
* nix/nix-daemon/nix-daemon.cc (performOp): "build-max-jobs",
"build-max-silent-time", and "build-cores" are no longer read upfront;
instead, read them from the key/value list at the end.
* nix/nix-daemon/guix-daemon.cc (main): Explicitly set
'settings.maxBuildJobs'.
* guix/store.scm (%protocol-version): Bump to #x161.
(set-build-options): #:max-build-jobs, #:max-silent-time, and
 #:build-cores now default to #f.  Adjust handshake to new protocol.
* tests/store.scm ("build-cores"): New test.
* tests/guix-daemon.sh: Add test for default "build-cores" value.
2017-01-15 15:43:22 +01:00
..
.gitignore build: Include a copy of Nix's libstore and daemon; build it. 2012-12-03 23:05:08 +01:00
build.cc daemon: Allow check builds of 'builtin:download' derivations. 2017-01-11 17:06:31 +01:00
builtins.cc daemon: Allow check builds of 'builtin:download' derivations. 2017-01-11 17:06:31 +01:00
builtins.hh daemon: Allow check builds of 'builtin:download' derivations. 2017-01-11 17:06:31 +01:00
derivations.cc Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
derivations.hh Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
gc.cc Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
globals.cc daemon: Rename 'NIX_CONF_DIR' to 'GUIX_CONFIGURATION_DIRECTORY'. 2016-06-26 23:11:07 +02:00
globals.hh daemon: Set ownership of kept build directories to the calling user. 2016-12-09 15:46:09 +01:00
local-store.cc daemon: Improve the SQLite wrapper API. 2016-10-28 22:30:17 +02:00
local-store.hh daemon: Improve the SQLite wrapper API. 2016-10-28 22:30:17 +02:00
misc.cc Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
misc.hh Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
optimise-store.cc daemon: Fix invalid Boost format string. 2016-12-05 18:18:10 +01:00
pathlocks.cc daemon: ~PathLocks(): Handle exceptions. 2016-05-31 14:25:28 +02:00
pathlocks.hh Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
references.cc Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
references.hh Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
schema.sql Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
sqlite.cc daemon: Improve the SQLite wrapper API. 2016-10-28 22:30:17 +02:00
sqlite.hh daemon: Improve the SQLite wrapper API. 2016-10-28 22:30:17 +02:00
store-api.cc daemon: Remove unused 'RemoteStore' class. 2015-12-30 01:20:41 +01:00
store-api.hh daemon: Improve the SQLite wrapper API. 2016-10-28 22:30:17 +02:00
worker-protocol.hh daemon: Client settings no longer override daemon settings. 2017-01-15 15:43:22 +01:00