1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-29 19:03:16 +02:00

Rename fetch() -> fetchToStore(), lazyFetch() -> getAccessor()

This commit is contained in:
Eelco Dolstra 2022-07-25 16:30:50 +02:00
parent 7a64bb7f1c
commit 1790698a74
11 changed files with 25 additions and 58 deletions

View file

@ -184,7 +184,7 @@ static void fetchTree(
state.debugThrowLastTrace(EvalError("in pure evaluation mode, 'fetchTree' requires a locked input, at %s", state.positions[pos]));
if (params.returnPath) {
auto [accessor, input2] = input.lazyFetch(state.store);
auto [accessor, input2] = input.getAccessor(state.store);
state.registerAccessor(accessor);