Re:Super Colliding Nix Stores: Nix Flakes for Millions of De...
by smasher164 on Thursday May 25, 2023 @04:47PM
(#36076004)
I love Nix as a package manager, and flakes are awesome for setting up environments. I wish it had more affordances for being a proper build system. If only there were a Buck2 and Nix hybrid.
[ Parent
| on HN ]
Re:Super Colliding Nix Stores: Nix Flakes for Millions of De...
by chills on Thursday May 25, 2023 @05:21PM
(#36076396)
> If only there were a Buck2 and Nix hybrid
You'll be interested in https://github.com/thoughtpolice/buck2-nix
Re:Super Colliding Nix Stores: Nix Flakes for Millions of De...
by ghuntley on Thursday May 25, 2023 @05:07PM
(#36076246)
would love it if the compilation closure was more incremental rather than at a derivation level. specifically caching sub modules. many folks working on improving this space.
last week benchmarks from tvnix (a rust rewrite of the nix cli) was published which saw a THIRTEEN second evaluation speed up on a basic derivation evaluation.
https://twitter.com/matthewcroughan/status/16606138356553482...
Re:Super Colliding Nix Stores: Nix Flakes for Millions of De...
by pxc on Thursday May 25, 2023 @06:47PM
(#36077400)
I saw that tweet and thought it was pretty exciting!
How much of Nixpkgs can Tvix build these days?
Re:Super Colliding Nix Stores: Nix Flakes for Millions of De...
by RaitoBezarius on Thursday May 25, 2023 @10:11PM
(#36078922)
Those benchmarks are wrong and misleading. Tvix contributor (but mostly reviewer I would say) here. We still don't have finished the integration with our own store, using the Nix store forces us to be slower than Nix, therefore the claims are bogus alas.
Tvix can *evaluate* a serious (?) chunk of Nixpkgs, but we have strictness bugs in some areas.
Tvix has no builder yet.
Re:Super Colliding Nix Stores: Nix Flakes for Millions of De...
by pxc on Thursday May 25, 2023 @11:12PM
(#36079352)
Well, congrats to y'all on good progress with the evaluator, then! That's definitely still worth celebrating. :)
Re:Super Colliding Nix Stores: Nix Flakes for Millions of De...
by pxc on Thursday May 25, 2023 @06:44PM
(#36077376)
bob.build looks kinda nice as a Nix-based, make-like tool, but IDK how it compares to the real, fancy, big tech monorepo build tools because I've never used them.
Re:Super Colliding Nix Stores: Nix Flakes for Millions of De...
by Ericson2314 on Friday May 26, 2023 @06:49AM
(#36082450)