guix/nix/libstore
Ludovic Courtès 1e47148f46
daemon: Implement ‘substitute-urls’ RPC.
* nix/libstore/worker-protocol.hh (PROTOCOL_VERSION): Bump.
(WorkerOp): Add ‘wopSubstituteURLs’.
* nix/nix-daemon/nix-daemon.cc (performOp): Implement it.
* guix/store.scm (%protocol-version): Bump.
(operation-id): Add ‘substitute-urls’.
(substitute-urls): New procedure.
* tests/store.scm ("substitute-urls, default")
("substitute-urls, client-specified URLs")
("substitute-urls, disabled"): New tests.

Change-Id: I2c0119500c3a1eecfa5ebf32463ffb0f173161de
2023-12-11 23:18:53 +01:00
..
.gitignore
build.cc daemon: Simplify “empty status” substitute error message. 2023-12-04 22:26:36 +01:00
builtins.cc daemon: Add “git-download” built-in builder. 2023-09-26 17:36:58 +02:00
builtins.hh
derivations.cc
derivations.hh
gc.cc Revert "nix: Guard against removing temporary roots of living processes." 2022-10-17 09:37:27 +02:00
globals.cc
globals.hh
local-store.cc
local-store.hh
misc.cc daemon: Remove unused function findOutput. 2022-09-11 16:43:30 +02:00
misc.hh daemon: Remove unused function findOutput. 2022-09-11 16:43:30 +02:00
optimise-store.cc
pathlocks.cc
pathlocks.hh
references.cc
references.hh
sqlite.cc
sqlite.hh daemon: Fix build with GCC 13. 2023-09-09 18:47:35 +02:00
store-api.cc
store-api.hh
worker-protocol.hh daemon: Implement ‘substitute-urls’ RPC. 2023-12-11 23:18:53 +01:00