chore: update dev config for nixpkgs-search
- Update .mcp.json to use nixpkgs-search options/packages servers - Update CLAUDE.md example to use nixpkgs-search Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
20
.mcp.json
20
.mcp.json
@@ -1,15 +1,29 @@
|
||||
{
|
||||
"mcpServers": {
|
||||
"nixos-options": {
|
||||
"nixpkgs-options": {
|
||||
"command": "nix",
|
||||
"args": [
|
||||
"run",
|
||||
".",
|
||||
".#nixpkgs-search",
|
||||
"--",
|
||||
"options",
|
||||
"serve"
|
||||
],
|
||||
"env": {
|
||||
"NIXOS_OPTIONS_DATABASE": "sqlite://:memory:"
|
||||
"NIXPKGS_SEARCH_DATABASE": "sqlite://:memory:"
|
||||
}
|
||||
},
|
||||
"nixpkgs-packages": {
|
||||
"command": "nix",
|
||||
"args": [
|
||||
"run",
|
||||
".#nixpkgs-search",
|
||||
"--",
|
||||
"packages",
|
||||
"serve"
|
||||
],
|
||||
"env": {
|
||||
"NIXPKGS_SEARCH_DATABASE": "sqlite://:memory:"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -223,7 +223,7 @@ hm-options --version # Show version
|
||||
### Development Workflow
|
||||
- **Always run `go fmt ./...` before committing Go code**
|
||||
- **Run Go commands using `nix develop -c`** (e.g., `nix develop -c go test ./...`)
|
||||
- **Use `nix run` to run binaries** (e.g., `nix run .#nixos-options -- serve`)
|
||||
- **Use `nix run` to run binaries** (e.g., `nix run .#nixpkgs-search -- options serve`)
|
||||
- File paths in responses should use format `path/to/file.go:123`
|
||||
|
||||
### Linting
|
||||
|
||||
Reference in New Issue
Block a user