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
Downstream repos consume the toolchain via a flake input, so "update the dev environment"
means bumping that input — it never overwrites user files. This mirrors the existing justfile.base → justfile.project → justfile.local layering: a managed upstream + a
user-owned, never-overwritten local layer. Only a minimal flake ships here; richer
language shells are future work.
Scope
In:
Add a minimal downstream flake.nix scaffold:
inputs.vigos.url = "github:vig-os/devcontainer",
nixpkgs.follows = "vigos/nixpkgs",
a placeholderextraPackages = pkgs: [ /* add project tools here */ ]; with inline
instructions.
Add .envrc (use flake).
Mark both as scaffold-once / never-overwrite in scripts/manifest.toml (same class as docker-compose.project.yaml / justfile.local) so sync_manifest.py never clobbers user
edits on a dev-env update.
Document & scaffold nix2container as the SSoT-derived builder for production/runtime
images in other packages (separate from the devcontainer image).
Out:
Modular language shells (C++ / Geant4 / Data-Analysis) — future work. Document that the
upstream flake can later expose devShells.{cpp,geant4,dataAnalysis} that users opt into,
without changing this scaffold.
Done via PR #662 (landed on dev through the #625 epic PR #670). Ships assets/workspace/flake.nix + .envrc (toolchain as a flake input, marked never-overwrite in init-workspace.sh PRESERVE_FILES), the nix2container production-builder pattern (docs/NIX2CONTAINER.md + buildable examples/nix2container-production/), and a tests/test_downstream_flake.py CI gate.
Activity
feat(nix): scaffold a downstream flake stub + nix2container pattern
feat(nix): downstream flake stub (non-overwriting) + nix2container pa…
feat(scripts): install/init delivery-mode picker — devcontainer|diren…
build(nix): stage the publish-cutover + advance nixpkgs to 26.05 (#639)…
fix(scripts): Nix image scaffolds real writable files, not store syml…
test(workspace): gate the downstream flake stub in CI
c-vigo commentedon Jul 2, 2026
Done via PR #662 (landed on
devthrough the #625 epic PR #670). Shipsassets/workspace/flake.nix+.envrc(toolchain as a flake input, marked never-overwrite ininit-workspace.shPRESERVE_FILES), thenix2containerproduction-builder pattern (docs/NIX2CONTAINER.md+ buildableexamples/nix2container-production/), and atests/test_downstream_flake.pyCI gate.chore: release 0.4.0 (#195)
chore: release 0.4.0 (#813)
fix(workspace): never migrate scaffold-committed or template gitignor…
chore: release 1.3.1 (#270)
chore: release 1.3.1 (#1164)