← @bgSponge

Every package is already installed

Summary

F. Zakaria presents omnibin, a FUSE filesystem that provides access to over 50,000 Nixpkgs binaries on the $PATH without requiring local installation or building.

  1. Omnibin eliminates package installation rituals.

    Users avoid adding packages to configuration.nix or running nix-shell by accessing any binary from 2013 to 2026 via a single filesystem mount.

    Nothing is installed. Nothing needs building. 0 bytes on disk until something actually reads a file.

  2. Hydra metadata enables lazy fetching.

    The filesystem uses JSON .ls files found next to narinfo on the Nix cache to index contents and unpack archives only when accessed.

    lazily fetch the NARs from the cache and unpack them on-demand

  3. Massive binary trees penalize exploration.

    Statting the 881,933 binaries in the tree is slow; omnibin mitigates this by listing only bare names that resolve to the newest package versions.

    If your agent tried to ls /omnibin/bin and stat every single entry, it would have a really bad time.

  4. First access incurs a latency penalty.

    The initial run for a package may take 2.7 seconds to fetch and unpack, though subsequent runs are instantaneous once store paths exist.

    The first run took 2.7 seconds to fetch the NARs and unpack them

Read the original ↗Save to your Sponge

Summarized with Sponge. Quotes are the author’s own words.

More from @bg

All readings →