mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
DownloadError -> DataTransferError
This commit is contained in:
parent
213d124277
commit
c4c1ae0a00
5 changed files with 14 additions and 14 deletions
|
@ -690,7 +690,7 @@ std::pair<bool, std::string> EvalState::resolveSearchPathElem(const SearchPathEl
|
|||
try {
|
||||
res = { true, store->toRealPath(fetchers::downloadTarball(
|
||||
store, resolveUri(elem.second), "source", false).storePath) };
|
||||
} catch (DownloadError & e) {
|
||||
} catch (DataTransferError & e) {
|
||||
printError(format("warning: Nix search path entry '%1%' cannot be downloaded, ignoring") % elem.second);
|
||||
res = { false, "" };
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue