Skip to content

Goose cannot find gh in Nix path #29

@rebelopsio

Description

@rebelopsio

Environment

  • M1 MacBook Pro
  • MacOS 15.6 (24G84)
  • go version go1.25.0 darwin/arm64
  • Nix package manager: nix (Nix) 2.28.3

Steps to reproduce

  • Follow steps in README.md (clone, make run)
  • The app doesn't launch from Finder
  • The app doesn't launch from the terminal when running open /Applications/Ready\ to\ Review.app/
  • Run go run ./cmd/goose gave an error about not finding gh (see below):
❯ go run ./cmd/goose
2025/08/22 12:18:40 main.go:120: Starting GitHub PR Monitor (version=dev, commit=unknown, date=unknown)
2025/08/22 12:18:40 main.go:121: Configuration: update_interval=1m0s, max_retries=10, max_delay=2m0s
2025/08/22 12:18:40 main.go:150: Initializing GitHub clients...
2025/08/22 12:18:40 main.go:153: Failed to initialize clients: get github token: gh cli not found in trusted locations and GITHUB_TOKEN not set
exit status 1

Ref: #28

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions