workflow: pass --verbose to nix build

This commit is contained in:
cy 2025-04-02 17:42:38 -04:00
parent 3e64c5c138
commit eaa50f1bfd
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
2 changed files with 3 additions and 5 deletions

View file

@ -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

View file

@ -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