2 ms·
This is a great answer, thank you. I think what hindered my understanding was the claim that Nix was purely functional, so it never made sense why flakes were
by ghoward 4y ago
This is a great answer, thank you.
I think what hindered my understanding was the claim that Nix was purely functional, so it never made sense why flakes were needed. Knowing that Nix is not purely functional, i.e., that channels were still an implicit input, might be the missing piece for me.
- ChadNauseam 4y agoYup. Here's a mental model you may find useful: in Nix, the process executed by the build graph is always purely functional. But when you run `nix-build`, it has to compute the build graph, and that is not necessarily functional. Nix flakes provide a functional way to generate the build graph