From dfe71081f2ce9fda1e0a6542a56260cd7e732198 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Thu, 3 Aug 2023 11:06:57 +0800 Subject: [PATCH] fix: Adding Custom Cache Mirrors --- docs/nixos-with-flakes/nixos-with-flakes-enabled.md | 2 +- docs/zh/nixos-with-flakes/nixos-with-flakes-enabled.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/nixos-with-flakes/nixos-with-flakes-enabled.md b/docs/nixos-with-flakes/nixos-with-flakes-enabled.md index 5a97de2..6ca7a58 100644 --- a/docs/nixos-with-flakes/nixos-with-flakes-enabled.md +++ b/docs/nixos-with-flakes/nixos-with-flakes-enabled.md @@ -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: ``` ... diff --git a/docs/zh/nixos-with-flakes/nixos-with-flakes-enabled.md b/docs/zh/nixos-with-flakes/nixos-with-flakes-enabled.md index ea6288b..ec14df3 100644 --- a/docs/zh/nixos-with-flakes/nixos-with-flakes-enabled.md +++ b/docs/zh/nixos-with-flakes/nixos-with-flakes-enabled.md @@ -251,7 +251,7 @@ Nix 为了加快包构建速度,提供了 提前缓 } ``` -添加完新 substituters 后,它仍然不会失效,这时直接部署配置,会这个报错: +添加完新 substituters 后,它仍然不会失效,这时直接部署配置,会出现这个 warning: ``` ...