spago: 0.15.1 -> 0.15.3

This commit is contained in:
(cdep)illabout 2020-06-15 21:01:43 +09:00 committed by Peter Simons
parent 2ab43eafd4
commit cdda16b1b1
2 changed files with 8 additions and 11 deletions

View File

@ -639,17 +639,14 @@ self: super: builtins.intersectAttrs super {
spago = spago =
let let
# Spago needs a small patch to work with the latest versions of rio. # Spago needs a small patch to work with the latest versions of rio.
# https://github.com/purescript/spago/pull/616 # https://github.com/purescript/spago/pull/647
# This can probably be removed when a version after spago-0.15.1 is released.
spagoWithPatches = appendPatch super.spago (pkgs.fetchpatch { spagoWithPatches = appendPatch super.spago (pkgs.fetchpatch {
url = "https://github.com/purescript/spago/pull/616/commits/95b5fa0f1d3bfb07972d1ef5004b8bee8a070667.patch"; url = "https://github.com/purescript/spago/pull/647/commits/917ee541a966db74f0f5d11f2f86df0030c35dd7.patch";
sha256 = "0v3890lwhddfrq9mhbq92962pkxra8kwbin97wg3s0b02dk65ysc"; sha256 = "1nspqgcjk6z90cl9zhard0rn2q979kplcqz72x8xv5mh57zabk0w";
}); });
# Spago basically compiles with LTS-14, but it requires a newer version # spago requires an older version of megaparsec, but it appears to work
# of directory. This is to work around a bug only present on windows, so # fine with newer versions.
# we can safely jailbreak spago and use the older directory package from
# LTS-14.
spagoWithOverrides = doJailbreak spagoWithPatches; spagoWithOverrides = doJailbreak spagoWithPatches;
# This defines the version of the purescript-docs-search release we are using. # This defines the version of the purescript-docs-search release we are using.

View File

@ -11,11 +11,11 @@
}: }:
mkDerivation { mkDerivation {
pname = "spago"; pname = "spago";
version = "0.15.1"; version = "0.15.3";
src = fetchgit { src = fetchgit {
url = "https://github.com/purescript/spago.git"; url = "https://github.com/purescript/spago.git";
sha256 = "09ypbm03ap8xfhq803ra3cc01dxcavckn7nis6hi80dk2xxlhc3d"; sha256 = "0spc7r531kmh9magaxzy4jls3bzfazwf8sq3qzk6f292d7ky6n8y";
rev = "d5d206ff0f5c686f8b609fb4bc2e866959cc0144"; rev = "da6d91c19b23f06f3ede793f78599a6589c9e7cd";
fetchSubmodules = true; fetchSubmodules = true;
}; };
isLibrary = true; isLibrary = true;