haskell.packages.ghc94.weeder: don't test on aarch64

cborg does not compile with GHC >= 9.4 and aarch64
This commit is contained in:
sternenseemann 2023-03-20 13:53:35 +01:00
parent f73d0e3084
commit 600fd969f6

View file

@ -237,4 +237,14 @@ in {
# failing during the Setup.hs phase: https://github.com/gtk2hs/gtk2hs/issues/323.
gtk2hs-buildtools = appendPatch ./patches/gtk2hs-buildtools-fix-ghc-9.4.x.patch super.gtk2hs-buildtools;
# https://github.com/well-typed/cborg/pull/307
# https://github.com/well-typed/cborg/pull/304
# https://github.com/well-typed/cborg/issues/309#issuecomment-1471862045
cborg = overrideCabal rec {
badPlatforms = lib.platforms.aarch64;
hydraPlatforms = lib.subtractLists badPlatforms lib.platforms.all;
} super.cborg;
weeder = overrideCabal {
inherit (self.cborg.meta) hydraPlatforms;
} super.weeder;
}