This commit is contained in:
@@ -42,12 +42,13 @@ jobs:
|
||||
download-buffer-size = 200000000
|
||||
auto-optimise-store = true
|
||||
|
||||
- name: Build ${{ matrix.host }} ISO (nixos-rebuild build-image)
|
||||
- name: Build ${{ matrix.host }} ISO
|
||||
run: |
|
||||
nixos-rebuild build-image --image-variant iso \
|
||||
--flake .#${{ matrix.host }}-iso \
|
||||
# Build the ISO directly from the flake's NixOS configuration
|
||||
nix build --print-out-paths \
|
||||
.#nixosConfigurations.${{ matrix.host }}-iso.config.system.build.isoImage \
|
||||
--out-link result-iso 2>&1 | tee /tmp/nix-build.log
|
||||
# The .iso file is inside the build result (result-iso is a symlink)
|
||||
# The .iso file is inside the build result (result-iso is a symlink to the nix store)
|
||||
mkdir -p iso-result
|
||||
ISO_SRC=$(find -L result-iso -name '*.iso' -type f | head -n 1)
|
||||
if [ -z "$ISO_SRC" ]; then
|
||||
|
||||
Reference in New Issue
Block a user