tfsec: migrate to ldflags

wip/nixpkgs-raku
Fabian Affolter 3 years ago
parent a61ffbaae6
commit 19c2dee0b8
  1. 8
      pkgs/development/tools/analysis/tfsec/default.nix

@ -13,12 +13,16 @@ buildGoPackage rec {
goPackagePath = "github.com/tfsec/tfsec";
buildFlagsArray = [ "-ldflags=-s -w -X ${goPackagePath}/version.Version=${version}" ];
ldflags = [
"-w"
"-s"
"-X ${goPackagePath}/version.Version=${version}"
];
meta = with lib; {
homepage = "https://github.com/tfsec/tfsec";
description = "Static analysis powered security scanner for your terraform code";
license = licenses.mit;
maintainers = [ maintainers.marsam ];
maintainers = with maintainers; [ marsam ];
};
}

Loading…
Cancel
Save