charles4: pass --user-agent
to curlOptsList
This commit is contained in:
parent
c9ba8b002f
commit
4f72a0257b
|
@ -34,6 +34,7 @@ let
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.charlesproxy.com/assets/release/${version}/charles-proxy-${version}${platform}.tar.gz";
|
url = "https://www.charlesproxy.com/assets/release/${version}/charles-proxy-${version}${platform}.tar.gz";
|
||||||
|
curlOptsList = [ "--user-agent" "Mozilla/5.0" ]; # HTTP 104 otherwise
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
Loading…
Reference in a new issue