summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/patches
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2018-05-23 12:23:16 +0200
committerPeter Simons <simons@cryp.to>2018-05-23 12:24:31 +0200
commit8f96324584095764d769210a722c6b0defc5ec0e (patch)
treef2f254e318ceba0a94e951f8e86c188d118de6fd /pkgs/development/haskell-modules/patches
parent31f76cde3e86c8cc2d67e3991988876b7535b0d7 (diff)
downloadnixpkgs-8f96324584095764d769210a722c6b0defc5ec0e.tar
nixpkgs-8f96324584095764d769210a722c6b0defc5ec0e.tar.gz
nixpkgs-8f96324584095764d769210a722c6b0defc5ec0e.tar.bz2
nixpkgs-8f96324584095764d769210a722c6b0defc5ec0e.tar.lz
nixpkgs-8f96324584095764d769210a722c6b0defc5ec0e.tar.xz
nixpkgs-8f96324584095764d769210a722c6b0defc5ec0e.tar.zst
nixpkgs-8f96324584095764d769210a722c6b0defc5ec0e.zip
haskell-lambdabot-core: apply patch from @int-e to fix GHC 8.4.x build
Diffstat (limited to 'pkgs/development/haskell-modules/patches')
-rw-r--r--pkgs/development/haskell-modules/patches/lambdabot-core-ghc-8.4.x-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/patches/lambdabot-core-ghc-8.4.x-fix.patch b/pkgs/development/haskell-modules/patches/lambdabot-core-ghc-8.4.x-fix.patch
new file mode 100644
index 00000000000..9b7b7cfb8f9
--- /dev/null
+++ b/pkgs/development/haskell-modules/patches/lambdabot-core-ghc-8.4.x-fix.patch
@@ -0,0 +1,15 @@
+index 60e134c..246d8ca 100644
+--- lambdabot-core/src/Lambdabot/Config.hs
++++ lambdabot-core/src/Lambdabot/Config.hs
+@@ -29,9 +29,9 @@ import Data.Typeable
+ import Data.Generics (everywhere, mkT)
+ import Language.Haskell.TH
+ 
+-data Config t where Config :: (Typeable1 k, GCompare k) => !(k t) -> t -> (t -> t -> t) -> Config t
++data Config t where Config :: (Typeable k, GCompare k) => !(k t) -> t -> (t -> t -> t) -> Config t
+ 
+-cast1 :: (Typeable1 f, Typeable1 g) => f a -> Maybe (g a)
++cast1 :: (Typeable f, Typeable g) => f a -> Maybe (g a)
+ cast1 = fmap runIdentity . gcast1 . Identity
+ 
+ instance GEq Config where