MCPcopy Index your code
hub / github.com/denful/nix-versions

github.com/denful/nix-versions @v1.0.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.2 ↗ · + Follow
20 symbols 57 edges 4 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

nix-versions - All versions of nixpkgs at your fingerprints.

nix-versions is a CLI tool that can help you find the nixpkgs revision for historical versions of a package.

It does so by integrating the following services available to the nix ecosystem:

  • https://search.nixos.org (via the nix-search-cli elastic-search client). Used to search packages by program name or attribute name wildcards.

  • https://nixhub.io - as default backend for package version resolution.

  • https://lazamar.co.uk/nix-versions/ - search package versions by nixpkgs channel.

  • https://history.nix-packages.con - another community provided versions index.

Any of these backends can be selected as default or combined on a per-package basis.

It also features version constraint filters, allowing you to restrict packages to a known set of compatible/stable versions that work with you.

When used in conjuction with nix shell and direnv, nix-versions, it can also double as a plain-text development shell and tools version manager with automatic environment loading targeting people new to nix, but familiar with tools like npm, rvm, asdf, mise.

Our website provides a flakes generator for version-pinned packages. You can use these generated flakes as inputs on your own flakes, allowing version constrained package updates.

Read more at our website

https://nix-versions.oeiuwq.com

Core symbols most depended-on inside this repo

getParts
called by 5
web/main.go
searchSpecs
called by 3
web/main.go
renderFlake
called by 2
web/main.go
renderDefaultNix
called by 2
web/main.go
writeFileToZip
called by 2
web/main.go
Sri
called by 2
web/main.go
createFlake
called by 1
web/main.go
prefetch
called by 1
web/main.go

Shape

Function 19
Struct 1

Languages

Go100%

Modules by API surface

web/main.go19 symbols
cli/main.go1 symbols

For agents

$ claude mcp add nix-versions \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact