I don't understand why most examples of nix flakes use unversioned URLs as inputs.
Conversation
This is a general trend in Nix examples and documentation. I suspect it is because actually pinning things in Nix looks embarrassingly ugly and verbose (at least historically, no idea about flakes).
1
4
Wish it was easier to learn how to version of stuff in nix… saying this as a nix beginner who is very confused and overwhelmed most of the time. 😔
I see a lot of files with pinned stuff and magic configs and things that seem to be generated by tools, but it's hard to figure out what process people went through to arrive at this stuff! Or whether they use tools to keep the configs up to date or not… 😬
1
I’ve been a happy niv user for a long time now. It puts versions in a json file you can easily read, edit, and copy between projects to increase sharing if so desired.
1
Show replies


