jl: Patch to work with MonadFail GHC 8.6 change

This commit is contained in:
Sarah Brofeldt 2019-03-10 21:00:56 +01:00
parent 5d3fd3674a
commit 79e3dcb013

View file

@ -1,4 +1,4 @@
{ mkDerivation, fetchFromGitHub
{ mkDerivation, fetchFromGitHub, fetchpatch
, aeson, aeson-pretty, attoparsec, base, bytestring, conduit, conduit-extra
, containers, exceptions, mtl, optparse-simple, parsec, scientific, stdenv
, text, unordered-containers, vector
@ -12,6 +12,14 @@ mkDerivation rec {
rev = "v${version}";
sha256 = "1hlnwsl4cj0l4x8dxwda2fcnk789cwlphl9gv9cfrivl43mgkgar";
};
patches = [
# MonadFail compatibility patch. Should be removed with the next release
(fetchpatch {
url = https://github.com/chrisdone/jl/commit/6d40308811cbc22a96b47ebe69ec308b4e9fd356.patch;
sha256 = "1pg92ffkg8kim5r8rz8js6fjqyjisg1266sf7p9jyxjgsskwpa4g";
})
];
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [