summary refs log tree commit diff
path: root/tests/system.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-12-01 15:55:57 +0100
committerLudovic Courtès <ludo@gnu.org>2020-12-08 22:30:08 +0100
commita618a8c6203d4cf57f12873a86797b8685b11e14 (patch)
treeb7b6eec5c5f387ccbaa8dfcd0859fa50047e6c8d /tests/system.scm
parent79c6614f58a57b985daf8940766319e440311db0 (diff)
downloadguix-a618a8c6203d4cf57f12873a86797b8685b11e14.tar.gz
daemon: Factorize substituter agent spawning.
* nix/libstore/local-store.hh (class LocalStore)[substituter]: New
method.
[runningSubstituter]: Turn into a shared_ptr.
* nix/libstore/local-store.cc (LocalStore::querySubstitutablePaths):
Call 'substituter' instead of using inline code.
(LocalStore::querySubstitutablePathInfos): Likewise.
(LocalStore::substituter): New method.
Diffstat (limited to 'tests/system.scm')
0 files changed, 0 insertions, 0 deletions