From 1a9e4e109bb2c621fbdb929427cc05948dbf2733 Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Wed, 27 Jan 2021 15:50:54 +0000 Subject: [PATCH] starboard-octant-plugin: remove unused dependency and compile smaller Added -s and -w ldflags to minify starboard-octant-plugin --- .../cluster/octant/plugins/starboard-octant-plugin.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/networking/cluster/octant/plugins/starboard-octant-plugin.nix b/pkgs/applications/networking/cluster/octant/plugins/starboard-octant-plugin.nix index 8e5942a033f..d5ca68693dc 100644 --- a/pkgs/applications/networking/cluster/octant/plugins/starboard-octant-plugin.nix +++ b/pkgs/applications/networking/cluster/octant/plugins/starboard-octant-plugin.nix @@ -13,6 +13,8 @@ buildGoModule rec { vendorSha256 = "sha256-fhIIqirEEdqn/n8bBtLw07fEGfnpC/8SOLbkhnytyME="; + buildFlagsArray = [ "-ldflags=" "-s" "-w" ]; + meta = with lib; { description = "Octant plugin for viewing Starboard security information"; longDescription = ''