mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
make sure not to use cached channels for nix-channel --update
fixes #1964
This commit is contained in:
parent
a1adcdf087
commit
b9289e4855
3 changed files with 4 additions and 4 deletions
|
@ -86,7 +86,7 @@ static void update(const StringSet & channelNames)
|
|||
// definition from a consistent location if the redirect changes mid-download.
|
||||
std::string effectiveUrl;
|
||||
auto dl = getDownloader();
|
||||
auto filename = dl->downloadCached(store, url, false, "", Hash(), &effectiveUrl);
|
||||
auto filename = dl->downloadCached(store, url, false, "", Hash(), &effectiveUrl, 0);
|
||||
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