From 1d7ef47abbae4a0c7100bfbf38f8a50c41334be3 Mon Sep 17 00:00:00 2001 From: Toma Hinata <85547207+whtsht@users.noreply.github.com> Date: Wed, 30 Oct 2024 09:44:51 +0900 Subject: [PATCH] use subPackages Co-authored-by: Aleksana --- pkgs/by-name/ec/ecsk/package.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/by-name/ec/ecsk/package.nix b/pkgs/by-name/ec/ecsk/package.nix index 311dfcca862a..c7993ba2bbdb 100644 --- a/pkgs/by-name/ec/ecsk/package.nix +++ b/pkgs/by-name/ec/ecsk/package.nix @@ -18,9 +18,7 @@ buildGoModule rec { vendorHash = "sha256-Eyqpc7GyG/7u/I4tStADQikxcbIatjeAJN9wUDgzdFY="; - buildPhase = '' - go build -o $out/bin/ecsk ./cmd/ecsk - ''; + subPackages = [ "cmd/esck" ]; meta = with lib; { description = "Interactively call Amazon ECS APIs, copy files between ECS and local, and view logs";