spago: unbreak after update to ghc-8.8.2
This commit is contained in:
parent
7b6f436300
commit
4e3b120db1
@ -635,11 +635,19 @@ self: super: builtins.intersectAttrs super {
|
|||||||
|
|
||||||
spago =
|
spago =
|
||||||
let
|
let
|
||||||
|
# Spago needs a patch for MonadFail changes.
|
||||||
|
# https://github.com/purescript/spago/pull/584
|
||||||
|
# This can probably be removed when a version after spago-0.14.0 is released.
|
||||||
|
spagoWithPatches = appendPatch super.spago (pkgs.fetchpatch {
|
||||||
|
url = "https://github.com/purescript/spago/pull/584/commits/898a8e48665e5a73ea03525ce2c973455ab9ac52.patch";
|
||||||
|
sha256 = "05gs1hjlcf60cr6728rhgwwgxp3ildly14v4l2lrh6ma2fljhyjy";
|
||||||
|
});
|
||||||
|
|
||||||
# Spago basically compiles with LTS-14, but it requires a newer version
|
# Spago basically compiles with LTS-14, but it requires a newer version
|
||||||
# of directory. This is to work around a bug only present on windows, so
|
# of directory. This is to work around a bug only present on windows, so
|
||||||
# we can safely jailbreak spago and use the older directory package from
|
# we can safely jailbreak spago and use the older directory package from
|
||||||
# LTS-14.
|
# LTS-14.
|
||||||
spagoWithOverrides = doJailbreak (super.spago.override {
|
spagoWithOverrides = doJailbreak (spagoWithPatches.override {
|
||||||
# spago requires dhall-1.29.0.
|
# spago requires dhall-1.29.0.
|
||||||
dhall = self.dhall_1_29_0;
|
dhall = self.dhall_1_29_0;
|
||||||
});
|
});
|
||||||
|
@ -44,5 +44,4 @@ mkDerivation {
|
|||||||
prePatch = "hpack";
|
prePatch = "hpack";
|
||||||
homepage = "https://github.com/purescript/spago#readme";
|
homepage = "https://github.com/purescript/spago#readme";
|
||||||
license = stdenv.lib.licenses.bsd3;
|
license = stdenv.lib.licenses.bsd3;
|
||||||
broken = true; # Build is broken in lts-15.x.
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user