haskellPackages.mueval: disable reverse deps to fix maintained job

This should give us back our maintained job in nixpkgs:haskell-updates.
I've chosen to limit the workaround to 9.6 since that's what we really
care about (for other versions we don't guarantee anything) and this way
users can use e.g. 9.4 if they need lambdabot on aarch64-linux. It would
theoretically be prudent to add a similar thing for 9.8 and 9.10, but
it's probably too likely to bitrot.
This commit is contained in:
sternenseemann 2024-05-12 12:54:28 +02:00
parent 0756224750
commit 2fae5b4eab
3 changed files with 10 additions and 4 deletions

View File

@ -180,6 +180,16 @@ self: super: {
sha256 = "sha256-b7u9GiIAd2xpOrM0MfILHNb6Nt7070lNRIadn2l3DfQ=";
})];
}) super.ConfigFile;
# This runs into the following GHC bug currently affecting 9.6.* and 9.8.* as
# well as 9.10.1: https://gitlab.haskell.org/ghc/ghc/-/issues/24432
inherit (lib.mapAttrs (_: overrideCabal (drv: {
badPlatforms = drv.badPlatforms or [ ] ++ [ "aarch64-linux" ];
})) super)
mueval
lambdabot
lambdabot-haskell-plugins
;
}
# super.ghc is required to break infinite recursion as Nix is strict in the attrNames
// lib.optionalAttrs (pkgs.stdenv.hostPlatform.isAarch64 && lib.versionOlder super.ghc.version "9.6.4") {

View File

@ -652,7 +652,6 @@ unsupported-platforms:
monomer: [ platforms.darwin ] # depends on mesa
monomer-hagrid: [ platforms.darwin ] # depends on mesa
mptcp-pm: [ platforms.darwin ]
mueval: [ aarch64-linux ] # https://hydra.nixos.org/build/257076117/nixlog/2 https://gitlab.haskell.org/ghc/ghc/-/issues/24432
nanovg: [ platforms.darwin ] # depends on mesa
netlink: [ platforms.darwin ]
notifications-tray-icon: [ platforms.darwin ] # depends on gi-dbusmenu

View File

@ -46609,8 +46609,6 @@ self: {
];
description = "SQL DDL support and migrations support library for Beam";
license = lib.licenses.mit;
hydraPlatforms = lib.platforms.none;
broken = true;
}) {};
"beam-mysql" = callPackage
@ -210155,7 +210153,6 @@ self: {
];
description = "Safely evaluate pure Haskell expressions";
license = lib.licenses.bsd3;
badPlatforms = [ "aarch64-linux" ];
mainProgram = "mueval";
}) {};