-
Notifications
You must be signed in to change notification settings - Fork 841
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
Add a new hie-bios cradle component for Setup.hs #6224
Comments
By the way, I have a temporary workaround, combining the Here is my workaround: cradle:
multi:
- path: ./Setup.hs
config:
cradle:
direct:
arguments:
- -package-id=Cabal-3.8.1.0
- -package-id=base-4.17.1.0
- path: ./
config:
cradle:
stack: I did not specify the package-db (as stack would do when building |
@ruifengx, is this, essentially, one aspect of the broader issue #6154? There is no problem with adding a new |
Sorry for the lack of context. The compile options for To be more specific, by adding a About the linked issue, I think my request should in spirit be under the umbrella of that issue, although I did not quite get the details in a hurry (personally, the P.S. more on reproducing this issue itself. If we create a new stack project, add a custom-setup:
dependencies:
- base
- Cabal Load (or reload) this project in VSCode with the Haskell extension enabled, open the |
Related HLS issue: haskell/haskell-language-server#3735 |
Currently, IDE powered by haskell-language-server cannot load
Setup.hs
(custom Cabal setup scripts) as it is not listed as a valid target instack ide targets
. Can we add a new<package-name>:setup
component forSetup.hs
to support this? This component should expose the required compiler options (especially for the dependencies) for buildingSetup.hs
to HLS.The text was updated successfully, but these errors were encountered: