terragrunt: remove unused dependency and compile smaller
Removed makeWrapper as it's been unused since we stopped wrapping up TF Added -s and -w ldflags to minify terragrunt
This commit is contained in:
parent
13a6565c4c
commit
ca1bc75f9f
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildGoModule, fetchFromGitHub, makeWrapper }:
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "terragrunt";
|
pname = "terragrunt";
|
||||||
@ -15,9 +15,12 @@ buildGoModule rec {
|
|||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
buildFlagsArray = [
|
||||||
|
"-ldflags="
|
||||||
buildFlagsArray = [ "-ldflags=" "-X main.VERSION=v${version}" ];
|
"-s"
|
||||||
|
"-w"
|
||||||
|
"-X main.VERSION=v${version}"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A thin wrapper for Terraform that supports locking for Terraform state and enforces best practices";
|
description = "A thin wrapper for Terraform that supports locking for Terraform state and enforces best practices";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user