This repository was archived by the owner on Aug 27, 2018. It is now read-only.
This repository was archived by the owner on Aug 27, 2018. It is now read-only.
nix should use curl -C #89
Open
Description
On bad connections, loading a single big file in one go is a non-starter. That's why curl has option -C for continue/resume, and other tools have similar options. Nix should use it. This assumes that Nix should somehow be able to determine the total size at the beginning of the download query, and/or cache it together with a digest of the file, and that it should detect issues that lead to incomplete download, so as not to delete the partial file in those cases (as opposed to cases of file corruption).
This all suggests that, like apt, nix should have a download protocol that knows about partial files and resume, and use that instead of a trivial curl.
(This issue might be for nix rather than nixos.)
Metadata
Metadata
Assignees
Labels
No labels