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

View file

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