| ▲ | rgoulter 9 hours ago | |||||||
> 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. | ||||||||
| ▲ | vegabook 9 hours ago | parent [-] | |||||||
until you need to start combining things. Docker is conceptually a VM the encapsulates everything nicely, but it ironically doesn't "compose" nearly as well as nix flakes or shells. With Nix you start out with a base env and can trivially extend it hierarchically and jump up and down the tree super easily, and without having to roll your own microservice architecture each time just to get stuff to work together. | ||||||||
| ||||||||