Skip to content

fix(workspace): install.sh "Next steps" message is not mode-filtered for direnv #1015

Closed

Description

@c-vigo

Found during 1.1.0-rc1 validation (PR #1014).

install.sh only special-cases bare when printing the post-install "Next steps":

if [ "$MODE" = "bare" ]; then
    echo "  2. Run 'just help' ..."
else
    echo "  2. Open in VS Code - it will detect .devcontainer/ and offer to reopen in container"
fi

direnv therefore falls into the else branch and tells the user to open a
.devcontainer/ that the direnv scaffold never created (and that
--prune-devcontainer may have just removed).

Expected: a direnv deploy points the user at the direnv entrypoint
(direnv allow / nix develop), not at VS Code + .devcontainer/.

Cosmetic (nothing breaks), but the upcoming commit-action pilot runs in
direnv mode and will hit this on first install.

Refs: #988

Activity

  1. added
    bug
    on Jul 13, 2026
  2. c-vigo commented on Jul 13, 2026

    @c-vigo
    ContributorAuthor

    Fixed by #1018 (commit e129112f — fix(workspace): mode-filter the install.sh next-steps message), released in 1.1.0.

    A direnv install now prints the direnv entrypoint (direnv allow / nix develop) instead of pointing at a .devcontainer/ the scaffold never created. Covered by the RED test in 0778aa8d.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions