flake: fix nix flake check --all-systems --no-build again

This regressed in be4d27febe, because
sphinx-issues depends on pandoc at build-time (which depends on GHC).

Previously fixed in https://github.com/NixOS/nixpkgs/pull/349076.
This commit is contained in:
Cole Helbling 2025-04-02 07:55:32 -07:00
parent 6453fb2a2b
commit 082e8798ea
No known key found for this signature in database

View file

@ -107,6 +107,10 @@
self.legacyPackages.${system}.stdenv.hostPlatform.isLinux
# Exclude power64 due to "libressl is not available on the requested hostPlatform" with hostPlatform being power64
&& !self.legacyPackages.${system}.targetPlatform.isPower64
# Exclude armv6l-linux because "cannot bootstrap GHC on this platform ('armv6l-linux' with libc 'defaultLibc')"
&& system != "armv6l-linux"
# Exclude riscv64-linux because "cannot bootstrap GHC on this platform ('riscv64-linux' with libc 'defaultLibc')"
&& system != "riscv64-linux"
)
{
# Test that ensures that the nixosSystem function can accept a lib argument