Commit e057edafe877

Vincent Demeester <vincent@sbr.pm>
2026-02-19 17:14:27
fix(review-tool): use host jira wrapper
Removed bundled jira-cli-go from review-tool's PATH so it picks up the host's jira wrapper that injects the JIRA_API_TOKEN via passage for authentication.
1 parent abccb04
Changed files (1)
tools
review-tool
tools/review-tool/default.nix
@@ -4,7 +4,6 @@
   makeWrapper,
   gitMinimal,
   gh,
-  jira-cli-go,
 }:
 
 buildGoModule {
@@ -18,13 +17,14 @@ buildGoModule {
 
   subPackages = [ "cmd/review-tool" ];
 
+  # Note: jira is NOT bundled here. The tool expects the host's `jira`
+  # wrapper (which injects JIRA_API_TOKEN via passage) to be in PATH.
   postInstall = ''
     wrapProgram $out/bin/review-tool \
       --prefix PATH : ${
         lib.makeBinPath [
           gitMinimal
           gh
-          jira-cli-go
         ]
       }
   '';