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>
* Contributors : Nil Null <nil@null.org>
* Created On : <2023-09-26>
* Last Modified : <2024-08-15>
* Last Modified : <2025-07-13>
* ------------------------------------------------------------*/
/**
* @update 2023-09-22
* @note {
* 1.
* 2. setsrc函数中补充完整
* }
* @update 2025-07-13
*
* @note setsrc函数中补充完整
*/
static Source_t wr_nix_sources[] =
{
{&UpstreamProvider, NULL},
{&Bfsu, "https://mirrors.bfsu.edu.cn/nix-channels/"}
{&UpstreamProvider, NULL, NULL},
{&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);
@ -29,9 +33,9 @@ wr_nix_check_cmd ()
}
/**
* :
* 1. https://mirrors.bfsu.edu.cn/help/nix-channels/
* 2. https://gitee.com/RubyMetric/chsrc/issues/I83894
* @consult
* 1. https://help.mirrors.cernet.edu.cn/nix-channels/
* 2. https://gitee.com/RubyMetric/chsrc/issues/I83894
*/
void
wr_nix_setsrc (char *option)