Skip to content

Commit c2302e0

Browse files
authored
Merge pull request #46 from circuithub/master
Allow building with recent GHCs (eg, 9.12)
2 parents 00cbaf5 + 2ae2fe1 commit c2302e0

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/Database/Schema/Migrations/Filesystem.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ instance ToJSON UTCTimeYaml where
156156

157157
-- Keeps things as the old Show/Read-based format, e.g "2009-04-15 10:02:06 UTC"
158158
utcTimeYamlFormat :: String
159-
utcTimeYamlFormat = "%F %T UTC"
159+
utcTimeYamlFormat = "%F %T%Q UTC"
160160

161161
newtype DependsYaml = DependsYaml
162162
{ unDependsYaml :: [Text]

src/Moo/Main.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ module Moo.Main
1010
)
1111
where
1212

13-
import Control.Monad.Reader (forM_, runReaderT, when)
13+
import Control.Monad (forM_, when)
14+
import Control.Monad.Reader (runReaderT)
1415
import Database.HDBC (SqlError, catchSql, seErrorMsg)
1516
import Prelude hiding (lookup)
1617
import Data.Text (Text)

0 commit comments

Comments
 (0)