Skip to content

extra-substituters are not used #62

Answered by ryan4yin
tianze0926 asked this question in Q&A
Discussion options

You must be logged in to vote

Good question! I haven't paid much attention to whether this parameter is valid before.
I spent some time studying this problem. Here is a detailed explanation of the background and reasons for this problem.

nixConfig in flake.nix

According to Flake format - Nix Manual:

nixConfig: a set of nix.conf options to be set when evaluating any part of a flake. In the interests of security, only a small set of set of options is allowed to be set without confirmation so long as accept-flake-config is not enabled in the global configuration:

So options in nixConfig will only take effect in the flake itself, and to to specify additional substituters by nixConfig.substituters or nixConfig.extra-subs…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ryan4yin
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants