diff --git a/pkgs/development/tools/jl/default.nix b/pkgs/development/tools/jl/default.nix index 6ffe5ef80bf..0d9ce143a83 100644 --- a/pkgs/development/tools/jl/default.nix +++ b/pkgs/development/tools/jl/default.nix @@ -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 = [