One of the reasons I was excited to return to Nix was the prospect of a more user-friendly command-line interface – the nix executable. I then notice that everything in the manual seems to use the “old” style of commands. But how does it know what they were before? I suspect the “Nix database” keeps track of this, but I will have to wait to see if I am right. Presumably rolling back packages means changing the symlinks back. I remember from the glossary that the user environment is a bunch of symlinks to executables. What exactly does it mean to roll back a package? The first I have is about rollbacks: $ nix-env -upgrade some-packages There’s very little actual information about how Nix works, but it does prime the mind with a few questions. This is mostly a feature tour – sort of explaining what Nix is and why you should use it. But I will any time I want to highlight something or I have a question or I don’t understand something. I won’t quote it in its entirety like I did in the glossary.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |