Skip to content

refactor(image): inline user PATH setup into fleet wrapper script#1040

Open
anna (anna328p) wants to merge 1 commit into
indexable-inc:mainfrom
anna328p:codex/inline-fleet-path-setup
Open

refactor(image): inline user PATH setup into fleet wrapper script#1040
anna (anna328p) wants to merge 1 commit into
indexable-inc:mainfrom
anna328p:codex/inline-fleet-path-setup

Conversation

@anna328p

@anna328p anna (anna328p) commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Inline the userLocalBinPath helper into the fleet wrapper's Nushell body and move its comment next to the code it describes. The helper was only used once, and the indirection made the generated script harder to read at the definition site. No behavior change.

🤖 Generated with Claude Code

Note

Inline PATH setup into fleet wrapper script in lib/image/fleet.nix

Removes the userLocalBinPath let-binding and inlines the Nushell block that conditionally prepends $HOME/.local/bin to PATH directly into mkFleetCmd. This is a pure refactor with no functional change.

Macroscope summarized 5561cb2.

Copilot AI review requested due to automatic review settings June 10, 2026 18:48

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Refactors lib/image/fleet.nix for style clarity and keeps ix-fleet PATH setup colocated with the command wrapper.

Changes:

  • Simplified attribute set inherit formatting (inherit name;).
  • Inlined the Nushell $env.PATH augmentation logic directly into mkFleetCmd’s wrapped main.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

2 participants