flake: fix `nix flake check --all-systems --no-build` again (#395520)

authored by Jörg Thalheim and committed by GitHub 31da4b2c 42d1c4f8

+7
+3
.github/workflows/eval.yml
··· 75 75 with: 76 76 extra_nix_config: sandbox = true 77 77 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 + 78 81 - name: Query nixpkgs with aliases enabled to check for basic syntax errors 79 82 run: | 80 83 time nix-env -I ./nixpkgs -f ./nixpkgs -qa '*' --option restrict-eval true --option allow-import-from-derivation false >/dev/null
+4
flake.nix
··· 107 107 self.legacyPackages.${system}.stdenv.hostPlatform.isLinux 108 108 # Exclude power64 due to "libressl is not available on the requested hostPlatform" with hostPlatform being power64 109 109 && !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" 110 114 ) 111 115 { 112 116 # Test that ensures that the nixosSystem function can accept a lib argument