Skip to content

Commit 3300e0f

Browse files
committed
update build.yml
1 parent a4cb2d4 commit 3300e0f

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,12 @@ jobs:
3333

3434
- name: Install Nix 3.8.5
3535
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
36+
# 安装 Nix 3.8.5 使用官方安装脚本
37+
curl -L https://releases.nixos.org/nix/nix-3.8.5/install | sh
3838
# 重新加载环境
39-
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
39+
. /home/runner/.nix-profile/etc/profile.d/nix.sh
40+
# 验证安装
41+
nix --version
4042
4143
- name: Configure Nix
4244
run: |

0 commit comments

Comments
 (0)