aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/parser.y
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-09-29 12:17:00 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-09-29 12:17:00 +0200
commitcebd2fc35de5f6d863ac6606e4d6cf320d96daf5 (patch)
treedcebcd6902b15e798b95094bd1d40317e61f35cc /src/libexpr/parser.y
parent1e8855a7f71c31f1b6353e0cf4d752eacc85f9c8 (diff)
parentfaa5607f546b825c505696d4f61e73ce3d4aa053 (diff)
Merge branch 'github-api-token' of https://github.com/imalsogreg/nix
Diffstat (limited to 'src/libexpr/parser.y')
-rw-r--r--src/libexpr/parser.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y
index a4c84c526..e879280c0 100644
--- a/src/libexpr/parser.y
+++ b/src/libexpr/parser.y
@@ -718,7 +718,7 @@ std::pair<bool, std::string> EvalState::resolveSearchPathElem(const SearchPathEl
if (isUri(elem.second)) {
try {
res = { true, store->toRealPath(fetchers::downloadTarball(
- store, resolveUri(elem.second), "source", false).first.storePath) };
+ store, resolveUri(elem.second), Headers {}, "source", false).first.storePath) };
} catch (FileTransferError & e) {
logWarning({
.name = "Entry download",