From c010b091089819db407bb55dd79312460db7c399 Mon Sep 17 00:00:00 2001 From: "Wael M. Nasreddine" Date: Tue, 9 Feb 2021 11:20:09 -0800 Subject: [PATCH] aws-iam-authenticator: set subPackages to ensure only the command is built --- pkgs/tools/security/aws-iam-authenticator/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/security/aws-iam-authenticator/default.nix b/pkgs/tools/security/aws-iam-authenticator/default.nix index a411db8ca07e..f0eda76821db 100644 --- a/pkgs/tools/security/aws-iam-authenticator/default.nix +++ b/pkgs/tools/security/aws-iam-authenticator/default.nix @@ -15,6 +15,8 @@ buildGoModule rec { buildFlagsArray = [ "-ldflags=-s -w -X main.version=v${version}" ]; + subPackages = [ "cmd/aws-iam-authenticator" ]; + meta = with lib; { homepage = "https://github.com/kubernetes-sigs/aws-iam-authenticator"; description = "AWS IAM credentials for Kubernetes authentication";