Skip to content

Commit c066ab5

Browse files
authored
workflows/eval: Un-parallelize misc, fixing check, and add modules meta check (#484265)
2 parents 86fa73c + f58b11e commit c066ab5

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

.github/workflows/eval.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -453,10 +453,13 @@ jobs:
453453
- name: Install Nix
454454
uses: cachix/install-nix-action@4e002c8ec80594ecd40e759629461e26c8abed15 # v31
455455

456-
- name: Run misc eval tasks in parallel
456+
- name: Ensure flake outputs on all systems still evaluate
457+
run: nix flake check --all-systems --no-build './nixpkgs/untrusted?shallow=1'
458+
459+
- name: Query nixpkgs with aliases enabled to check for basic syntax errors
460+
run: |
461+
time nix-env -I ./nixpkgs/untrusted -f ./nixpkgs/untrusted -qa '*' --option restrict-eval true --option allow-import-from-derivation false >/dev/null
462+
463+
- name: Ensure NixOS modules meta is valid
457464
run: |
458-
# Ensure flake outputs on all systems still evaluate
459-
nix flake check --all-systems --no-build './nixpkgs/untrusted?shallow=1' &
460-
# Query nixpkgs with aliases enabled to check for basic syntax errors
461-
nix-env -I ./nixpkgs/untrusted -f ./nixpkgs/untrusted -qa '*' --option restrict-eval true --option allow-import-from-derivation false >/dev/null &
462-
wait
465+
time nix-instantiate -I ./nixpkgs/untrusted --strict --eval --json ./nixpkgs/untrusted/nixos --arg configuration '{}' --attr config.meta --option restrict-eval true --option allow-import-from-derivation false

0 commit comments

Comments
 (0)