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

Rename Input::fetch() to fetchToStore()

This commit is contained in:
Eelco Dolstra 2022-07-25 15:48:31 +02:00
parent a3427a1478
commit 7a64bb7f1c
4 changed files with 6 additions and 6 deletions

View file

@ -68,7 +68,7 @@ static void prim_fetchMercurial(EvalState & state, const PosIdx pos, Value * * a
auto input = fetchers::Input::fromAttrs(std::move(attrs));
// FIXME: use name
auto [storePath, input2] = input.fetch(state.store);
auto [storePath, input2] = input.fetchToStore(state.store);
auto attrs2 = state.buildBindings(8);
auto storePath2 = state.store->printStorePath(storePath);

View file

@ -196,7 +196,7 @@ static void fetchTree(
params.emptyRevFallback,
false);
} else {
auto [storePath, input2] = input.fetch(state.store);
auto [storePath, input2] = input.fetchToStore(state.store);
auto storePath2 = state.store->printStorePath(storePath);