mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
83c74ac133
Co-authored-by: Vamshi Surabhi <6562944+0x777@users.noreply.github.com> GitOrigin-RevId: 673452c1fed2494b437b5fdd1f195e48b10f7634
62 lines
1.9 KiB
Plaintext
62 lines
1.9 KiB
Plaintext
-- Global project configuration.
|
|
--
|
|
-- This file can be overridden with cabal.project.local (see e.g. cabal.project.dev)
|
|
--
|
|
-- If you need to switch between several local configurations you can also
|
|
-- create a symlink to this file with a different name, e.g.:
|
|
-- $ ln -s cabal.project cabal.project.myconfig
|
|
-- $ ln -s cabal.project.freeze cabal.project.myconfig.freeze
|
|
-- ...and then create a new set of overrides in:
|
|
-- cabal.project.myconfig.local
|
|
-- ...and then invoke cabal with
|
|
-- $ cabal new-build --project-file=cabal.project.myconfig
|
|
--
|
|
-- See: https://www.haskell.org/cabal/users-guide/nix-local-build.html#configuring-builds-with-cabal-project
|
|
packages: .
|
|
|
|
constraints:
|
|
-- ensure we don't end up with a freeze file that forces an incompatible
|
|
-- version in CI for Setup.hs scripts.
|
|
setup.Cabal <3.4
|
|
|
|
allow-newer:
|
|
-- dependent-map depends on constraints-extras, but its bounds have not yet
|
|
-- been relaxed for GHC 8.10.
|
|
constraints-extras-0.3.0.2:base,
|
|
constraints-extras-0.3.0.2:constraints,
|
|
constraints-extras-0.3.0.2:template-haskell
|
|
|
|
package *
|
|
optimization: 2
|
|
-- For tooling, e.g. 'weeder', and IDE-like stuff:
|
|
ghc-options: -fwrite-ide-info
|
|
|
|
haddock-html: true
|
|
haddock-hoogle: true
|
|
haddock-hyperlink-source: true
|
|
haddock-quickjump: true
|
|
|
|
package graphql-engine
|
|
ghc-options: -j
|
|
haddock-options: "--show-all"
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/pg-client-hs.git
|
|
tag: dd8a50c1a752e50d998e11a0335de8d41dea4b6c
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/graphql-parser-hs.git
|
|
tag: f3a20ab6201669bd683d5a0c8580410af264c7d0
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/ci-info-hs.git
|
|
tag: 947fd56582b1e8bec9ffed98ca9ac2f6b63e36c9
|
|
|
|
source-repository-package
|
|
type: git
|
|
location: https://github.com/hasura/pool.git
|
|
tag: bc4c3f739a8fb8ec4444336a34662895831c9acf
|