File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments