Re:Ditch your version manager
by ducktective on Monday September 20, 2021 @01:09PM
(#28596091)
Thanks. What if we want `ruby 2.3.1` not in any nixpkgs channel?
Then you'd have to learn to read Nix expressions. The original expression that builds all ruby versions is here: https://github.com/NixOS/nixpkgs/blob/6120ac5cd201f6cb593d1b... Here's an example that shows how to build a customized version for NodeJS https://www.breakds.org/post/nix-shell-for-nodejs
We had this discussion on twitter, so we probably shouldn't repeat it here :)
But more-or-less this is a takeaway: https://news.ycombinator.com/item?id=28602561
I'm not on the nix train but this affects rvm too if a particular version isn't available.
I wish people stopped coming up with hypotheticals and focused on reality: https://news.ycombinator.com/item?id=28603631
I used this tool to find the specific nixpkgs version https://lazamar.co.uk/nix-versions/?channel=nixpkgs-unstable...