mirror of
https://github.com/NixOS/nix
synced 2025-07-02 09:21:47 +02:00
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. */
|
||||
if (hasPrefix(request.uri, "s3://")) {
|
||||
// FIXME: do this on a worker thread
|
||||
sync2async<DownloadResult>(success, failure, [&]() {
|
||||
sync2async<DownloadResult>(success, failure, [&]() -> DownloadResult {
|
||||
#ifdef ENABLE_S3
|
||||
S3Helper s3Helper;
|
||||
auto slash = request.uri.find('/', 5);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue