git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #57284 from srhb/jl-monadfail-patch

jl: Patch to work with MonadFail GHC 8.6 change

commit1222e289b5014d17884a8b1c99f220c5e3df0b14 authorSarah Brofeldt <sbrofeldt@gmail.com> dateMon 18 Mar 2019, 16:48 (8 years ago) parentf9b1a1979e3dcb
1 file changed+9−1
pkgs/development/tools/jl/default.nix+9−1
pkgs/development/tools/jl/default.nix+9−1
@@ -1,4 +1,4 @@
1−{ mkDerivation, fetchFromGitHub
1+{ mkDerivation, fetchFromGitHub, fetchpatch
22, aeson, aeson-pretty, attoparsec, base, bytestring, conduit, conduit-extra
33, containers, exceptions, mtl, optparse-simple, parsec, scientific, stdenv
44, text, unordered-containers, vector
@@ -12,6 +12,14 @@ mkDerivation rec {
1212 rev = "v${version}";
1313 sha256 = "1hlnwsl4cj0l4x8dxwda2fcnk789cwlphl9gv9cfrivl43mgkgar";
1414 };
15+ patches = [
16+ # MonadFail compatibility patch. Should be removed with the next release
17+ (fetchpatch {
18+ url = https://github.com/chrisdone/jl/commit/6d40308811cbc22a96b47ebe69ec308b4e9fd356.patch;
19+ sha256 = "1pg92ffkg8kim5r8rz8js6fjqyjisg1266sf7p9jyxjgsskwpa4g";
20+ })
21+ ];
22+
1523 isLibrary = true;
1624 isExecutable = true;
1725 libraryHaskellDepends = [