Software purpose built for Nix
A startup test of fifteen Nixpkgs programs found that Jekyll made 8,167 unsuccessful file lookups before printing its version. The analysis argues that software designed for Nix could use dependency locations recorded during the build and avoid repeating those searches each time it starts.

Jekyll made 8,167 unsuccessful file lookups before printing its version in a test of fifteen Nixpkgs programs published December 4, 2026. The analysis makes the case for software purpose-built for Nix. Programs could use dependency locations recorded during the build to avoid repeating searches at startup.
The test ran each program with --version and used strace to count lookups that returned ENOENT, the error for a missing file or directory. The counts show how often a lookup failed when the programs ran that command.
Nixpkgs Adds Startup Searches
Nixpkgs adds 18 directories to Ansible’s PATH, the list of places to look for commands. It also adds 78 package directories to Python’s module search path. Python searches those directories one at a time, even though the build already knows where each module lives.
Nixpkgs uses a wrapper script to set up Ansible’s environment before running the original Python script. The package collection also uses tools that adjust file paths and script launch instructions so programs expecting directories such as /usr/lib and /etc can run from the Nix store.
Once Nix builds a package, its files stay fixed in the store. A change to a dependency triggers rebuilds of the packages that rely on it. That gives software designed for Nix predictable paths to the files it needs.
In the same test, cloc failed 95% of its file lookups. The analysis says each miss on a networked filesystem can require a round trip, adding work before the program can respond.
Python Rechecks Files That Stay Fixed
The aws --version command reread and hashed 869 Python source files to check that its cached compiled files were still current. It made those checks even though the source files were in /nix/store, where they cannot change after the build.
The analysis proposes generating lookup tables at build time and storing them alongside the other inputs in /nix/store. A program could then use those tables to find its dependencies without searching multiple directories. The test measured existing lookup behavior and did not time a rewritten program.
Python already offers a way to skip the cache check. PEP 552 defines an unchecked hash mode that lets Python use cached compiled files without rereading the source. Nixpkgs uses checked mode because SOURCE_DATE_EPOCH makes Python’s compileall tool default to it.
Take the quizWhat Kind of Holiday Spender Are You? Take the Black Friday QuizStart →- 1GTA 6 PC Release Hinted at in Take-Two Copyright Notices

- 2FBI Links North Korea’s TraderTraitor to $6.3B Binance Crypto Theft

- 3MicroStrategy’s $64.40 close puts its 52-week low in focus

- 4Why isn’t Puka Nacua playing for the Rams against the Chiefs? LA WR’s injury status

- 5CoreWeave Leads AI Stocks Lower as OpenAI Trails Sales Target

Markets · FintechHow to Dispute Credit Report Errors: A Guide for US Consumers
World · United StatesWashington King County: How Local Government and Services Work
LifestyleWhy Is It So Hard to Make Friends as an Adult? 5 Possible Reasons
Markets · FintechCredit Freeze: How to Protect Your Credit Reports and Lift It











