diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-09-29 13:05:19 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-09-29 13:05:19 +0200 |
commit | 5999978a053b3ec16f448c40b54a1a62ceb82c90 (patch) | |
tree | d08c51a3803d7eefb02b046eaed34d679b52088e /src/libexpr/parser.y | |
parent | de86abbf3f9f0d18f7506b1d50072597786332ea (diff) |
Make Headers an optional argument
Diffstat (limited to 'src/libexpr/parser.y')
-rw-r--r-- | src/libexpr/parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/parser.y b/src/libexpr/parser.y index e879280c0..a4c84c526 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), Headers {}, "source", false).first.storePath) }; + store, resolveUri(elem.second), "source", false).first.storePath) }; } catch (FileTransferError & e) { logWarning({ .name = "Entry download", |