Skip to content

fix(home): rebuild warn-dirty fix + deps bump + help on wrapper commands#11

Merged
UnbreakableMJ merged 3 commits into
mainfrom
follow-up/rebuild-fix-and-cmd-help
Jun 24, 2026
Merged

fix(home): rebuild warn-dirty fix + deps bump + help on wrapper commands#11
UnbreakableMJ merged 3 commits into
mainfrom
follow-up/rebuild-fix-and-cmd-help

Conversation

@UnbreakableMJ

Copy link
Copy Markdown
Contributor

Lands two commits that were stranded on refactor/tier2 — pushed there but never reached main, because PR #10 was squash-merged before they were made — plus one small new affordance.

Commits

  1. fix(home): rebuild uses --option warn-dirty false (nixos-rebuild-ng)main's rebuild currently passes --no-warn-dirty, which nixos-rebuild-ng's strict argparse rejects, so rebuild fails outright on main. Uses the --option warn-dirty false form it does forward instead. (Your commit, cherry-picked onto current main.)
  2. chore(deps): bump construct + gitway flake inputs — cherry-picked as-is.
  3. feat(home): add help to skills-sync, skills-ship, rebuild — mirrors the now-fixed construct help. skills-sync help / skills-ship help forward to construct skill {sync,ship} --help; rebuild help runs help rebuild. A stray non-help positional is rejected with a hint (keeps fail-fast on typos); no-arg behavior is unchanged.

Verification

  • All three commits cryptographically signed (Verified).
  • Cherry-picks (1 + 2) applied cleanly onto origin/main — no conflicts; Tier-2 content is already in main via squash 2bc5a49.
  • The edited Nushell wrapper region parses clean under nu.
  • Companion construct help fix shipped separately to Construct main (9db6bd9): drops disable_help_subcommand, adds black-box tests; full cargo gate (build / clippy -D warnings / test / fmt) green.

🤖 Generated with Claude Code

UnbreakableMJ and others added 3 commits June 24, 2026 16:07
The newer nixos-rebuild-ng has a strict argparse and rejects nix's
--no-warn-dirty passthrough that the old Perl nixos-rebuild forwarded to
nix build. Use the --option warn-dirty false form it does forward instead.
warn-dirty is also set declaratively (nix.settings.warn-dirty = false), so
this only matters for a rebuild run before that lands in /etc/nix/nix.conf.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Routine input bump picked up by the rebuild flow's nix flake update step
(construct == skills sync).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Mirror `construct help`: each wrapper takes an optional `help` positional. `skills-sync help` / `skills-ship help` forward to `construct skill {sync,ship} --help`; `rebuild help` runs `help rebuild`. Any other stray positional is rejected with a hint (keeps fail-fast on typos); no-arg behavior is unchanged. Region parses clean under `nu`.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@UnbreakableMJ UnbreakableMJ merged commit e7e53a4 into main Jun 24, 2026
1 check passed
@UnbreakableMJ UnbreakableMJ deleted the follow-up/rebuild-fix-and-cmd-help branch June 24, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant