2020-01-24 02:20:58 +03:00
|
|
|
|
-- 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
|
|
|
|
|
--
|
2020-02-13 20:38:23 +03:00
|
|
|
|
-- See: https://www.haskell.org/cabal/users-guide/nix-local-build.html#configuring-builds-with-cabal-project
|
2020-01-18 01:07:15 +03:00
|
|
|
|
packages: .
|
|
|
|
|
|
2020-05-13 15:33:16 +03:00
|
|
|
|
constraints:
|
2020-05-29 16:21:39 +03:00
|
|
|
|
-- ensure we don’t end up with a freeze file that forces an incompatible
|
2020-04-03 11:24:51 +03:00
|
|
|
|
-- version in CI for Setup.hs scripts.
|
|
|
|
|
setup.Cabal <3.4
|
2020-05-13 15:33:16 +03:00
|
|
|
|
|
2020-01-18 01:07:15 +03:00
|
|
|
|
package *
|
|
|
|
|
optimization: 2
|
2020-04-03 11:24:51 +03:00
|
|
|
|
-- For tooling, e.g. 'weeder', and IDE-like stuff:
|
|
|
|
|
ghc-options: -fwrite-ide-info
|
2020-01-18 01:07:15 +03:00
|
|
|
|
|
|
|
|
|
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
|
2020-07-20 11:15:15 +03:00
|
|
|
|
tag: 5b112acaaae15664e2bc0817b1a17f44f04df69b
|
2020-01-18 01:07:15 +03:00
|
|
|
|
|
|
|
|
|
source-repository-package
|
|
|
|
|
type: git
|
|
|
|
|
location: https://github.com/hasura/graphql-parser-hs.git
|
2020-06-08 15:13:01 +03:00
|
|
|
|
tag: f4a093981ca5626982a17c2bfaad047cc0834a81
|
2020-01-18 01:07:15 +03:00
|
|
|
|
|
|
|
|
|
source-repository-package
|
|
|
|
|
type: git
|
|
|
|
|
location: https://github.com/hasura/ci-info-hs.git
|
2020-07-31 14:50:32 +03:00
|
|
|
|
tag: 947fd56582b1e8bec9ffed98ca9ac2f6b63e36c9
|