starboard-octant-plugin: buildFlagsArray -> ldflags

This commit is contained in:
zowoq 2021-08-21 18:23:47 +10:00
parent ae31e8b199
commit 6042373b60

View file

@ -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";