extra-substituters are not used #62
-
I have been using NixOS with flakes for a few months, thanks to this amazing book. But recently I noticed that the cachix substituters I put in But if I move the substituters to |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Good question! I haven't paid much attention to whether this parameter is valid before.
|
Beta Was this translation helpful? Give feedback.
-
Some new content has been added to this: 8d3ec99 |
Beta Was this translation helpful? Give feedback.
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.nixAccording to Flake format - Nix Manual:
So options in
nixConfig
will only take effect in the flake itself, and to to specify additional substituters bynixConfig.substituters
ornixConfig.extra-subs…