diff options
author | Stefano Mazzucco <stefano@curso.re> | 2020-02-07 20:52:05 +0000 |
---|---|---|
committer | Stefano Mazzucco <stefano@curso.re> | 2020-02-07 20:52:05 +0000 |
commit | c6b1ce47b673a35c140e7eec8b7409c645443a6f (patch) | |
tree | 7be737c57518973426dfe490e4e6638d83256aa5 /pkgs/development/tools | |
parent | cba54926dc7e390fa56dee63d5a211af4123ba76 (diff) | |
download | nixlib-c6b1ce47b673a35c140e7eec8b7409c645443a6f.tar nixlib-c6b1ce47b673a35c140e7eec8b7409c645443a6f.tar.gz nixlib-c6b1ce47b673a35c140e7eec8b7409c645443a6f.tar.bz2 nixlib-c6b1ce47b673a35c140e7eec8b7409c645443a6f.tar.lz nixlib-c6b1ce47b673a35c140e7eec8b7409c645443a6f.tar.xz nixlib-c6b1ce47b673a35c140e7eec8b7409c645443a6f.tar.zst nixlib-c6b1ce47b673a35c140e7eec8b7409c645443a6f.zip |
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
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/aws-sam-cli/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/tools/aws-sam-cli/default.nix b/pkgs/development/tools/aws-sam-cli/default.nix index 39a68622056a..916ff325b43b 100644 --- a/pkgs/development/tools/aws-sam-cli/default.nix +++ b/pkgs/development/tools/aws-sam-cli/default.nix @@ -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 \ |