1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-04 15:31:47 +02:00

Don't remove Content-Encoding in fetchurl / nix-prefetch-url

Fixes #1568.
This commit is contained in:
Eelco Dolstra 2017-09-18 11:07:28 +02:00
parent 5324bb9399
commit aca4f7dff0
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
4 changed files with 7 additions and 2 deletions

View file

@ -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) { }