Skip to content

Add --option NAME VALUE: generic Nix configuration passthrough - #683

Open
ShamrockLee wants to merge 1 commit into
Mic92:mainfrom
ShamrockLee:feature/nix-options
Open

Add --option NAME VALUE: generic Nix configuration passthrough#683
ShamrockLee wants to merge 1 commit into
Mic92:mainfrom
ShamrockLee:feature/nix-options

Conversation

@ShamrockLee

@ShamrockLee ShamrockLee commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Mirror the --option flag of Nix commands, providing a cleaner way to specify remote builders.

Assisted-by: claude-code: claude-opus-4.8, claude-sonnet-4.6

@ShamrockLee
ShamrockLee marked this pull request as draft August 20, 2026 13:49
@ShamrockLee
ShamrockLee marked this pull request as ready for review August 20, 2026 14:27
Mirrors nix's own --option flag, repeatable.
Threaded into every nix/nix-env invocation via BuildConfig.options
and ShellConfig.options.

No denylist: every nix.conf key is passable, including store
(nix --option store <url> behaves identically to nix --store <url>,
verified empirically).
eval-store has no such generic equivalent, so it stays a dedicated
flag; --store/--eval-store are unaffected and unchanged.

Assisted-by: claude-code: claude-opus-4.8, claude-sonnet-4.6
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