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
[BUG] Nix image missing /root/assets/workspace/.venv — consumer post-create.sh aborts on first line #735
area:imageContainer image, Dockerfile, buildbugSomething isn't workingpriority:highShould be done in the current milestonesemver:patchBug fix, backward-compatible
The Nix-built image (ghcr.io/vig-os/devcontainer) sets VIRTUAL_ENV and UV_PROJECT_ENVIRONMENT to /root/assets/workspace/.venv but does not create that venv (the old Debian image did). The 0.3.x consumer post-create.sh template starts with sed -i … /root/assets/workspace/.venv/bin/activate, which fails, and with set -euo pipefail the whole post-create aborts (exit 2) — so git setup, gh auth, pre-commit install, and just sync never run.
Reproduced on 4/4 non-TypeScript consumers tested (devcontainer-smoke-test, exoma-ch/brother-printer, vig-os/scitadel, exo-pet/playground-carlos). TypeScript consumers have a different post-create (no .venv sed) and are unaffected.
Steps to Reproduce
just build → ghcr.io/vig-os/devcontainer:dev.
Run any Python/shell consumer in it and execute .devcontainer/scripts/post-create.sh.
Expected Behavior
The baked /root/assets/workspace/.venv exists (as in the published 0.3.x image), so post-create's sed/.bashrc PATH/just sync steps work; or the image stops advertising VIRTUAL_ENV/UV_PROJECT_ENVIRONMENT to a path it doesn't ship.
Actual Behavior
sed: can't read /root/assets/workspace/.venv/bin/activate: No such file or directory
=== post-create.sh exit: 2 ===
/root/assets/workspace is a store-symlinked template with no .venv. The flake bootstrap layer creates /opt/pre-commit-cache, /workspace, /usr/local/bin, /tmp — but not the .venv.
Environment
Image: ghcr.io/vig-os/devcontainer:dev (built from feature/625-nix-claude-migration @ 8f778f5)
Either bake the pre-built venv into the image (restore parity with the Debian image), or pre-create it in the flake bootstrap layer, or make the consumer post-create.sh template tolerate a missing venv (create-then-activate) and not point VIRTUAL_ENV/UV_PROJECT_ENVIRONMENT at a non-existent path.
area:imageContainer image, Dockerfile, buildbugSomething isn't workingpriority:highShould be done in the current milestonesemver:patchBug fix, backward-compatible
Activity
chore(changelog): merge epic into #735 branch, resolve CHANGELOG conf…
fix(image): bake template .venv into Nix image (#745)
fix(image): arm64-aware FHS loader + renameable baked .venv prompt (#746
docs: consolidate the migration CHANGELOG + add/ship MIGRATION.md (#751)
c-vigo commentedon Jun 30, 2026
Resolved by #745 (c2c8329) on the Nix-migration branch (epic #625, PR #670). Closing as part of post-merge backlog hygiene (#677).
docs(rfc): record uv2nix/pyproject-nix evaluation and decision (#788)
chore: release 0.4.0 (#195)
chore: release 0.4.0 (#813)
fix(init): scope placeholder substitution to the paths devkit ships (#…