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 {
|
||||
pname = "terragrunt";
|
||||
@ -15,9 +15,12 @@ buildGoModule rec {
|
||||
|
||||
doCheck = false;
|
||||
|
||||
buildInputs = [ makeWrapper ];
|
||||
|
||||
buildFlagsArray = [ "-ldflags=" "-X main.VERSION=v${version}" ];
|
||||
buildFlagsArray = [
|
||||
"-ldflags="
|
||||
"-s"
|
||||
"-w"
|
||||
"-X main.VERSION=v${version}"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
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