Skip to content

Add --substituter option - #292

Open
bjornfor wants to merge 1 commit into
nix-community:masterfrom
bjornfor:add-substituter-option
Open

Add --substituter option#292
bjornfor wants to merge 1 commit into
nix-community:masterfrom
bjornfor:add-substituter-option

Conversation

@bjornfor

Copy link
Copy Markdown

This allows nix-index to e.g. work offline with custom substituter.

Fixes #125.

@bjornfor
bjornfor marked this pull request as ready for review December 24, 2025 14:13
@bjornfor
bjornfor force-pushed the add-substituter-option branch 2 times, most recently from 81c3925 to 5fa6300 Compare December 24, 2025 14:23
This allows nix-index to e.g. work offline with custom substituter.

Fixes nix-community#125.
@bjornfor
bjornfor force-pushed the add-substituter-option branch from 5fa6300 to 0147859 Compare December 24, 2025 14:26
@bjornfor

bjornfor commented Dec 24, 2025

Copy link
Copy Markdown
Author

I first implemented parsing of /etc/nix/nix.conf, but backed out because I'm only capable of using the first (or last) substituter found there, and not all of them (which is ideal). So I figure making the single substituter explicitly settable by the user is the best way for now.

@bjornfor

Copy link
Copy Markdown
Author

Pinging maintainers: @bennofs @figsoda @RaitoBezarius.

@bjornfor

bjornfor commented Mar 1, 2026

Copy link
Copy Markdown
Author

Ping?

1 similar comment
@bjornfor

bjornfor commented Apr 5, 2026

Copy link
Copy Markdown
Author

Ping?

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.

nix-index: support custom binary cache address

2 participants