about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2023-03-20 13:53:35 +0100
committersternenseemann <sternenseemann@systemli.org>2023-03-20 13:53:43 +0100
commit600fd969f6d317524f4e859824f577663d795d15 (patch)
tree3227c73dd89d5dec2319652c8061d00eecf80ce3 /pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix
parentf73d0e3084aa5b56ccdab416f61e008170e4aaeb (diff)
downloadnixlib-600fd969f6d317524f4e859824f577663d795d15.tar
nixlib-600fd969f6d317524f4e859824f577663d795d15.tar.gz
nixlib-600fd969f6d317524f4e859824f577663d795d15.tar.bz2
nixlib-600fd969f6d317524f4e859824f577663d795d15.tar.lz
nixlib-600fd969f6d317524f4e859824f577663d795d15.tar.xz
nixlib-600fd969f6d317524f4e859824f577663d795d15.tar.zst
nixlib-600fd969f6d317524f4e859824f577663d795d15.zip
haskell.packages.ghc94.weeder: don't test on aarch64
cborg does not compile with GHC >= 9.4 and aarch64
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix10
1 files changed, 10 insertions, 0 deletions
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;
 }