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