aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops/fetchTree.cc
diff options
context:
space:
mode:
authorKevin Quick <kquick@galois.com>2020-09-29 08:32:06 -0700
committerKevin Quick <kquick@galois.com>2020-09-29 08:32:06 -0700
commit66c3959e8ca73ff59faacc319a47b6f93a66be64 (patch)
tree076892d5ef8b3d5d81ead006351bc460e7a08b09 /src/libexpr/primops/fetchTree.cc
parent5a35cc29bffc88b88f883dfcdd1bb251eab53ecd (diff)
parente2d398c200023a0d1e0054c536e7f6438bd2b139 (diff)
Merge branch 'master' into access-tokens
Diffstat (limited to 'src/libexpr/primops/fetchTree.cc')
-rw-r--r--src/libexpr/primops/fetchTree.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/primops/fetchTree.cc b/src/libexpr/primops/fetchTree.cc
index 3001957b4..06e8304b8 100644
--- a/src/libexpr/primops/fetchTree.cc
+++ b/src/libexpr/primops/fetchTree.cc
@@ -201,8 +201,8 @@ static void fetch(EvalState & state, const Pos & pos, Value * * args, Value & v,
auto storePath =
unpack
- ? fetchers::downloadTarball(state.store, *url, Headers {}, name, (bool) expectedHash).first.storePath
- : fetchers::downloadFile(state.store, *url, Headers{}, name, (bool) expectedHash).storePath;
+ ? fetchers::downloadTarball(state.store, *url, name, (bool) expectedHash).first.storePath
+ : fetchers::downloadFile(state.store, *url, name, (bool) expectedHash).storePath;
auto path = state.store->toRealPath(storePath);