feature/nixpkgs-search #5
Reference in New Issue
Block a user
Delete Branch "feature/nixpkgs-search"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This PR introduces
nixpkgs-search, a new combined MCP server that provides both NixOS options search and Nix package search functionality from a single binary. This replacesnixos-optionsas the primary/recommended server.New Features
Nix Package Search
nixpkgs-search packages serveMCP server for searching nixpkgs packagessearch_packagestool - full-text search across package names and descriptionsget_packagetool - retrieve full package metadata (version, license, maintainers, etc.)broken,unfree, orinsecurestatusCombined Indexing
nixpkgs-search index <revision>indexes both options and packages in one command--no-packages/--no-optionsflags for partial indexingpackagestableNixOS Module
nixpkgs-search-mcpNixOS module for deploymentoptions.enableandpackages.enableflags (both default to true)indexFlagsoption for customizing indexing behaviorChanges
ServerModeconcept supporting options/packages tool setsnixpkgs-searchis now the default package and moduleBreaking Changes
None -
nixos-optionsandhm-optionscontinue to work as before. They are now marked as legacy in documentation.Test Plan
go test ./... -short)golangci-lint run ./...)govulncheck ./...)nix flake checkpasses