with-inputs
What it does
Section titled “What it does”with-inputs bridges the gap between flake and non-flake Nix. It provides flake-compatible input resolution without requiring flake.nix:
let sources = import ./npins; with-inputs = import ./with-inputs.nix; outputs = inputs: { };inwith-inputs sources { } outputsIt is not an inputs lock mechanism or fetcher — those already exist (npins, unflake, nixlock, nixtamal). with-inputs handles resolution: follows, overrides, and inputs.self.
Key features
Section titled “Key features”- Full flake-compatible
followsand nestedfollows - Per-sub-input overrides and local checkout support
inputs.selfavailable just like in flakes- Dependency introspection
- Works with npins, unflake, or any source-fetching mechanism
- Compatible with flake-file for input management
Role in the ecosystem
Section titled “Role in the ecosystem”with-inputs completes the Dendritic ecosystem’s “no flakes required” story. Combined with flake-file (which can populate npins) and import-tree, you get a fully Dendritic setup running on stable Nix without any experimental features.
Source Code Support this project