summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
author06kellyjac <dev@j-k.io>2021-01-26 15:41:11 +0000
committer06kellyjac <dev@j-k.io>2021-01-26 15:41:11 +0000
commitca1bc75f9f2b2fed26bbfda9f4b625a8d6560f96 (patch)
tree9daacd62056ef9629218094e487ce41d09ac7ec6 /pkgs/applications/networking
parent13a6565c4c5fd34c4dcaf3fc06471a49e100b8ab (diff)
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
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/cluster/terragrunt/default.nix11
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/applications/networking/cluster/terragrunt/default.nix b/pkgs/applications/networking/cluster/terragrunt/default.nix
index 387165150ea3..5dd80034c826 100644
--- a/pkgs/applications/networking/cluster/terragrunt/default.nix
+++ b/pkgs/applications/networking/cluster/terragrunt/default.nix
@@ -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";