From aca4f7dff0ee615164668e923deaf5cc96ab1c8a Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 18 Sep 2017 11:07:28 +0200 Subject: Don't remove Content-Encoding in fetchurl / nix-prefetch-url Fixes #1568. --- src/libstore/download.hh | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libstore/download.hh') 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) { } -- cgit 1.4.1