gnu: ghc-mtl: Fix build with GHC 8.

* gnu/packages/haskell.scm (ghc-mtl)[inputs]: Add ghc-transformers.
[arguments]: Permit building with newer version of transformers.
This commit is contained in:
Ricardo Wurmus 2018-02-12 19:04:25 +01:00
parent d5e86172ca
commit c088e39341
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -1479,6 +1479,10 @@ (define-public ghc-mtl
(base32
"1icdbj2rshzn0m1zz5wa7v3xvkf6qw811p4s7jgqwvx1ydwrvrfa"))))
(build-system haskell-build-system)
(arguments
`(#:configure-flags (list "--allow-newer=transformers")))
(inputs
`(("ghc-transformers" ,ghc-transformers)))
(home-page "https://github.com/ekmett/mtl")
(synopsis
"Monad classes, using functional dependencies")