mirror of
https://github.com/NixOS/nix
synced 2025-07-02 13:31:48 +02:00
Make Headers an optional argument
This commit is contained in:
parent
de86abbf3f
commit
5999978a05
9 changed files with 23 additions and 25 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue