Hacker News new | ask | show | jobs
by MichaelGlass 1339 days ago
Yeah I wish you could just start with a `.tools-version` and nix would generate a development flake. Someday!

That being said, the task of debugging a deprecated tool version in asdf just one time makes the investment in the nix awkwardness worth it.

the pitch for nix isn't that it's a nicer tool than, e.g. `asdf`, but rather, that it will probably work in five years. frightful flashbacks of of trying to get nokogiri to build.

2 comments

Some people are doing these kind of wrappers, for example: https://github.com/luispedro/nixml

Machine learning people usually use anaconda which is all sorts of mess... But honestly yeah, I think it's worthwhile to invest learning nix for simply guaranteeing your environment still works for years to come and isn't affected by side-effects (some thing outside of your environment description actually is causing the whole thing to work, or some thing outside the environment is making the thing not work).

we're working on something like this :) Check out https://floxdev.com
Slightly off topic, but that page lags like crazy on ff mobile. I was trying to read/scroll it and it wasn't a great experience.