You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I raised an issue with HLS and one of the maintainers got back to me and mentioned that to fix the issue I'm having they would need stack to support absolute directories for the work-dir
For cabal, we set the work-dir (called builddir) to ~/.cache/hie-bios/...-dist-newstyle or similar. But Stack doesn't support absolute paths for work-dir (last time we checked). The reasoning for forcing relative paths for work-dir is likely outdated.
So, ideally, I think your best course of action is to raise that issue with stack maintainers (allowing HLS to set the work-dir to some absolute path), maybe even patching stack yourself, and then we can permanently work set the work-dir and you wouldn't need a stack.yaml for development.
If this sounds correct could you support this? Also I'm willing to help if I can get some pointers, and depending on how complex it is.
Thanks!
The text was updated successfully, but these errors were encountered:
psilospore
changed the title
Allowing setting the working-dir to absolute directories
Allow setting the working-dir to absolute directories
Jun 1, 2023
@psilospore, I'll look into this further, but I suspect that the specification of Stack's working directory is relative because a working directory is set up for each local package within a local project.
Hi I raised an issue with HLS and one of the maintainers got back to me and mentioned that to fix the issue I'm having they would need stack to support absolute directories for the work-dir
Issue: haskell/haskell-language-server#3616
If this sounds correct could you support this? Also I'm willing to help if I can get some pointers, and depending on how complex it is.
Thanks!
The text was updated successfully, but these errors were encountered: