workflow: pass --verbose to nix build
This commit is contained in:
parent
3e64c5c138
commit
eaa50f1bfd
2 changed files with 3 additions and 5 deletions
|
@ -67,9 +67,7 @@ jobs:
|
|||
|
||||
- name: build
|
||||
run: |
|
||||
# package=".#nixosConfigurations."${{ matrix.machine }}".config.system.build.toplevel"
|
||||
# nix build -L "$package"
|
||||
nix run nixpkgs#nixos-rebuild build -- --flake ".#${{ matrix.machine }}"
|
||||
nix run nixpkgs#nixos-rebuild build -- -L --verbose --flake ".#${{ matrix.machine }}"
|
||||
|
||||
- name: cache
|
||||
# https://stackoverflow.com/a/58859404
|
||||
|
@ -141,7 +139,7 @@ jobs:
|
|||
- name: build
|
||||
run: |
|
||||
package=".#homeConfigurations."${{ matrix.home }}".activationPackage"
|
||||
nix build -L "$package"
|
||||
nix build -L --verbose "$package"
|
||||
|
||||
- name: cache
|
||||
# https://stackoverflow.com/a/58859404
|
||||
|
|
2
.github/workflows/build-packages.yml
vendored
2
.github/workflows/build-packages.yml
vendored
|
@ -58,7 +58,7 @@ jobs:
|
|||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- run: nix build -L ${{ matrix.package }}
|
||||
- run: nix build -L --verbose ${{ matrix.package }}
|
||||
|
||||
- name: cache result
|
||||
# https://stackoverflow.com/a/58859404
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue