ci/eval: check that flake outputs on all systems still evaluate

This commit is contained in:
Cole Helbling 2025-04-02 07:55:32 -07:00
parent 837ff226bb
commit 06b7e29907
No known key found for this signature in database

View File

@ -75,6 +75,9 @@ jobs:
with: with:
extra_nix_config: sandbox = true extra_nix_config: sandbox = true
- name: Ensure flake outputs on all systems still evaluate
run: nix --experimental-features 'nix-command flakes' flake check --all-systems --no-build ./nixpkgs
- name: Query nixpkgs with aliases enabled to check for basic syntax errors - name: Query nixpkgs with aliases enabled to check for basic syntax errors
run: | run: |
time nix-env -I ./nixpkgs -f ./nixpkgs -qa '*' --option restrict-eval true --option allow-import-from-derivation false >/dev/null time nix-env -I ./nixpkgs -f ./nixpkgs -qa '*' --option restrict-eval true --option allow-import-from-derivation false >/dev/null