concrete functor and monad transformers
#16Build fails with GHC 7.2.1
https://travis-ci.org/haskell-compat/base-compat/jobs/98793911
Preprocessing library transformers-0.5.0.0... [ 1 of 28] Compiling Control.Monad.Trans.Class ( Control/Monad/Trans/Class.hs, dist/build/Control/Monad/Trans/Class.o ) Implicit import declaration: base:Prelude can't be safely imported! The package (base) the module resides in isn't trusted. Failed to install transformers-0.5.0.0
This isn't really the fault of
transformers
. It's due to an old GHC 7.2.1-specific bug where no packages were marked as trusted by default. The workaround is to just invokeghc-pkg trust base
before compilingtransformers
. On Travis-CI, this snippet ( https://github.com/judah/haskeline/blob/bc443ea45a186f5e55811f259b4b3048a8f9edea/.travis.yml#L31 ) usually does the trick.- status set to closed
Ok cool. TIL.