diff options
author | sternenseemann <sternenseemann@systemli.org> | 2023-03-20 18:02:14 +0100 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2023-03-20 18:04:46 +0100 |
commit | 25ae2724974bca2b7d1ba0cb5772f57ac63673f7 (patch) | |
tree | 326cc7b500c767dfa6e6f1dc982517a00bd4ecb4 /pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix | |
parent | 6634553e48f47185056d6646784a5f8fd329b1fe (diff) | |
download | nixlib-25ae2724974bca2b7d1ba0cb5772f57ac63673f7.tar nixlib-25ae2724974bca2b7d1ba0cb5772f57ac63673f7.tar.gz nixlib-25ae2724974bca2b7d1ba0cb5772f57ac63673f7.tar.bz2 nixlib-25ae2724974bca2b7d1ba0cb5772f57ac63673f7.tar.lz nixlib-25ae2724974bca2b7d1ba0cb5772f57ac63673f7.tar.xz nixlib-25ae2724974bca2b7d1ba0cb5772f57ac63673f7.tar.zst nixlib-25ae2724974bca2b7d1ba0cb5772f57ac63673f7.zip |
haskell.packages.ghc94.cborg: unrestrict platforms
Revert "haskell.packages.ghc94.cborg: resolve duplicate overlay entry" This reverts commit 6634553e48f47185056d6646784a5f8fd329b1fe. Revert "haskell.packages.ghc94.weeder: don't test on aarch64" This reverts commit 600fd969f6d317524f4e859824f577663d795d15. Reason for reverts: https://github.com/NixOS/nixpkgs/pull/221688 applied a patch for the compilation failure we were seeing on 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.nix | 26 |
1 files changed, 8 insertions, 18 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 f6582b9e2752..eb2fbf67a07b 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.4.x.nix @@ -210,6 +210,14 @@ in { servant-client = doJailbreak super.servant-client; relude = doJailbreak super.relude; + # Fixes compilation failure with GHC >= 9.4 on aarch64-* due to an API change + cborg = appendPatch (pkgs.fetchpatch { + name = "cborg-support-ghc-9.4.patch"; + url = "https://github.com/well-typed/cborg/pull/304.diff"; + sha256 = "sha256-W4HldlESKOVkTPhz9nkFrvbj9akCOtF1SbIt5eJqtj8="; + relative = "cborg"; + }) super.cborg; + # https://github.com/tweag/ormolu/issues/941 ormolu = doDistribute self.ormolu_0_5_3_0; fourmolu = overrideCabal (drv: { @@ -230,22 +238,4 @@ 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 (old: rec { - patches = old.patches or [] ++ [ - (pkgs.fetchpatch { - name = "cborg-support-ghc-9.4.patch"; - url = "https://github.com/well-typed/cborg/pull/304.diff"; - sha256 = "sha256-W4HldlESKOVkTPhz9nkFrvbj9akCOtF1SbIt5eJqtj8="; - relative = "cborg"; - }) - ]; - badPlatforms = lib.platforms.aarch64; - hydraPlatforms = lib.subtractLists badPlatforms lib.platforms.all; - }) super.cborg; - weeder = overrideCabal { - inherit (self.cborg.meta) hydraPlatforms; - } super.weeder; } |