tuna / issues

Code Unrelated Issues
362 stars 28 forks source link

Nix installation will not add TUNA as nix channel. #1884

Open fernvenue opened 10 months ago

fernvenue commented 10 months ago

先决条件 (Prerequisites)

发生了什么(What happened)

When install nix using TUNA as mentioned in help page, will get the error:

warning: error: unable to download 'https://releases.nixos.org/nixpkgs/nixpkgs-24.05pre572585.921fb3319c2a/nixexprs.tar.xz': HTTP error 200 (curl error: Timeout was reached); retrying in 255 ms

期望的现象(What you expected to happen)

Add TUNA as nix channel instead of releases.nixos.org.

如何重现此问题(How to reproduce it)

Multi user installation as mentioned in help page:

sh <(curl https://mirrors.tuna.tsinghua.edu.cn/nix/latest/install) --daemon

操作系统(OS Version)

Linux rpi 6.1.0-17-arm64 #1 SMP Debian 6.1.69-1 (2023-12-30) aarch64 GNU/Linux

浏览器(如果适用)(Browser version, if applicable)

No response

其他环境(Other environments)

No response

其他需要说明的事项(Anything else we need to know)

No response

shankerwangmiao commented 8 months ago

install 脚本是原样镜像的上游,所以直接执行确实会出现您所说的现象。该问题可能需要进一步改进文档。