| ▲ | trinix912 12 hours ago | ||||||||||||||||
That's mostly solved with env managers for python/ruby/node/..., takes at most a few minutes to fully set up and learn, and doesn't get constantly broken by macOS updates. Even for things like trying out a new shell you can temporarily move the dotfiles somewhere and restore them back and it still takes less time than converting everything to Nix. | |||||||||||||||||
| ▲ | vegabook 10 hours ago | parent | next [-] | ||||||||||||||||
But now you’re stuck with Python. Nix enables trivially simple dev environments that are completely heterogenous. This gives you a powerful form of freedom because it literally opens up the entire software universe to your dev environment in a confidence inspiring way. Not to mention things like parameterising anything you use reliably and setting up environment variables, shell scripts, database service whatever you want. Also integrates with tools such as UV really well. Yes, the language is terse and difficult but once you know it, it’s liberating, and makes you a better software developer in my opinion because you now have a high-end full workshop rather than a small toolbox. | |||||||||||||||||
| ▲ | yladiz 11 hours ago | parent | prev | next [-] | ||||||||||||||||
This is my feeling too. Nix is a relatively high time investment for a tool that tries to do everything, when you might not need or want everything and using the specific language’s tooling is more than sufficient and quicker. It takes a few minutes to install and do `uv sync`, or `nvm install`, or whatever, on a repository on a new computer, and it just works. Until Nix gets there, and I’m skeptical it will because of the “purist” mindset a lot of people in the community have, it’s hard to justify it. | |||||||||||||||||
| |||||||||||||||||
| ▲ | pjmlp 8 hours ago | parent | prev | next [-] | ||||||||||||||||
Fully spot on, I don't get what is that hard to set a couple of environment variables, and mayby symbolic links, depending on the OS and language being used. A simple UNIX script or PowerShell utility takes care of it. None of the ones I have used during the last decades has ever grown to more than like 20 lines of code, minus comments. | |||||||||||||||||
| ▲ | rgoulter 9 hours ago | parent | prev [-] | ||||||||||||||||
> Even for things like trying out a new shell you can temporarily move the dotfiles somewhere and restore them back... I think the closest mainstream UX for "you can try out this program without having to install it" is running a Docker image. :) I'd say Nix is second best at everything related to packages. | |||||||||||||||||
| |||||||||||||||||