1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-20 01:09:37 +01:00

Merge pull request #14582 from NixOS/ref-to-reference

libfetchers: Convert ref<Store> -> Store &
This commit is contained in:
John Ericson 2025-11-17 20:15:28 +00:00 committed by GitHub
commit 77982c55b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 119 additions and 119 deletions

View file

@ -3190,7 +3190,7 @@ std::optional<SourcePath> EvalState::resolveLookupPathPath(const LookupPath::Pat
if (EvalSettings::isPseudoUrl(value)) {
try {
auto accessor = fetchers::downloadTarball(store, fetchSettings, EvalSettings::resolvePseudoUrl(value));
auto accessor = fetchers::downloadTarball(*store, fetchSettings, EvalSettings::resolvePseudoUrl(value));
auto storePath = fetchToStore(fetchSettings, *store, SourcePath(accessor), FetchMode::Copy);
return finish(this->storePath(storePath));
} catch (Error & e) {