mirror of
https://github.com/ryan4yin/nixos-and-flakes-book
synced 2024-11-10 14:54:13 +00:00
fix: Adding Custom Cache Mirrors
This commit is contained in:
parent
cc056cf262
commit
dfe71081f2
2 changed files with 2 additions and 2 deletions
|
@ -267,7 +267,7 @@ To customize the cache source, we must add the related configuration in `flake.n
|
|||
}
|
||||
```
|
||||
|
||||
After adding the new substituters, it still won't take effect. In this case, when directly deploying the configuration, you'll encounter the following error:
|
||||
After adding the new substituters, it still won't take effect. In this case, when directly deploying the configuration, you'll encounter the following warnings:
|
||||
|
||||
```
|
||||
...
|
||||
|
|
|
@ -251,7 +251,7 @@ Nix 为了加快包构建速度,提供了 <https://cache.nixos.org> 提前缓
|
|||
}
|
||||
```
|
||||
|
||||
添加完新 substituters 后,它仍然不会失效,这时直接部署配置,会这个报错:
|
||||
添加完新 substituters 后,它仍然不会失效,这时直接部署配置,会出现这个 warning:
|
||||
|
||||
```
|
||||
...
|
||||
|
|
Loading…
Reference in a new issue