charles4: pass --user-agent to curlOptsList

This commit is contained in:
Thiago Kenji Okada 2022-12-01 21:04:11 +00:00
parent c9ba8b002f
commit 4f72a0257b

View File

@ -34,6 +34,7 @@ let
src = fetchurl {
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;
};
nativeBuildInputs = [ makeWrapper ];