Skip to content

Add --substituter option#292

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

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

Conversation

@bjornfor
Copy link

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
Copy link
Author

bjornfor commented Dec 24, 2025

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
Author

Pinging maintainers: @bennofs @figsoda @RaitoBezarius.

@bjornfor
Copy link
Author

bjornfor commented Mar 1, 2026

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

1 participant