1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 11:41:15 +02:00

after flake rebase

This commit is contained in:
Nikola Knezevic 2020-04-08 14:12:22 +02:00
parent f5095594e7
commit 7867685dcd
5 changed files with 9 additions and 9 deletions

View file

@ -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 (DataTransferError & e) {
} catch (FileTransferError & e) {
printError(format("warning: Nix search path entry '%1%' cannot be downloaded, ignoring") % elem.second);
res = { false, "" };
}

View file

@ -2,7 +2,7 @@
#include "eval-inline.hh"
#include "store-api.hh"
#include "fetchers.hh"
#include "download.hh"
#include "filetransfer.hh"
#include <ctime>
#include <iomanip>