diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix index 45cf4b5d4e92..f9ce2a5165aa 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix @@ -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; }