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": {
|
"mcpServers": {
|
||||||
"nixos-options": {
|
"nixpkgs-options": {
|
||||||
"command": "nix",
|
"command": "nix",
|
||||||
"args": [
|
"args": [
|
||||||
"run",
|
"run",
|
||||||
".",
|
".#nixpkgs-search",
|
||||||
"--",
|
"--",
|
||||||
|
"options",
|
||||||
"serve"
|
"serve"
|
||||||
],
|
],
|
||||||
"env": {
|
"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
|
### Development Workflow
|
||||||
- **Always run `go fmt ./...` before committing Go code**
|
- **Always run `go fmt ./...` before committing Go code**
|
||||||
- **Run Go commands using `nix develop -c`** (e.g., `nix develop -c go test ./...`)
|
- **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`
|
- File paths in responses should use format `path/to/file.go:123`
|
||||||
|
|
||||||
### Linting
|
### Linting
|
||||||
|
|||||||
Reference in New Issue
Block a user