summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel.dionne-riel@cyberus-technology.de>2026-01-26 19:38:06 -0500
committerSamuel Dionne-Riel <samuel.dionne-riel@cyberus-technology.de>2026-01-26 22:06:19 -0500
commit61cc80c863a19713e07d7041878e573d3c5b72a7 (patch)
treea84e49efbdda7f7112c6915f564bf2f849c2518f /flake.nix
parentsystem76-scheduler: 2.0.2 -> 2.0.2-unstable-2025-01-15 (#480311) (diff)
downloadnixpkgs-61cc80c863a19713e07d7041878e573d3c5b72a7.tar.gz
flake.nix: exclude armv7l-linux and powerpc64le-linux from checks, devShells and formatter
Otherwise, like with db1b484d986440256b32c898dd44985bf98401c0, the `nix flake check` checks fail. Same story as in ccb779782ccb471954971697fcdf1c2331cd906b for devShells. Though here `nix flake check` is how I noticed the issue.
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 1bac7569d3ea..beced0fef048 100644
--- a/flake.nix
+++ b/flake.nix
@@ -116,6 +116,10 @@
&& !self.legacyPackages.${system}.stdenv.targetPlatform.isPower64
# Exclude armv6l-linux because "cannot bootstrap GHC on this platform ('armv6l-linux' with libc 'defaultLibc')"
&& system != "armv6l-linux"
+ # Exclude armv7l-linux because "cannot bootstrap GHC on this platform ('armv7l-linux' with libc 'defaultLibc')"
+ && system != "armv7l-linux"
+ # Exclude powerpc64le-linux because "cannot bootstrap GHC on this platform ('powerpc64le-linux' with libc 'defaultLibc')"
+ && system != "powerpc64le-linux"
# Exclude riscv64-linux because "cannot bootstrap GHC on this platform ('riscv64-linux' with libc 'defaultLibc')"
&& system != "riscv64-linux"
)
@@ -165,6 +169,10 @@
(
# Exclude armv6l-linux because "Package ‘ghc-9.6.6’ in .../pkgs/development/compilers/ghc/common-hadrian.nix:579 is not available on the requested hostPlatform"
system != "armv6l-linux"
+ # Exclude armv7l-linux because "cannot bootstrap GHC on this platform ('armv7l-linux' with libc 'defaultLibc')"
+ && system != "armv7l-linux"
+ # Exclude powerpc64le-linux because "cannot bootstrap GHC on this platform ('powerpc64le-linux' with libc 'defaultLibc')"
+ && system != "powerpc64le-linux"
# Exclude riscv64-linux because "Package ‘ghc-9.6.6’ in .../pkgs/development/compilers/ghc/common-hadrian.nix:579 is not available on the requested hostPlatform"
&& system != "riscv64-linux"
# Exclude x86_64-freebsd because "Package ‘ghc-9.6.6’ in .../pkgs/development/compilers/ghc/common-hadrian.nix:579 is not available on the requested hostPlatform"
@@ -182,6 +190,10 @@
system: _:
# Exclude armv6l-linux because "cannot bootstrap GHC on this platform ('armv6l-linux' with libc 'defaultLibc')"
system != "armv6l-linux"
+ # Exclude armv7l-linux because "cannot bootstrap GHC on this platform ('armv7l-linux' with libc 'defaultLibc')"
+ && system != "armv7l-linux"
+ # Exclude powerpc64le-linux because "cannot bootstrap GHC on this platform ('powerpc64le-linux' with libc 'defaultLibc')"
+ && system != "powerpc64le-linux"
# Exclude riscv64-linux because "cannot bootstrap GHC on this platform ('riscv64-linux' with libc 'defaultLibc')"
&& system != "riscv64-linux"
# Exclude x86_64-freebsd because "Package ‘go-1.22.12-freebsd-amd64-bootstrap’ in /nix/store/0yw40qnrar3lvc5hax5n49abl57apjbn-source/pkgs/development/compilers/go/binary.nix:50 is not available on the requested hostPlatform"