unnix

Reproducible Nix environments without installing Nix or evaluating Nixpkgs

A Rust CLI that resolves packages from an unnix.kdl manifest straight to store paths through Hydra or Devbox instead of evaluating Nixpkgs, pins them in a lockfile, downloads the closures from a binary cache into its own store, and enters a shell with that store bound to /nix/store.

Trade-offs

  • No evaluation: store paths come from Hydra or Devbox, so CI skips downloading and evaluating Nixpkgs, but .override and anything outside the resolver's attributes are out of reach.
  • No builds and no setup hooks. A cache miss fails, and hooks such as pkg-config are emulated rather than run, shellHook included.
  • No daemon: lock files keep concurrent instances from downloading twice, and a reference cache makes sure an aborted run never leaves an entry with missing references.

Q&A2

Its store lives under the user's cache directory, and on Linux unnix env binds it to /nix/store with bubblewrap. A darwin backend is still in progress.

Reviews

Loading reviews

    More in Nix

    See all 7 →
    • trynixBoots any package from 13 years of nixpkgs in a browser tab
    • NixoriumRuns a school computer lab of NixOS PCs from one controller, offline
    • nixarchyOmarchy 4 vendored for NixOS, its menus rewired to Nix instead of pacman
    • PanixStateless deployment orchestrator for Nix flake installables across fleets
    • nix-plist-managerMac System Settings declared in Nix, named after what System Settings shows
    • containixcontainerd shim that runs Nix flakes on Kubernetes without container images

    More in Developer tools

    See all 88 →
    • EpuppBrowser extension that opens a live ClojureScript REPL into any web page
    • ResonanceA local-first API client with no account, collections kept as YAML files
    • PandiaDesktop JSON editor for multi-gigabyte files, with the document held in Rust
    • PandaWardLocal application security assessment that reports what it couldn't decide
    • ScalexScala code navigation for coding agents, from source and without a build
    • polyOne Rust binary that lints and formats about 30 languages

    More in CLI tools

    See all 74 →
    • ZeroboxDeny-by-default process sandbox with per-host secret injection
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • jc-rsjc rewritten as one static binary that turns command output into JSON
    • pistachioDeclarative PostgreSQL schema management with a plan and apply workflow
    • quiverDump, load, copy and stream MySQL, MariaDB and TiDB from one consistent snapshot
    • haxMinimalist terminal coding agent written in C