diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 80f58bf..a4fcf78 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -26,12 +26,13 @@ jobs: - name: NixOS test if: matrix.system == 'x86_64-linux' run: | - mkdir ${{ runner.temp }}/nixos && cd $_ && pwd - om init .#nixos -o . \ + CONF=${{ runner.temp }}/nixos + mkdir $CONF + om init .#nixos -o $CONF \ --non-interactive \ --params '{"hostname": "example", "username": "srid", "git-name": "Srid", "git-email": "srid@srid.ca"}' set -x - nix build .#nixosConfigurations.example.config.system.build.toplevel + nix build ${CONF}#nixosConfigurations.example.config.system.build.toplevel type -f ./result/etc/profiles/per-user/srid/bin/git - name: nix-darwin test