about summary refs log tree commit diff
path: root/third_party/nix/src/libstore/download.hh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/libstore/download.hh')
-rw-r--r--third_party/nix/src/libstore/download.hh4
1 files changed, 1 insertions, 3 deletions
diff --git a/third_party/nix/src/libstore/download.hh b/third_party/nix/src/libstore/download.hh
index 8e07403bcccd..8859b093e4f3 100644
--- a/third_party/nix/src/libstore/download.hh
+++ b/third_party/nix/src/libstore/download.hh
@@ -46,14 +46,12 @@ struct DownloadRequest {
   bool head = false;
   size_t tries = downloadSettings.tries;
   unsigned int baseRetryTimeMs = 250;
-  ActivityId parentAct;
   bool decompress = true;
   std::shared_ptr<std::string> data;
   std::string mimeType;
   std::function<void(char*, size_t)> dataCallback;
 
-  DownloadRequest(const std::string& uri)
-      : uri(uri), parentAct(getCurActivity()) {}
+  DownloadRequest(const std::string& uri) : uri(uri) {}
 
   std::string verb() { return data ? "upload" : "download"; }
 };