diff --git a/pkgs/applications/networking/cluster/cni/plugins.nix b/pkgs/applications/networking/cluster/cni/plugins.nix index d457ddd98bfe..34eb6a8ee28d 100644 --- a/pkgs/applications/networking/cluster/cni/plugins.nix +++ b/pkgs/applications/networking/cluster/cni/plugins.nix @@ -2,17 +2,21 @@ buildGoPackage rec { pname = "cni-plugins"; - version = "0.8.5"; + version = "0.8.6"; src = fetchFromGitHub { owner = "containernetworking"; repo = "plugins"; rev = "v${version}"; - sha256 = "17c8pvpn0dpda6ah7irr9hhd8sk7mnm32zv72nc5pxg1xvfpaipi"; + sha256 = "0f1cqxjf26sy1c4aw6y7pyd9lrz0vknby4q5j6xj77a1pab9073m"; }; goPackagePath = "github.com/containernetworking/plugins"; + buildFlagsArray = [ + "-ldflags=-X ${goPackagePath}/pkg/utils/buildversion.BuildVersion=${version}" + ]; + subPackages = [ "plugins/ipam/dhcp" "plugins/ipam/host-local"