Commit a27fb7f665f4

Vincent Demeester <vincent@sbr.pm>
2018-09-25 16:27:10
go-containerregistry: only complie crane, gcrane and ko
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 6f1cdd1
Changed files (1)
pkgs
go-containerregistry
pkgs/go-containerregistry/default.nix
@@ -14,8 +14,10 @@ buildGoPackage rec {
   };
 
   goDeps = ./deps.nix;
+  subPackages = [
+    "cmd/crane" "cmd/gcrane" "cmd/ko"
+  ];
 
-  # TODO: add metadata https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes
   meta = {
     description = "Go library and CLIs for working with container registries";
     homepage = https://github.com/google/go-containerregistry;