diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2018-05-15T12·57+0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-15T12·57+0200 |
commit | 966407bcf1cf86de508b20fef43cffb81d8a87dc (patch) | |
tree | e3c2ef406ae80f3f30cbb95830e7aa38ae590839 /src/nix-channel/nix-channel.cc | |
parent | 1ad19232c4bbecb06e6acbb2a3a538544a28e1f2 (diff) | |
parent | b9289e4855d0221825c6f673d64f69802daa6b42 (diff) |
Merge pull request #2145 from serokell/uncached-channel
make sure not to use cached channels for nix-channel --update
Diffstat (limited to 'src/nix-channel/nix-channel.cc')
-rwxr-xr-x | src/nix-channel/nix-channel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-channel/nix-channel.cc b/src/nix-channel/nix-channel.cc index d1b47ede803f..55ebda438965 100755 --- a/src/nix-channel/nix-channel.cc +++ b/src/nix-channel/nix-channel.cc @@ -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 |