mirror of
https://github.com/NixOS/nix
synced 2025-07-07 01:51:47 +02:00
DownloadError -> DataTransferError
This commit is contained in:
parent
213d124277
commit
c4c1ae0a00
5 changed files with 14 additions and 14 deletions
|
@ -113,7 +113,7 @@ static void update(const StringSet & channelNames)
|
|||
// Download the channel tarball.
|
||||
try {
|
||||
filename = store->toRealPath(fetchers::downloadFile(store, url + "/nixexprs.tar.xz", "nixexprs.tar.xz", false).storePath);
|
||||
} catch (DownloadError & e) {
|
||||
} catch (DataTransferError & e) {
|
||||
filename = store->toRealPath(fetchers::downloadFile(store, url + "/nixexprs.tar.bz2", "nixexprs.tar.bz2", false).storePath);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue