diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-09-18T09·07+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-09-18T09·07+0200 |
commit | aca4f7dff0ee615164668e923deaf5cc96ab1c8a (patch) | |
tree | b15c70471ab332a1dbb86d3698e429179b8ba45c /src/libstore/builtins.cc | |
parent | 5324bb9399b87782227cc98d83bc3c2d55b102fa (diff) |
Don't remove Content-Encoding in fetchurl / nix-prefetch-url
Fixes #1568.
Diffstat (limited to 'src/libstore/builtins.cc')
-rw-r--r-- | src/libstore/builtins.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/builtins.cc b/src/libstore/builtins.cc index 1075b45c00b5..4ca4a838e3c4 100644 --- a/src/libstore/builtins.cc +++ b/src/libstore/builtins.cc @@ -27,6 +27,7 @@ void builtinFetchurl(const BasicDerivation & drv, const std::string & netrcData) the result anyway. */ DownloadRequest request(url); request.verifyTLS = false; + request.decompress = false; /* Note: have to use a fresh downloader here because we're in a forked process. */ |