From 96006098ef13da65f7f47ac44ed774bc5b0854e5 Mon Sep 17 00:00:00 2001 From: 06kellyjac Date: Tue, 13 Oct 2020 15:24:22 +0100 Subject: [PATCH] trivy: only build cmd/trivy Was also building misc/eol which is unneeded. --- pkgs/tools/admin/trivy/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/admin/trivy/default.nix b/pkgs/tools/admin/trivy/default.nix index 80920c56bbec..7cef5eaf60c5 100644 --- a/pkgs/tools/admin/trivy/default.nix +++ b/pkgs/tools/admin/trivy/default.nix @@ -13,6 +13,8 @@ buildGoModule rec { vendorSha256 = "1jmmx83c0qbqyppx0w8d9djz2j2i7dgibq9lb3vhdz78wc40zywy"; + subPackages = [ "cmd/trivy" ]; + buildFlagsArray = [ "-ldflags=" "-s"