-
-
Notifications
You must be signed in to change notification settings - Fork 406
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.project
setting is not a good fit since conditionals are not supported and would not help with B) - A conditional
ghc-options: -dynamic
inhaskell-language-server.cabal
doesn't play well withcabal v2-build
- A
cabal-dynamic.project.local
file 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