1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

haskell-timezone-series: fix build with GHC 8.0.1

- Fix the incorrect sha256 hash of the patch.
 - Apply the patch only when compiling with GHC 8.0.x.
This commit is contained in:
Peter Simons 2016-06-09 16:50:36 +02:00
parent cf042ae750
commit 7914242b37
2 changed files with 7 additions and 4 deletions

View file

@ -1041,8 +1041,4 @@ self: super: {
'';
}));
timezone-series = appendPatch super.timezone-series (pkgs.fetchpatch {
url = "https://github.com/ryantrinkle/timezone-series/commit/f8dece8c016db6476e2bb0d4f972769a76f6ff40.patch";
sha256 = "02sgciica2pzaal7wwp36v6iybr1hjypda0zljxylnq0qs8bizhy";
});
}

View file

@ -62,4 +62,11 @@ self: super: {
sha256 = "1i45196qrzlhgbisnvkzni4n54saky0i1kyla162xcb5cg3kf2ji";
};
});
# https://github.com/ygale/timezone-series/issues/2
timezone-series = appendPatch super.timezone-series (pkgs.fetchpatch {
url = "https://github.com/ryantrinkle/timezone-series/commit/f8dece8c016db6476e2bb0d4f972769a76f6ff40.patch";
sha256 = "01wxhknsnn7lyl9v8viz7m5zhmyi3bqpbva7d3dx1dxn0nmkfh6a";
});
}