Skip to content

Commit 31da4b2

Browse files
authored
flake: fix nix flake check --all-systems --no-build again (#395520)
2 parents 42d1c4f + 09a54c3 commit 31da4b2

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/eval.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ jobs:
7575
with:
7676
extra_nix_config: sandbox = true
7777

78+
- name: Ensure flake outputs on all systems still evaluate
79+
run: nix --experimental-features 'nix-command flakes' flake check --all-systems --no-build
80+
7881
- name: Query nixpkgs with aliases enabled to check for basic syntax errors
7982
run: |
8083
time nix-env -I ./nixpkgs -f ./nixpkgs -qa '*' --option restrict-eval true --option allow-import-from-derivation false >/dev/null

flake.nix

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@
107107
self.legacyPackages.${system}.stdenv.hostPlatform.isLinux
108108
# Exclude power64 due to "libressl is not available on the requested hostPlatform" with hostPlatform being power64
109109
&& !self.legacyPackages.${system}.targetPlatform.isPower64
110+
# Exclude armv6l-linux because "cannot bootstrap GHC on this platform ('armv6l-linux' with libc 'defaultLibc')"
111+
&& system != "armv6l-linux"
112+
# Exclude riscv64-linux because "cannot bootstrap GHC on this platform ('riscv64-linux' with libc 'defaultLibc')"
113+
&& system != "riscv64-linux"
110114
)
111115
{
112116
# Test that ensures that the nixosSystem function can accept a lib argument

0 commit comments

Comments
 (0)