[Nix-dev] [PATCH] daemon: Add 'buildMode' parameter to 'buildPaths' RPC.
Ludovic Courtès
ludo at gnu.org
Wed Dec 2 18:03:13 CET 2015
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump to 0x10f.
* nix/libstore/remote-store.cc (RemoteStore::buildPaths): Send the
BUILDMODE when the daemon supports it. Reject invalid values of
BUILDMODE for old daemons.
* nix/nix-daemon/nix-daemon.cc (performOp) <wopBuildPaths>: Read the
build mode when the client supports it.
---
nix/libstore/remote-store.cc | 11 +++++++++--
nix/libstore/worker-protocol.hh | 2 +-
nix/nix-daemon/nix-daemon.cc | 11 ++++++++++-
3 files changed, 20 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-daemon-Add-buildMode-parameter-to-buildPaths-RPC.patch
Type: text/x-patch
Size: 2485 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151202/8acc8266/attachment-0001.bin
More information about the nix-dev
mailing list