purescript: fix build compiling with ghc 8.4.4
Closes #53597.
commitdd2dff39fa8aadd05681d315a3975fe9f50dd029
authorJorge Acereda <jacereda@gmail.com>
dateThu 10 Jan 2019, 13:07 (8 years ago)
parent68be6bb
pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix+4
@@ -40,6 +40,10 @@ self: super: {
4040 unix = null;
4141 xhtml = null;
4242
43+ # Restricts aeson to <1.4
44+ # https://github.com/purescript/purescript/pull/3537
45+ purescript = doJailbreak super.purescript;
46+
4347 # https://github.com/jcristovao/enclosed-exceptions/issues/12
4448 enclosed-exceptions = dontCheck super.enclosed-exceptions;
4549
pkgs/top-level/all-packages.nix+2−1
@@ -7082,7 +7082,8 @@ in
70827082
70837083 all-cabal-hashes = callPackage ../data/misc/hackage { };
70847084
7085− purescript = haskell.lib.justStaticExecutables haskellPackages.purescript;
7085+ # Build with ghc 8.4 due to https://github.com/NixOS/nixpkgs/issues/53597
7086+ purescript = haskell.lib.justStaticExecutables haskell.packages.ghc844.purescript;
70867087 psc-package = haskell.lib.justStaticExecutables
70877088 (haskellPackages.callPackage ../development/compilers/purescript/psc-package { });
70887089