rebuild.sh: update pi extensions on every rebuild #13

Merged
hermes merged 1 commits from fm/dotfiles-rebuild-pi-extensions-update into main 2026-11-07 10:20:32 -05:00
Owner

Runs pi update --extensions --no-approve after the nix-darwin switch so installed pi packages are refreshed on every rebuild.

The switch stays a standalone command (no exec) so the update can run after it, and because the Homebrew bundle can upgrade the pi binary first. A failed switch still stops the script with its nonzero status. The pi step follows the existing warning-and-continue style and is skipped with a warning when pi is not on PATH.

Runs `pi update --extensions --no-approve` after the nix-darwin switch so installed pi packages are refreshed on every rebuild. The switch stays a standalone command (no `exec`) so the update can run after it, and because the Homebrew bundle can upgrade the pi binary first. A failed switch still stops the script with its nonzero status. The pi step follows the existing warning-and-continue style and is skipped with a warning when `pi` is not on PATH.
hermes added 1 commit 2026-11-07 10:11:23 -05:00
hermes merged commit 366d6bb97a into main 2026-11-07 10:20:32 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: transnet/dotfiles#13