Skip to content

Instantly share code, notes, and snippets.

@imeredith
Created February 20, 2013 03:40
Show Gist options
  • Save imeredith/4992679 to your computer and use it in GitHub Desktop.
Save imeredith/4992679 to your computer and use it in GitHub Desktop.
[5 of 8] Compiling Foundation ( Foundation.hs, dist/build/Foundation.o )
[6 of 8] Compiling Import ( Import.hs, dist/build/Import.o )
[7 of 8] Compiling Handler.Home ( Handler/Home.hs, dist/build/Handler/Home.o )
[8 of 8] Compiling Application ( Application.hs, dist/build/Application.o )
Application.hs:49:44:
No instance for (monad-logger-0.3.0:Control.Monad.Logger.MonadLogger
IO)
arising from a use of `runMigration'
Possible fix:
add an instance declaration for
(monad-logger-0.3.0:Control.Monad.Logger.MonadLogger IO)
In the second argument of `Database.Persist.Store.runPool', namely
`(runMigration migrateAll)'
In a stmt of a 'do' block:
Database.Persist.Store.runPool dbconf (runMigration migrateAll) p
In the expression:
do { manager <- newManager def;
s <- staticSite;
dbconf <- withYamlEnvironment
"config/sqlite.yml" (appEnv conf) Database.Persist.Store.loadConfig
>>= Database.Persist.Store.applyEnv;
p <- Database.Persist.Store.createPoolConfig
(dbconf :: PersistConfig);
.... }
Failed to install yesog-0.0.0
cabal: Error: some packages failed to install:
yesog-0.0.0 failed during the building phase. The exception was:
ExitFailure 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment