Add a small no-linking hack to make the GHC 902 CIs pass

See https://github.com/composewell/streamly/issues/1727
This commit is contained in:
Adithya Kumar 2022-07-26 18:26:45 +05:30
parent 3811e683ce
commit 93cc79d156
3 changed files with 25 additions and 1 deletions

View File

@ -90,7 +90,7 @@ jobs:
runner: ubuntu-latest
build: cabal
cabal_version: 3.6
cabal_project: cabal.project
cabal_project: cabal.project.902
disable_sdist_build: "y"
ignore_error: true
- name: 8.10.7-sdist-stack

View File

@ -23,6 +23,7 @@ cabal.project.report
cabal.project.packdiff
cabal.project.Werror
cabal.project.Werror-nocode
cabal.project.902
default.nix
examples/README.md
hie.yaml

23
cabal.project.902 Normal file
View File

@ -0,0 +1,23 @@
packages: streamly.cabal
, core/streamly-core.cabal
, test/streamly-tests.cabal
, benchmark/streamly-benchmarks.cabal
, docs/streamly-docs.cabal
package base-orphans
ghc-options: -optlm "--unresolved-symbols=ignore-all"
package heaps
ghc-options: -optlm "--unresolved-symbols=ignore-all"
package network
ghc-options: -optlm "--unresolved-symbols=ignore-all"
package HUnit
ghc-options: -optlm "--unresolved-symbols=ignore-all"
package colour
ghc-options: -optlm "--unresolved-symbols=ignore-all"
package clock
ghc-options: -optlm "--unresolved-symbols=ignore-all"