Skip to content

Commit 6cdd5be

Browse files
jneiramergify[bot]
andauthored
Set -dynamic in cabal.project (#2688)
To fix the build workflow Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 411db02 commit 6cdd5be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/actions/setup-build/action.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,11 @@ runs:
6767
# to get a executable which works for Template Haskell
6868
# However we continue providing full static executables in releases so we have to disable it
6969
# *for all workflows*, including test, flags and release builds
70+
# It has to be in cabal.project to include `-dynamic` in the cabal.project.freeze
71+
# used to compute the cache key
7072
- name: Disable -dynamic
7173
run: |
72-
echo -e "package haskell-language-server\n flags: -dynamic" >> cabal.project.local
74+
echo -e "package haskell-language-server\n flags: -dynamic" >> cabal.project
7375
shell: bash
7476

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

0 commit comments

Comments
 (0)