diff --git a/Hledger/Cli/Commands/Web.hs b/Hledger/Cli/Commands/Web.hs index 5e0cd5c84..67bb7e18b 100644 --- a/Hledger/Cli/Commands/Web.hs +++ b/Hledger/Cli/Commands/Web.hs @@ -13,9 +13,7 @@ import Data.Either import System.FilePath ((), takeFileName) import System.IO.Storage (withStore, putValue, getValue) import Text.ParserCombinators.Parsec (parse) -import Yesod hiding (defaultHamletSettings) -import Text.Hamlet.Parse (defaultHamletSettings) -import Text.Hamlet.RT +import Yesod import Yesod.Helpers.Static import Hledger.Cli.Commands.Add (journalAddTransaction) diff --git a/hledger.cabal b/hledger.cabal index e86a7ee7e..edec2932a 100644 --- a/hledger.cabal +++ b/hledger.cabal @@ -110,9 +110,11 @@ executable hledger other-modules:Hledger.Cli.Commands.Web build-depends: io-storage >= 0.3 && < 0.4 - ,yesod >= 0.4.0 && < 0.5 - ,convertible-text >= 0.3.0.1 - ,data-object >= 0.3.1.2 + ,yesod >= 0.4.1 && < 0.5 + ,hamlet >= 0.4.2 && < 0.5 + ,convertible-text >= 0.3.0.1 && < 0.4 + ,data-object >= 0.3.1.2 && < 0.4 + ,failure >= 0.1 && < 0.2 if flag(web610) cpp-options: -DWEB610