Get the latest tech news

Changelog: Lazy trees (faster Nix builds)


This long-awaited feature makes Nix and flakes dramatically more efficient in a wide range of scenarios

This provides a much more parsimonious mode of operation that should quietly make just about everything in Nix better, from standard package builds to development environments to NixOS deployment and beyond. This specific number isn’t generalizable across all situations, of course, but it does illustrate just how much more efficient Nix can become in a standard scenario when using lazy trees. As an example, check out this CI run, which evaluates the stdenv attribute of Nixpkgs on GitHub Actions’ ubuntu-latest runner.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of nix

nix

Photo of Changelog

Changelog

Photo of Lazy trees

Lazy trees

Related news:

News photo

I think it's time to give Nix a chance

News photo

Demonstrably Secure Software Supply Chains with Nix

News photo

RNG and Cosine in Nix