Skip to content

Commit

Permalink
Update Stackage integration (#1456)
Browse files Browse the repository at this point in the history
  • Loading branch information
parsonsmatt authored Dec 20, 2022
1 parent 0c57453 commit 7222127
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion persistent-mongoDB/persistent-mongoDB.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ library
, mongoDB >= 2.3 && < 2.8
, network >= 2.6
, path-pieces >= 0.2
, resource-pool >= 0.2 && < 0.3
, resource-pool >= 0.2 && < 0.4
, resourcet >= 1.1
, text >= 1.2
, time
Expand Down
11 changes: 9 additions & 2 deletions persistent/Database/Persist/TH.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@

-- | This module provides the tools for defining your database schema and using
-- it to generate Haskell data types and migrations.
--
-- For documentation on the domain specific language used for defining database
-- models, see "Database.Persist.Quasi".
--
--
module Database.Persist.TH
( -- * Parse entity defs
persistWith
Expand All @@ -30,7 +35,11 @@ module Database.Persist.TH
-- * Turn @EntityDef@s into types
, mkPersist
, mkPersistWith
-- ** Configuring Entity Definition
, MkPersistSettings
, mkPersistSettings
, sqlSettings
-- *** Record Fields (for update/viewing settings)
, mpsBackend
, mpsGeneric
, mpsPrefixFields
Expand All @@ -41,8 +50,6 @@ module Database.Persist.TH
, mpsDeriveInstances
, mpsCamelCaseCompositeKeySelector
, EntityJSON(..)
, mkPersistSettings
, sqlSettings
-- ** Implicit ID Columns
, ImplicitIdDef
, setImplicitIdDef
Expand Down
11 changes: 1 addition & 10 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
resolver: nightly-2022-06-10
resolver: nightly-2022-12-16

packages:
- ./persistent
Expand All @@ -9,12 +9,3 @@ packages:
- ./persistent-postgresql
- ./persistent-redis
- ./persistent-qq

extra-deps:
- lift-type-0.1.0.0
- mysql-0.2.1
- mysql-simple-0.4.7
# - aeson-2.0.2.0
# https://github.com/yesodweb/shakespeare/pull/260
# https://github.com/commercialhaskell/stackage/issues/6294
# - happy-1.20.0

0 comments on commit 7222127

Please sign in to comment.