diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-06-16 18:03:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-16 18:03:50 +0200 |
commit | e503eadafc5fb79dabcca161aa3bf41a4fb777a5 (patch) | |
tree | 8b0464d9e29a7e5245c8e921c6623f5cedfa31a2 /src/libcmd | |
parent | 713836112c1e0f83af38a2273d5f32d52f4a4808 (diff) | |
parent | b1ed9b4b0cc037a8b14dcc37fd32f6a5a16e7ba3 (diff) |
Merge pull request #8477 from edolstra/tarball-flake-redirects
Tarball flake improvements
Diffstat (limited to 'src/libcmd')
-rw-r--r-- | src/libcmd/common-eval-args.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/common-eval-args.cc b/src/libcmd/common-eval-args.cc index ff3abd534..7f97364a1 100644 --- a/src/libcmd/common-eval-args.cc +++ b/src/libcmd/common-eval-args.cc @@ -165,7 +165,7 @@ SourcePath lookupFileArg(EvalState & state, std::string_view s) { if (EvalSettings::isPseudoUrl(s)) { auto storePath = fetchers::downloadTarball( - state.store, EvalSettings::resolvePseudoUrl(s), "source", false).first.storePath; + state.store, EvalSettings::resolvePseudoUrl(s), "source", false).tree.storePath; return state.rootPath(CanonPath(state.store->toRealPath(storePath))); } |