mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 06:52:43 +01:00
Improve progress indicator
This commit is contained in:
parent
e80257f122
commit
b01d62285c
26 changed files with 339 additions and 168 deletions
|
|
@ -28,9 +28,6 @@ void builtinFetchurl(const BasicDerivation & drv, const std::string & netrcData)
|
|||
DownloadRequest request(url);
|
||||
request.verifyTLS = false;
|
||||
|
||||
/* Show a progress indicator, even though stderr is not a tty. */
|
||||
request.showProgress = DownloadRequest::yes;
|
||||
|
||||
/* Note: have to use a fresh downloader here because we're in
|
||||
a forked process. */
|
||||
auto data = makeDownloader()->download(request);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue