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