News for hackers. Stuff that matters.
Re:Super Colliding Nix Stores: Nix Flakes for Millions of De... by peter_l_downs on Thursday May 25, 2023 @05:16PM (#36076334)
I'll have to check out devbox, thanks for the link. I don't understand why Nix doesn't have some way for derivations to claim that they install certain artifacts, which would make searching so much easier.

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.

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.