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
I have -- stack script --resolver lts-13.18 --package shake at the top of a script Build.hs, however stack repl Build.hs doesn't pick this up and instead uses the global stack.yaml.
I'm just wondering how it could even work as stack script uses shell to sell all the details...
If you want to look into it @buggymcbugfix - sure go ahead, I could help you with some details I know about.
I am closing because stack <haskell_source_file> and stack repl (or stack ghci) are distinct commands. The former makes use of the script interpreter. The latter runs GHCi loaded up with project packages or their components.
Tested with: Version 2.5.1, Version 2.4.0
I have
-- stack script --resolver lts-13.18 --package shake
at the top of a scriptBuild.hs
, howeverstack repl Build.hs
doesn't pick this up and instead uses the globalstack.yaml
.This also causes lsp integration to break: haskell/haskell-language-server#111
The text was updated successfully, but these errors were encountered: