![]() ![]() It doesn’t say why or how to configure that – I assume I can set up my own custom cache? That domain is not magical, I hope? This is of course fine for an introduction, but something that I will need to follow up on for my own understanding. Moving on, we get to “transparent source/binary deployment,” which basically says that prebuilt binaries will be fetched from. I suppose I will find out in the rest of the manual. Either the rest of the manual is going to be quite outdated as well, or the nix interface is still not considered stable enough for real world use. I suspect this is just documentation rot, but Nix 2.0 came out in the beginning of 2018, and I’m writing this in 2021, so if I got the math right that’s not super reassuring. All the examples are of the “old style” commands, like nix-env and nix-shell. ![]() So I’m surprised that the manual, at least in the introduction, doesn’t use it. 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 |