From 095d45a28f5b43ec5ccb688bf65d78ba2cda1326 Mon Sep 17 00:00:00 2001 From: Javier Neira Date: Thu, 3 Feb 2022 11:03:12 +0100 Subject: [PATCH] Set -dynamic in cabal.project To fix the build workflow --- .github/actions/setup-build/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-build/action.yml b/.github/actions/setup-build/action.yml index d86504bc01..b99b5e4089 100644 --- a/.github/actions/setup-build/action.yml +++ b/.github/actions/setup-build/action.yml @@ -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'