3 ms·
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 the
by smasher164 3y ago
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.
- ghuntley 3y agowould 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/1660613835655348228?s=46 https://twitter.com/matthewcroughan/status/16606138356553482...
- pxc 3y agoI saw that tweet and thought it was pretty exciting! How much of Nixpkgs can Tvix build these days?
- RaitoBezarius 3y agoThose 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.
- pxc 3y agoWell, congrats to y'all on good progress with the evaluator, then! That's definitely still worth celebrating. :)
- chills 3y ago> If only there were a Buck2 and Nix hybrid You'll be interested in https://github.com/thoughtpolice/buck2-nix https://github.com/thoughtpolice/buck2-nix
- pxc 3y agobob.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. https://bob.build/ https://bob.build/
- Ericson2314 3y agoI got u https://github.com/NixOS/nix/issues/6316 https://github.com/NixOS/nix/issues/6316