We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4cb2d4 commit 3300e0fCopy full SHA for 3300e0f
1 file changed
.github/workflows/build.yml
@@ -33,10 +33,12 @@ jobs:
33
34
- name: Install Nix 3.8.5
35
run: |
36
- # 安装 Determinate Nix 3.8.5 (非交互式模式)
37
- curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --version 3.8.5 --no-confirm
+ # 安装 Nix 3.8.5 使用官方安装脚本
+ curl -L https://releases.nixos.org/nix/nix-3.8.5/install | sh
38
# 重新加载环境
39
- . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
+ . /home/runner/.nix-profile/etc/profile.d/nix.sh
40
+ # 验证安装
41
+ nix --version
42
43
- name: Configure Nix
44
0 commit comments