Re:Super Colliding Nix Stores: Nix Flakes for Millions of De...
by jljljl on Thursday May 25, 2023 @05:42PM
(#36076628)
Versioning is a bit easier with Flakes because they're generally published in their own Git repository, meaning you can use tags or branch refs to publish/install specific versions of a package. You can usually do something like `github:org/repo/ref#package` to get what you need.
Re:Super Colliding Nix Stores: Nix Flakes for Millions of De...
by peter_l_downs on Thursday May 25, 2023 @05:51PM
(#36076729)
Yes, but how will this work for the `nixpkgs` repository? Still very unclear!
I'm 100% onboard with flakes in general, and use flakes to describe devshells + publish binaries when applicable -- like with the tool I linked in my earlier post.
The version thing is also really annoying, thanks for the helpful link, I hadn't seen that. Not sure how this will work in a Flakes world. Seems weird to me that sometimes packages are important enough to have multiple derivations each installing a different version (like the pythonFull packages) but there is no standard/good/default solution for it.