add-to-config, about: fix typos #10
|
@ -58,7 +58,7 @@ provide a collection of necessary improvements over CppNix:
|
|||
- **A language with room to grow.**
|
||||
Unlike upstream Nix, Lix intends to be an evolving language -- a robust language versioning
|
||||
system will allow the language to grow and evolve without sacrificing backwards-compatibility or correctness.
|
||||
And room to grow means room for **usability and ergonomics improvements** -- both in the langauge and in
|
||||
And room to grow means room for **usability and ergonomics improvements** -- both in the language and in
|
||||
tooling.
|
||||
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ Add the following to any NixOS module in your configuration (e.g. `configuration
|
|||
|
||||
```nix
|
||||
{
|
||||
nix.settings.extra-substituters = [
|
||||
raito marked this conversation as resolved
Outdated
|
||||
nix.settings.substituters = [
|
||||
"https://cache.lix.systems"
|
||||
];
|
||||
|
||||
|
@ -152,7 +152,7 @@ Add the following to any NixOS module in your configuration (e.g. `configuration
|
|||
|
||||
```nix
|
||||
{
|
||||
nix.settings.extra-substituters = [
|
||||
nix.settings.substituters = [
|
||||
"https://cache.lix.systems"
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue
I was confused: https://nixos.org/manual/nix/stable/command-ref/conf-file#file-format shows that both
extra-substituters
andsubstituters
work,extra-...
means "append to list instead of replacing"The NixOS module for Nix configuration only defines the non-extra variant, and the normal list merge semantics end up behaving like extra-substituters (with the addition that the nixos module automatically adds cache.nixos.org to the list as well).
So, I think my change does the right thing in the context of the nixos module, by using nixlang's list combination logic rather than deferring to nix.conf load time... But I'm also happy to drop this commit out of the PR if you prefer.
Seems good to me.