workflow: use nixpkgs#nixos-rebuild
This commit is contained in:
parent
f34eec7b17
commit
67f6032b67
1 changed files with 3 additions and 2 deletions
|
@ -67,8 +67,9 @@ jobs:
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
package=".#nixosConfigurations."${{ matrix.machine }}".config.system.build.toplevel"
|
# package=".#nixosConfigurations."${{ matrix.machine }}".config.system.build.toplevel"
|
||||||
nix build -L "$package"
|
# nix build -L "$package"
|
||||||
|
nix run nixpkgs#nixos-rebuild build -- --flake ".#${{ matrix.machine }}"
|
||||||
|
|
||||||
- name: cache
|
- name: cache
|
||||||
# https://stackoverflow.com/a/58859404
|
# https://stackoverflow.com/a/58859404
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue