nix

Using unstable packages in nix-shell

I use flakes for managing my homeserver that’s running NixOS. The non-flake version of Nix uses channels, and any nix shell created on a system that doesn’t use flakes also seems to inherit package versions from whatever channel the system is using. For my flake-based setup, I’m using the unstable channel to import nixpkgs. However, the nix shell appears to use some really old (stable?) channel of nixpkgs, giving me really old package versions if I need to spin up an ad-hoc shell for something.

Nix flake for tutorial MCP server

I use Nix and Devenv to manage dependencies and build environments for all of my hobby projects. While I got the tutorial server up and running in a terminal relatively quickly, I had some trouble figuring out how to invoke it as a CLI from Claude Desktop’s MCP configuration. During development, I typically run nix develop --no-pure-eval to enter a devShell and then have access to all the packages I’ve declared a dependency on.