tfsec: migrate to ldflags
This commit is contained in:
parent
a61ffbaae6
commit
19c2dee0b8
1 changed files with 6 additions and 2 deletions
|
@ -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…
Reference in a new issue