aws-sam-cli: disable telemetry
Since v0.19.0 aws-sam-cli sends telemetry data to AWS[1]. To protect the users' privacy, we opt-out by default. [1] https://github.com/awslabs/aws-sam-cli/issues/1272
This commit is contained in:
parent
cba54926dc
commit
c6b1ce47b6
@ -83,6 +83,11 @@ buildPythonApplication rec {
|
||||
tomlkit
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
# Disable telemetry: https://github.com/awslabs/aws-sam-cli/issues/1272
|
||||
wrapProgram $out/bin/sam --set SAM_CLI_TELEMETRY 0
|
||||
'';
|
||||
|
||||
# fix over-restrictive version bounds
|
||||
postPatch = ''
|
||||
substituteInPlace requirements/base.txt \
|
||||
|
Loading…
Reference in New Issue
Block a user