Skip to content

direnv mode: install.sh and devkit-upgrade.yml still require docker/podman to scaffold or upgrade #1871

Closed

Description

@gerchowl

Found while fixing #1861 (PR #1870). The owner requires that a repo can use devkit strictly direnv-only: no Docker or Podman in CI or in the local workflow.

#1870 makes Scaffold Drift Docker-free in direnv mode by running init-workspace.sh from the pinned flake source. But:

  • install.sh itself runs docker or podman run on the devcontainer image, so nix run github:vig-os/devkit/<ver>#install can't upgrade a direnv-only consumer without a container runtime.
  • devkit-upgrade.yml runs install.sh --docker.

Expected: in direnv mode, scaffold and upgrade run init-workspace.sh from the pinned flake source on the host, the same way #1870's drift path does, with no container. Container modes keep the image path.

Activity

  1. added
    bug
    area:workflow
    on Oct 12, 2026
  2. gerchowl commented on Oct 12, 2026

    @gerchowl
    ContributorAuthor

    Fixed in #1873 (merged into dev). In direnv mode, install.sh scaffolds and upgrades on the host: it runs init-workspace.sh inside the pinned release's own dev shell under env -i, starting from the scratch dir. The version comes from the .vig-os pin, or resolves to the newest X.Y.Z tag on a fresh install. devkit-upgrade.yml drops --docker for direnv repos and passes the job token to nix. The smoke lane installs nix first. Container modes are unchanged. Consumers get a container-free upgrade only once their target release ships this install.sh.

  3. added a commit that references this issue on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:workflowbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions