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
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
# package=".#nixosConfigurations."${{ matrix.machine }}".config.system.build.toplevel"
|
nix run nixpkgs#nixos-rebuild build -- -L --verbose --flake ".#${{ matrix.machine }}"
|
||||||
# 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
|
||||||
|
@ -141,7 +139,7 @@ jobs:
|
||||||
- name: build
|
- name: build
|
||||||
run: |
|
run: |
|
||||||
package=".#homeConfigurations."${{ matrix.home }}".activationPackage"
|
package=".#homeConfigurations."${{ matrix.home }}".activationPackage"
|
||||||
nix build -L "$package"
|
nix build -L --verbose "$package"
|
||||||
|
|
||||||
- name: cache
|
- name: cache
|
||||||
# https://stackoverflow.com/a/58859404
|
# 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:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- run: nix build -L ${{ matrix.package }}
|
- run: nix build -L --verbose ${{ matrix.package }}
|
||||||
|
|
||||||
- name: cache result
|
- name: cache result
|
||||||
# https://stackoverflow.com/a/58859404
|
# https://stackoverflow.com/a/58859404
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue