-
-
Notifications
You must be signed in to change notification settings - Fork 410
Closed
Labels
old_type: distributionstatus: needs infoNot actionable, because there's missing informationNot actionable, because there's missing informationtype: enhancementNew feature or requestNew feature or request
Description
We want A)git clone .. && cd <dir> && cabal install haskell-language-server to build a -dynamic binary by default on Linux, MacOs and any other supported platforms, excluding Windows, for the reasons outlined in https://github.com/haskell/haskell-language-server/blob/1ba88ab9eca1da29cd4fee7d2084eba4074fbe47/docs/troubleshooting.md#problems-with-dynamic-linking
Similarly, we also want B)cabal unpack haskell-language-server && cd <dir> && cabal install to build dynamic executables.
What's the best way to do this? Summarising the discussion at https://gitlab.haskell.org/haskell/ghcup-hs/-/issues/245:
- A
cabal.projectsetting is not a good fit since conditionals are not supported and would not help with B) - A conditional
ghc-options: -dynamicinhaskell-language-server.cabaldoesn't play well withcabal v2-build - A
cabal-dynamic.project.localfile would require an extra step and would not help with B) either
Metadata
Metadata
Assignees
Labels
old_type: distributionstatus: needs infoNot actionable, because there's missing informationNot actionable, because there's missing informationtype: enhancementNew feature or requestNew feature or request