Compare commits

..

3 commits

Author SHA1 Message Date
cy
37d4123731
workflow: pass -L to nixos-rebuild 2025-04-02 18:03:02 -04:00
cy
df3c53ca38
flake: don't override lix-module's nixpkgs input 2025-04-02 18:02:30 -04:00
cy
1b8577bb86
workflow: add cache.lix.systems 2025-04-02 18:02:30 -04:00
2 changed files with 5 additions and 3 deletions

View file

@ -64,7 +64,9 @@ jobs:
- name: build - name: build
run: | run: |
nix run nixpkgs#nixos-rebuild build -- -L --verbose --flake ".#${{ matrix.machine }}" # package=".#nixosConfigurations."${{ matrix.machine }}".config.system.build.toplevel"
# nix build -L "$package"
nix run nixpkgs#nixos-rebuild build -- -L --flake ".#${{ matrix.machine }}"
- name: cache - name: cache
# https://stackoverflow.com/a/58859404 # https://stackoverflow.com/a/58859404
@ -133,7 +135,7 @@ jobs:
- name: build - name: build
run: | run: |
package=".#homeConfigurations."${{ matrix.home }}".activationPackage" package=".#homeConfigurations."${{ matrix.home }}".activationPackage"
nix build -L --verbose "$package" nix build -L "$package"
- name: cache - name: cache
# https://stackoverflow.com/a/58859404 # https://stackoverflow.com/a/58859404

View file

@ -55,7 +55,7 @@ jobs:
with: with:
persist-credentials: false persist-credentials: false
- run: nix build -L --verbose ${{ matrix.package }} - run: nix build -L ${{ matrix.package }}
- name: cache result - name: cache result
# https://stackoverflow.com/a/58859404 # https://stackoverflow.com/a/58859404