starboard-octant-plugin: buildFlagsArray -> ldflags
This commit is contained in:
parent
ae31e8b199
commit
6042373b60
1 changed files with 3 additions and 3 deletions
|
@ -13,9 +13,9 @@ buildGoModule rec {
|
|||
|
||||
vendorSha256 = "sha256-EM0lPwwWJuLD+aqZWshz1ILaeEtUU4wJ0Puwv1Ikgf4=";
|
||||
|
||||
preBuild = ''
|
||||
buildFlagsArray+=("-ldflags" "-s -w")
|
||||
'';
|
||||
ldflags = [
|
||||
"-s" "-w"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/aquasecurity/starboard-octant-plugin";
|
||||
|
|
Loading…
Reference in a new issue