Chore/nixfiles review fixes #14
@@ -32,9 +32,9 @@ jobs:
|
|||||||
run: nix build --print-build-logs '.#checks.x86_64-linux.formatting'
|
run: nix build --print-build-logs '.#checks.x86_64-linux.formatting'
|
||||||
|
|
||||||
# Evaluate (not build) each host's toplevel so eval errors fail CI cheaply.
|
# Evaluate (not build) each host's toplevel so eval errors fail CI cheaply.
|
||||||
# aarch64 hosts evaluate fine on an x86_64 runner; only building would need
|
# aarch64 / darwin hosts evaluate fine on an x86_64 runner; only building
|
||||||
# emulation, which we deliberately avoid here.
|
# would need emulation, which we deliberately avoid here.
|
||||||
- name: Evaluate host configurations
|
- name: Evaluate NixOS host configurations
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
for host in lyrathorpe-mbp lyrathorpe-x1c emmathorpe-edaas; do
|
for host in lyrathorpe-mbp lyrathorpe-x1c emmathorpe-edaas; do
|
||||||
@@ -43,3 +43,13 @@ jobs:
|
|||||||
echo
|
echo
|
||||||
echo "::endgroup::"
|
echo "::endgroup::"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
- name: Evaluate Darwin host configurations
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
for host in lyrathorpe-mac; do
|
||||||
|
echo "::group::eval $host"
|
||||||
|
nix eval --raw ".#darwinConfigurations.$host.config.system.build.toplevel.drvPath"
|
||||||
|
echo
|
||||||
|
echo "::endgroup::"
|
||||||
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user