mirror of
https://github.com/NixOS/nix.git
synced 2025-12-01 06:31:00 +01:00
Remove Tree datatype
This commit is contained in:
parent
e7faf65784
commit
4f8f52ae58
7 changed files with 23 additions and 32 deletions
|
|
@ -790,7 +790,7 @@ SourcePath EvalState::findFile(SearchPath & searchPath, const std::string_view p
|
|||
if (isUri(elem.second)) {
|
||||
try {
|
||||
auto storePath = fetchers::downloadTarball(
|
||||
store, resolveUri(elem.second), "source", false).first.storePath;
|
||||
store, resolveUri(elem.second), "source", false).first;
|
||||
auto accessor = makeFSInputAccessor(CanonPath(store->toRealPath(storePath)));
|
||||
registerAccessor(accessor);
|
||||
res.emplace(SourcePath {accessor, CanonPath::root});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue