commit ecd5bb80f6c4165cab68fb1a9e500ac147faa1f2
parent 6cb3314b26c75c58a69c86de10fd6903449ed522
Author: Vincent Demeester <vincent@sbr.pm>
Date: Tue, 2 Oct 2018 10:36:52 +0200
knctl: only knctl binary, and fix overlay
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/overlays/sbr.nix b/overlays/sbr.nix
@@ -21,7 +21,7 @@ self: super:
kubespy = import ../pkgs/kubespy {
inherit (self) stdenv lib buildGoPackage fetchgit;
};
- knctl = import ./knctl {
+ knctl = import ../pkgs/knctl {
inherit (self) stdenv lib buildGoPackage fetchFromGitHub;
};
scripts = import ../pkgs/scripts {
diff --git a/pkgs/knctl/default.nix b/pkgs/knctl/default.nix
@@ -6,6 +6,7 @@ buildGoPackage rec {
rev = "v${version}";
goPackagePath = "github.com/cppforlife/knctl";
+ subPackages = [ "cmd/knctl" ];
src = fetchFromGitHub {
inherit rev;