about summary refs log tree commit diff
path: root/src/libstore/download.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-09-18T09·07+0200
committerEelco Dolstra <edolstra@gmail.com>2017-09-18T09·07+0200
commitaca4f7dff0ee615164668e923deaf5cc96ab1c8a (patch)
treeb15c70471ab332a1dbb86d3698e429179b8ba45c /src/libstore/download.hh
parent5324bb9399b87782227cc98d83bc3c2d55b102fa (diff)
Don't remove Content-Encoding in fetchurl / nix-prefetch-url
Fixes #1568.
Diffstat (limited to 'src/libstore/download.hh')
-rw-r--r--src/libstore/download.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/download.hh b/src/libstore/download.hh
index 752bf3723cfc..f2d65ad8d61d 100644
--- a/src/libstore/download.hh
+++ b/src/libstore/download.hh
@@ -17,6 +17,7 @@ struct DownloadRequest
     size_t tries = 5;
     unsigned int baseRetryTimeMs = 250;
     ActivityId parentAct;
+    bool decompress = true;
 
     DownloadRequest(const std::string & uri)
         : uri(uri), parentAct(curActivity) { }