mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
download.hh: Fix conflicts from nix-channel-c++ merge
This commit is contained in:
parent
572aba284a
commit
dfe0938614
3 changed files with 7 additions and 16 deletions
|
@ -86,7 +86,7 @@ static void update(const StringSet & channelNames)
|
|||
// definition from a consistent location if the redirect changes mid-download.
|
||||
auto effectiveUrl = string{};
|
||||
auto dl = makeDownloader();
|
||||
auto filename = dl->downloadCached(store, url, false, effectiveUrl);
|
||||
auto filename = dl->downloadCached(store, url, false, "", Hash(), &effectiveUrl);
|
||||
url = chomp(std::move(effectiveUrl));
|
||||
|
||||
// If the URL contains a version number, append it to the name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue