cloud-nuke: disable telemetry

This commit is contained in:
Mario Rodas 2023-05-12 08:17:00 +00:00
parent 6a7c8a7c51
commit 3d50aaec61

View file

@ -1,6 +1,7 @@
{ lib
, buildGoModule
, fetchFromGitHub
, makeBinaryWrapper
}:
buildGoModule rec {
@ -16,6 +17,10 @@ buildGoModule rec {
vendorHash = "sha256-DPJ6+akisNtMsbDdHWEWavZ2GJfeWjFIV6K+bV91FEY=";
nativeBuildInputs = [
makeBinaryWrapper
];
ldflags = [
"-s"
"-w"
@ -24,6 +29,10 @@ buildGoModule rec {
doCheck = false;
postInstall = ''
wrapProgram $out/bin/cloud-nuke --set-default DISABLE_TELEMETRY true
'';
meta = with lib; {
homepage = "https://github.com/gruntwork-io/cloud-nuke";
description = "A tool for cleaning up your cloud accounts by nuking (deleting) all resources within it";