terragrunt: 0.30.3 -> 0.30.6

Move to new ldflags variable
This commit is contained in:
06kellyjac 2021-06-18 15:12:56 +01:00
parent 33d42ad7cf
commit e4ba9b02e7

View File

@ -2,22 +2,20 @@
buildGoModule rec {
pname = "terragrunt";
version = "0.30.3";
version = "0.30.6";
src = fetchFromGitHub {
owner = "gruntwork-io";
repo = pname;
rev = "v${version}";
sha256 = "sha256-kGeGqn0Jgim3gpZUwhIMPV84XD8yYEyH5YMtzidxWRU=";
sha256 = "sha256-McV04oE8/LaH9lOU0aKsmS1KpWUC9I/t59WqAYZrIVY=";
};
vendorSha256 = "sha256-OgNNq1qRhCufcWemLxh50pzs432RxZpWWcyBB7xeiOs=";
doCheck = false;
preBuild = ''
buildFlagsArray+=("-ldflags" "-s -w -X main.VERSION=v${version}")
'';
ldflags = [ "-s" "-w" "-X main.VERSION=v${version}" ];
doInstallCheck = true;
installCheckPhase = ''