Skip to content

Commit

Permalink
tfsec: add ldflags
Browse files Browse the repository at this point in the history
  • Loading branch information
marsam committed Jul 8, 2020
1 parent 4b0ab3f commit aa5ee82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/tools/analysis/tfsec/default.nix
Expand Up @@ -13,6 +13,8 @@ buildGoPackage rec {

goPackagePath = "github.com/liamg/tfsec";

buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/version.Version=${version}" ];

meta = with lib; {
homepage = "https://github.com/liamg/tfsec";
description = "Static analysis powered security scanner for your terraform code";
Expand Down

0 comments on commit aa5ee82

Please sign in to comment.