From 1a9e4e109bb2c621fbdb929427cc05948dbf2733 Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Wed, 27 Jan 2021 15:50:54 +0000 Subject: [PATCH 1/2] 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 = '' From d8aa0fda58dafe1f5a84f62ffcbe88b006d674cc Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Wed, 27 Jan 2021 15:48:27 +0000 Subject: [PATCH 2/2] starboard-octant-plugin: 0.8.0 -> 0.9.0 --- .../cluster/octant/plugins/starboard-octant-plugin.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 d5ca68693dc..f6fb486bd93 100644 --- a/pkgs/applications/networking/cluster/octant/plugins/starboard-octant-plugin.nix +++ b/pkgs/applications/networking/cluster/octant/plugins/starboard-octant-plugin.nix @@ -2,16 +2,16 @@ buildGoModule rec { pname = "starboard-octant-plugin"; - version = "0.8.0"; + version = "0.9.0"; src = fetchFromGitHub { owner = "aquasecurity"; repo = pname; rev = "v${version}"; - sha256 = "sha256-wMt/I2zpdM7l+YNwHkAA6sVRWUtlGpN+94jqx2Jy4HA="; + sha256 = "sha256-R6hnAqFpebZ9PV3KAX052wjjCtW5D9hKfj7DdS+3Ibg="; }; - vendorSha256 = "sha256-fhIIqirEEdqn/n8bBtLw07fEGfnpC/8SOLbkhnytyME="; + vendorSha256 = "sha256-c5sel3xs4npTENqRQu8d9hUOK1OFQodF3M0ZpUpr1po="; buildFlagsArray = [ "-ldflags=" "-s" "-w" ];