Update sources for Nix

This commit is contained in:
Aoran Zeng 2025-07-13 21:12:16 +08:00
parent d2d7374786
commit 00e0f28d5c
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

View File

@ -4,20 +4,24 @@
* File Authors : Aoran Zeng <ccmywish@qq.com> * File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : Nil Null <nil@null.org> * Contributors : Nil Null <nil@null.org>
* Created On : <2023-09-26> * Created On : <2023-09-26>
* Last Modified : <2024-08-15> * Last Modified : <2025-07-13>
* ------------------------------------------------------------*/ * ------------------------------------------------------------*/
/** /**
* @update 2023-09-22 * @update 2025-07-13
* @note { *
* 1. * @note setsrc函数中补充完整
* 2. setsrc函数中补充完整
* }
*/ */
static Source_t wr_nix_sources[] = static Source_t wr_nix_sources[] =
{ {
{&UpstreamProvider, NULL}, {&UpstreamProvider, NULL, NULL},
{&Bfsu, "https://mirrors.bfsu.edu.cn/nix-channels/"} {&MirrorZ, "https://mirrors.cernet.edu.cn/nix-channels/", NULL},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/nix-channels/", NULL},
{&Nju, "https://mirror.nju.edu.cn/nix-channels/", NULL},
{&Ustc, "https://mirrors.ustc.edu.cn/nix-channels/", NULL},
{&Sjtug_Siyuan, "https://mirror.sjtu.edu.cn/nix-channels/", NULL},
{&Bfsu, "https://mirrors.bfsu.edu.cn/nix-channels/", NULL},
{&Iscas, "https://mirror.iscas.ac.cn/nix-channels/", NULL}
}; };
def_sources_n(wr_nix); def_sources_n(wr_nix);
@ -29,8 +33,8 @@ wr_nix_check_cmd ()
} }
/** /**
* : * @consult
* 1. https://mirrors.bfsu.edu.cn/help/nix-channels/ * 1. https://help.mirrors.cernet.edu.cn/nix-channels/
* 2. https://gitee.com/RubyMetric/chsrc/issues/I83894 * 2. https://gitee.com/RubyMetric/chsrc/issues/I83894
*/ */
void void