Commit 7c1f76598a6e

Vincent Demeester <vincent@sbr.pm>
2025-12-05 10:04:37
chore(pkgs): remove shell completion from manifest-tool
- Simplify package build by removing completion generation - Reduce build dependencies (no longer need installShellFiles) Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 6b164ee
Changed files (1)
pkgs
manifest-tool
pkgs/manifest-tool/default.nix
@@ -2,7 +2,6 @@
   lib,
   buildGoModule,
   fetchFromGitHub,
-  installShellFiles,
 }:
 
 buildGoModule rec {
@@ -22,16 +21,6 @@ buildGoModule rec {
   };
   vendorHash = null;
 
-  nativeBuildInputs = [ installShellFiles ];
-
-  postInstall = ''
-    # urfave/cli v2 shell completion support
-    installShellCompletion --cmd manifest-tool \
-      --bash <($out/bin/manifest-tool completion bash) \
-      --fish <($out/bin/manifest-tool completion fish) \
-      --zsh <($out/bin/manifest-tool completion zsh)
-  '';
-
   meta = {
     description = "Tool for inspecting and creating multi-platform container image manifests";
     homepage = "https://github.com/estesp/manifest-tool";