Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set -dynamic in cabal.project #2688

Merged
merged 2 commits into from Feb 7, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/actions/setup-build/action.yml
Expand Up @@ -67,9 +67,11 @@ runs:
# to get a executable which works for Template Haskell
# However we continue providing full static executables in releases so we have to disable it
# *for all workflows*, including test, flags and release builds
# It has to be in cabal.project to include `-dynamic` in the cabal.project.freeze
# used to compute the cache key
- name: Disable -dynamic
run: |
echo -e "package haskell-language-server\n flags: -dynamic" >> cabal.project.local
echo -e "package haskell-language-server\n flags: -dynamic" >> cabal.project
shell: bash

- if: inputs.os == 'Windows' && inputs.ghc == '8.8.4'
Expand Down