diff --git a/pkgs/applications/networking/cluster/terragrunt/default.nix b/pkgs/applications/networking/cluster/terragrunt/default.nix index e78fa38f9093..dee7bc7fe273 100644 --- a/pkgs/applications/networking/cluster/terragrunt/default.nix +++ b/pkgs/applications/networking/cluster/terragrunt/default.nix @@ -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 = ''