Skip to content

Commit c2115af

Browse files
committed
Handle building darwin system
1 parent 7bdb3c4 commit c2115af

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
- run: nix flake check
3030
- name: Build NixOS system
3131
run: |
32-
nix build \
33-
.#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel \
34-
--system ${{ matrix.system }}
32+
if [ "${{ matrix.system }}" = "aarch64-darwin" ]; then
33+
nix build .#darwinConfigurations.${{ matrix.host }}.system
34+
else
35+
nix build .#nixosConfigurations.${{ matrix.host }}.config.system.build.toplevel

0 commit comments

Comments
 (0)