graphql-engine/cabal
Auke Booij 09e328223e Fix build errors related to dynamic building
When building under the `dev.sh`-adjusted `cabal.local` files, it's not possible to build all Haskell components:
```shell
$ cabal build all all:tests all:benchmarks
[... snipped ...]
[1 of 1] Compiling Harness.GraphqlEnginePro ( src/Harness/GraphqlEnginePro.hs, /home/auke/graphql-engine-mono/dist-newstyle/build/x86_64-linux/ghc-9.2.5/test-harness-pro-0.1.0.0/opt/build/Harness/GraphqlEnginePro.o, /home/auke/graphql-engine-mono/dist-newstyle/build/x86_64-linux/ghc-9.2.5/test-harness-pro-0.1.0.0/opt/build/Harness/GraphqlEnginePro.dyn_o )

src/Harness/GraphqlEnginePro.hs:13:1: error:
    Could not find module 'Control.Concurrent.Extended'
    There are files missing in the 'graphql-engine-1.0.0' package,
    try running 'ghc-pkg check'.
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
13 | import Control.Concurrent.Extended (sleep)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Harness/GraphqlEnginePro.hs:14:1: error:
    Could not find module 'Data.Environment'
    There are files missing in the 'graphql-engine-1.0.0' package,
    try running 'ghc-pkg check'.
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
14 | import Data.Environment qualified as Env
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6962
GitOrigin-RevId: dd7992dfa4e5b999f9b3d39389121bde1465965d
2022-11-21 15:07:53 +00:00
..
ci-haddock.project server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
ci-haddock.project.freeze server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
ci-haddock.project.local Fix build errors related to dynamic building 2022-11-21 15:07:53 +00:00
ci.project server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
ci.project.freeze server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
ci.project.local server: more GHC 9.2 changes compatible with 8.10 (#3550) 2022-07-07 16:51:18 +00:00
dev-sh.project server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
dev-sh.project.freeze server: Clean up Cabal project files 2022-04-07 07:16:12 +00:00
dev-sh.project.local Fix build errors related to dynamic building 2022-11-21 15:07:53 +00:00
dev.project server: GHC 9.2 changes compatible with 8.10 (#3550) 2022-06-25 22:09:05 +00:00