lol

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.

+7 -4
-4
pkgs/development/haskell-modules/configuration-common.nix
··· 1041 1041 ''; 1042 1042 })); 1043 1043 1044 - timezone-series = appendPatch super.timezone-series (pkgs.fetchpatch { 1045 - url = "https://github.com/ryantrinkle/timezone-series/commit/f8dece8c016db6476e2bb0d4f972769a76f6ff40.patch"; 1046 - sha256 = "02sgciica2pzaal7wwp36v6iybr1hjypda0zljxylnq0qs8bizhy"; 1047 - }); 1048 1044 }
+7
pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix
··· 62 62 sha256 = "1i45196qrzlhgbisnvkzni4n54saky0i1kyla162xcb5cg3kf2ji"; 63 63 }; 64 64 }); 65 + 66 + # https://github.com/ygale/timezone-series/issues/2 67 + timezone-series = appendPatch super.timezone-series (pkgs.fetchpatch { 68 + url = "https://github.com/ryantrinkle/timezone-series/commit/f8dece8c016db6476e2bb0d4f972769a76f6ff40.patch"; 69 + sha256 = "01wxhknsnn7lyl9v8viz7m5zhmyi3bqpbva7d3dx1dxn0nmkfh6a"; 70 + }); 71 + 65 72 }