From 91dabe4221e0d148d651f77a47f23b5b1fe7e539 Mon Sep 17 00:00:00 2001 From: Tyler Mayoff Date: Fri, 20 Jun 2025 12:23:57 -0400 Subject: [PATCH] Update Nix build commands in GitHub Actions workflow to use specific configurations for NixOS and Darwin. --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9656964..3ca5553 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,7 +41,7 @@ jobs: with: packages: nh script: | - nh os build ./dot_config/flake#${{matrix.hostname}} -- --cores 1 -j1 + nh os build ./dot_config/flake#nixosConfigurations.${{matrix.hostname}}.system -- --cores 1 -j1 - uses: workflow/nix-shell-action@v3 if: runner.os == 'macOS' @@ -49,4 +49,4 @@ jobs: with: packages: nh script: | - nh darwin build ./dot_config/flake#${{matrix.hostname}} -- --cores 1 -j1 + nh darwin build ./dot_config/flake#darwinConfigurations.${{matrix.hostname}}.system -- --cores 1 -j1