Fix building without S3 support
http://hydra.nixos.org/build/49031196/nixlog/2/raw
This commit is contained in:
parent
79f4583f8a
commit
99bbddedb1
2 changed files with 2 additions and 2 deletions
|
@ -489,7 +489,7 @@ struct CurlDownloader : public Downloader
|
||||||
/* Ugly hack to support s3:// URIs. */
|
/* Ugly hack to support s3:// URIs. */
|
||||||
if (hasPrefix(request.uri, "s3://")) {
|
if (hasPrefix(request.uri, "s3://")) {
|
||||||
// FIXME: do this on a worker thread
|
// FIXME: do this on a worker thread
|
||||||
sync2async<DownloadResult>(success, failure, [&]() {
|
sync2async<DownloadResult>(success, failure, [&]() -> DownloadResult {
|
||||||
#ifdef ENABLE_S3
|
#ifdef ENABLE_S3
|
||||||
S3Helper s3Helper;
|
S3Helper s3Helper;
|
||||||
auto slash = request.uri.find('/', 5);
|
auto slash = request.uri.find('/', 5);
|
||||||
|
|
|
@ -225,7 +225,7 @@ struct LegacySSHStore : public Store
|
||||||
void collectGarbage(const GCOptions & options, GCResults & results) override
|
void collectGarbage(const GCOptions & options, GCResults & results) override
|
||||||
{ unsupported(); }
|
{ unsupported(); }
|
||||||
|
|
||||||
ref<FSAccessor> getFSAccessor()
|
ref<FSAccessor> getFSAccessor() override
|
||||||
{ unsupported(); }
|
{ unsupported(); }
|
||||||
|
|
||||||
void addSignatures(const Path & storePath, const StringSet & sigs) override
|
void addSignatures(const Path & storePath, const StringSet & sigs) override
|
||||||
|
|
Loading…
Reference in a new issue