aboutsummaryrefslogtreecommitdiff
path: root/src/nix-prefetch-url/nix-prefetch-url.cc
diff options
context:
space:
mode:
authorNikola Knezevic <nikola@knezevic.ch>2020-04-06 22:57:09 +0200
committerNikola Knezevic <nikola@knezevic.ch>2020-04-08 22:26:57 +0200
commitcd391206e6d29608bc3e25301b9921f1ac189086 (patch)
tree94f67ad06388bbc2406359091c8ee3766e38789a /src/nix-prefetch-url/nix-prefetch-url.cc
parent2df2741ec6e9411739b2049d7487b7b8a26d4547 (diff)
{get,make,new}Downloader -> DataTransfer
Diffstat (limited to 'src/nix-prefetch-url/nix-prefetch-url.cc')
-rw-r--r--src/nix-prefetch-url/nix-prefetch-url.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-prefetch-url/nix-prefetch-url.cc b/src/nix-prefetch-url/nix-prefetch-url.cc
index 58a180e72..4c81e7d82 100644
--- a/src/nix-prefetch-url/nix-prefetch-url.cc
+++ b/src/nix-prefetch-url/nix-prefetch-url.cc
@@ -182,7 +182,7 @@ static int _main(int argc, char * * argv)
DataTransferRequest req(actualUri);
req.decompress = false;
- getDownloader()->download(std::move(req), sink);
+ getDataTransfer()->download(std::move(req), sink);
}
/* Optionally unpack the file. */