News for hackers. Stuff that matters.
Re:My First Impressions of Nix by hamandcheese on Monday June 19, 2023 @11:57AM (#36392556)
That's largely correct! To use more precise language, let's discuss two distinct phases: building and activation.

Nix will always "build" x, y, and z. But x and y might turn into a no-op by being cached in the nix store.

System activation is when all those things are symlinked into place. If x, y, and z are, say, systemd services, then there might be some logic that checks if x and y have changed and if the services are already running and decide what to do -- this is probably the most similar to how Ansible works. But this is also a small part of the big picture. Activation is pretty fast even starting from nothing.

Re:My First Impressions of Nix by mtlynch on Monday June 19, 2023 @02:24PM (#36394761)
Ah, okay. That makes sense. Thanks!

I've updated the post based on your feedback.