E-Ink News Daily

Back to list

Making devenv start fast, and the whole nixpkgs with it - devenv

The article details how devenv addresses the long-standing performance bottleneck in Nixpkgs caused by the dynamic loader searching scattered shared libraries in the Nix store. By optimizing this startup overhead, devenv aims to reduce hook execution times from tens of milliseconds to single digits, significantly improving shell prompt responsiveness.

Background

Nixpkgs is a large collection of software packages for the Nix package manager, known for its reproducibility but often criticized for slow startup times due to its unique store layout. This issue affects many tools that rely on Nix packages, making fast iteration in development environments challenging.

Source
Lobsters
Published
Jun 27, 2026 at 02:27 AM
Score
7.0 / 10