:hammer_and_wrench: :heart: Want to know NixOS & Flakes in detail? Looking for a beginner-friendly tutorial? Then you've come to the right place! 想要学习使用 NixOS 与 Flakes 吗?在寻找一份新手友好的教程?那你可来对地方了!
The meaning is perfectly clear, but, to be precise, Nix is lazy evaluated, so the various output functions are not executed, at least not until the outputs are actually used (and only for those that are used).
I know it is a bit pedantic, but whenever I study something new, I really appreciated simple and straightforward material (and your book is a great example), and even more when it's not sacrificing accuracy at all (because, otherwise, I will pay later the price of taking back something I considered to have learned before).
First of all, thanks for your great work! I'm reviewing many of the things that I learned here and there, finally in a consistent document.
Just one quick suggestion, about the following sentence: https://github.com/ryan4yin/nixos-and-flakes-book/blob/675409603a98cb915eb7482be62c08559b87a38a/docs/nixos-with-flakes/nixos-with-flakes-enabled.md?plain=1#L188
The meaning is perfectly clear, but, to be precise, Nix is lazy evaluated, so the various output functions are not executed, at least not until the outputs are actually used (and only for those that are used).
I know it is a bit pedantic, but whenever I study something new, I really appreciated simple and straightforward material (and your book is a great example), and even more when it's not sacrificing accuracy at all (because, otherwise, I will pay later the price of taking back something I considered to have learned before).