This commit is contained in:
2025-04-20 15:45:39 +08:00
parent 31e39ec367
commit 68575d1e21

View File

@@ -52,6 +52,8 @@
auto-optimise-store = true;
substituters = [
"https://mirrors.ustc.edu.cn/nix-channels/store"
"https://mirror.sjtu.edu.cn/nix-channels/store"
"https://mirrors.tuna.tsinghua.edu.cn/nix-channels/store"
"https://nixos-cn.cachix.org"
"https://nix-community.cachix.org"
"https://cache.nixos.org/"
@@ -60,6 +62,9 @@
"nixos-cn.cachix.org-1:L0jEaL6w7kwQOPlLoCR3ADx+E3Q8SEFEcB9Jaibl0Xg="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
# 添加以下配置以允许失败时从源码构建
fallback = true;
keep-going = true;
};
gc = {
automatic = true;