mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-23 12:34:15 +00:00
cloud-nuke: disable telemetry
This commit is contained in:
parent
6a7c8a7c51
commit
3d50aaec61
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user