1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

Merge pull request #57284 from srhb/jl-monadfail-patch

jl: Patch to work with MonadFail GHC 8.6 change
This commit is contained in:
Sarah Brofeldt 2019-03-18 16:48:53 +01:00 committed by GitHub
commit 1222e289b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = [