Skip to content

feat(searcher): switch default search host to www.nixsearch.com - #2985

Merged
mikeland73 merged 2 commits into
mainfrom
mikeland73/switch-to-nixsearch
Sep 25, 2026
Merged

mikeland73 merged 2 commits into
mainfrom
mikeland73/switch-to-nixsearch

Conversation

@mikeland73

Copy link
Copy Markdown
Collaborator

Summary

Switches the default package search/resolve host from search.devbox.sh to www.nixsearch.com, which serves the same /v1/search, /v1/resolve and /v2/resolve API; DEVBOX_SEARCH_HOST still overrides it. Pinned versions resolve to identical commits and store paths, @latest resolves against a newer nixpkgs index, and search ordering differs slightly (usually ranking the primary package first). nixsearch has a per-IP rate limit.

How was it tested?

  • Compared decoded responses from both hosts across 18 package/version pairs and 7 search queries (the only schema difference is an unused nar field; 404 handling matches).
  • Built devbox and ran search, init, add hello@latest go@1.21 jq ripgrep@13.0.0, run, and update end to end.
  • go test ./internal/searcher/... ./pkg/autodetect/... passes.

Community Contribution License

All community contributions in this pull request are licensed to the project
maintainers under the terms of the
Apache 2 License.

By creating this pull request, I represent that I have the right to license the
contributions to the project maintainers under the Apache 2 License as stated in
the
Community Contribution License.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@claude

claude Bot commented Sep 25, 2026

Copy link
Copy Markdown

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@mikeland73
mikeland73 merged commit 183ad58 into main Sep 25, 2026
27 checks passed
@mikeland73
mikeland73 deleted the mikeland73/switch-to-nixsearch branch September 25, 2026 17:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant