mirror of
https://github.com/NixOS/nix
synced 2025-06-28 09:31:16 +02:00
Improve progress indicator
This commit is contained in:
parent
e80257f122
commit
b01d62285c
26 changed files with 339 additions and 168 deletions
|
@ -112,7 +112,6 @@ static void update(const StringSet & channelNames)
|
|||
// The URL doesn't unpack directly, so let's try treating it like a full channel folder with files in it
|
||||
// Check if the channel advertises a binary cache.
|
||||
DownloadRequest request(url + "/binary-cache-url");
|
||||
request.showProgress = DownloadRequest::no;
|
||||
try {
|
||||
auto dlRes = dl->download(request);
|
||||
extraAttrs = "binaryCacheURL = \"" + *dlRes.data + "\";";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue