We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80ad6a2 commit 58c84b9Copy full SHA for 58c84b9
.github/workflows/update-flakes.yml
@@ -19,14 +19,16 @@ jobs:
19
- name: Install Nix and Setup Caching
20
uses: cachix/install-nix-action@v22
21
with:
22
+ # 修复 Nix 版本过低导致的错误:强制安装 2.20.0 版本
23
+ nix_version: '2.20.0'
24
nix_path: nixpkgs=channel:nixos-unstable
25
cache-nix-paths: true
26
27
- name: Update flake lock
28
run: nix flake update
29
30
# 验证构建:使用您的主机名 'nixos' 确保更新后的依赖不会破坏构建
- - name: Verify Build
31
+ - name: Verify Build (Host: nixos)
32
run: nix build .#nixosConfigurations.nixos.config.system.build.toplevel
33
34
- name: Commit changes
0 commit comments