You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[CHORE] Bake /etc/nix/nix.conf enabling nix-command/flakes for on-demand 'nix shell' #739
area:imageContainer image, Dockerfile, buildchoreGeneral tasks (e.g. update dependencies, contact a manufacturer, read a paper)priority:lowNice to have, do when capacity allows
The image bundles Nix (2.34.7) but ships no /etc/nix/nix.conf, so nix-command/flakes are disabled by default. Ad-hoc on-demand tooling (nix shell nixpkgs#cargo, nix run …) — the recommended way to pull a toolchain the minimal image doesn't bake — fails unless the user passes --extra-experimental-features "nix-command flakes". The default registry also resolves nixpkgs to unstable, drifting from the image's pinned nixos-26.05.
Steps to Reproduce
In ghcr.io/vig-os/devcontainer:dev: nix shell nixpkgs#cargo -c cargo --version.
Expected Behavior
nix shell/nix run work out of the box for ad-hoc on-demand tools.
Actual Behavior
error: experimental Nix feature 'nix-command' is disabled; add '--extra-experimental-features nix-command' to enable it
Bake /etc/nix/nix.conf with experimental-features = nix-command flakes (and consider pinning the flake registry nixpkgs to the image's nixos-26.05 to avoid unstable drift for on-demand tools). Enables the "source extra toolchains on-demand" model for the minimal image.
area:imageContainer image, Dockerfile, buildchoreGeneral tasks (e.g. update dependencies, contact a manufacturer, read a paper)priority:lowNice to have, do when capacity allows
Activity
chore(changelog): merge epic into #739 branch
feat(image): bake /etc/nix/nix.conf enabling nix-command and flakes (#…
fix(image): set empty build-users-group in baked nix.conf (#750)
docs: consolidate the migration CHANGELOG + add/ship MIGRATION.md (#751)
c-vigo commentedon Jun 30, 2026
Resolved by #742 (0aa5125) on the Nix-migration branch (epic #625, PR #670). Closing as part of post-merge backlog hygiene (#677).
chore: release 0.4.0 (#195)
chore: release 0.4.0 (#813)