mirror of
https://github.com/NixOS/nix
synced 2025-07-03 06:11:46 +02:00
Remove Tree datatype
This commit is contained in:
parent
e7faf65784
commit
4f8f52ae58
7 changed files with 23 additions and 32 deletions
|
@ -93,7 +93,7 @@ SourcePath lookupFileArg(EvalState & state, std::string_view s)
|
|||
{
|
||||
if (isUri(s)) {
|
||||
auto storePath = fetchers::downloadTarball(
|
||||
state.store, resolveUri(s), "source", false).first.storePath;
|
||||
state.store, resolveUri(s), "source", false).first;
|
||||
auto accessor = makeFSInputAccessor(CanonPath(state.store->toRealPath(storePath)));
|
||||
state.registerAccessor(accessor);
|
||||
return {accessor, CanonPath::root};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue