this post was submitted on 22 Aug 2024
85 points (95.7% liked)
Programming
17351 readers
300 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Okay now that's cool. Now I'm getting it.
I guess that happens even if you install nix in another OS?
Sort of, but e.g. in case of MacOS you'll have some apps that can't be installed as Nix packages and some things that can't be configured in OS
Also was not mentioned, since every dependency is unique you should have no trouble discerning versions that look the same, but in fact configured different or depending themselves on different versions of things, and introducing breakages that way. If you find that some specific configuration of dependency is causing you trouble, you can switch to a different one even if another package depends on this troublesome version.
with another OS nix is not going to be "in control" so it's probably more limited. I'm not sure how common using nix is outside of nixos.
also I'll point out that many other linux distros I think recommend doing a full system backup even immediately after installation, the "grep history" thing is not very stable as eg. apt installing a package today will default to the newest version, which didn't exist 1 year ago when you last executed that same command.