Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ index-state: 2022-02-19T11:25:10Z
extra-lib-dirs:
/usr/pgsql-14/lib

package pg-entity
package *
ghc-options:
"-L /usr/pgsql-14/lib"
haddock-options:
"--optghc=-L /usr/pgsql-14/lib"

source-repository-package
type: git
location: https://github.com/ElderEphemera/deriving-th
tag: c1ea0852f03e823d38ad589c4b61949a3c21e1a1
1 change: 1 addition & 0 deletions pg-entity.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ library
, uuid ^>= 1.3
, vector ^>= 0.12
, text-display ^>= 0.0
, deriving-th

test-suite entity-test
import: common-extensions
Expand Down
6 changes: 6 additions & 0 deletions src/Database/PostgreSQL/Entity/Internal/TH.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{-# LANGUAGE TemplateHaskell #-}

module Database.PostgreSQL.Entity.TH where

import DerivingTH.Class
import Language.Haskell.TH