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
{{ message }}
This repository has been archived by the owner on Dec 12, 2020. It is now read-only.
Stack expects the PATH to be in ~/.local/bin, but setup-stack does not.
We're debating whether to install the tool in Provide hlint executable. · Issue #5 · actions/setup-haskell, but I think the problem would be solved if we could use a global stack install.
It takes a bit of build time, but once the cache is hit, it's not much of a problem.
So if you enable Stack (which I feel is fine by default as it has fewer side effects), I suggest add ~/.local/bin to PATH.
Error example.
Warning: Installation path /home/runner/.local/bin not found on the PATH environment variable.
/home/runner/work/_temp/c954b41c-047e-4ac5-93a1-68107c296fa1.sh: line 2: hlint: command not found
The problem here is that ~/.local/bin isn't Haskell specific and this could interfere with other tools. Perhaps it would be better to make a new directory for Haskell global binaries, add that to PATH and instruct stack to install there.
The problem here is that ~/.local/bin isn't Haskell specific and this could interfere with other tools. Perhaps it would be better to make a new directory for Haskell global binaries, add that to PATH and instruct stack to install there.
Certainly, Stack has the option to change the installation location. YAML Configuration — stack documentationlocal-bin-path
However, it seems more likely that changing this default setting will interfere with other tools.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Stack expects the PATH to be in ~/.local/bin, but setup-stack does not.
We're debating whether to install the tool in Provide
hlint
executable. · Issue #5 · actions/setup-haskell, but I think the problem would be solved if we could use a global stack install.It takes a bit of build time, but once the cache is hit, it's not much of a problem.
So if you enable Stack (which I feel is fine by default as it has fewer side effects), I suggest add ~/.local/bin to PATH.
Error example.
deleted: mstksg/setup-stack · ncaq/homura-stopwatch@856d791
Thanks for create setup-haskell!
The text was updated successfully, but these errors were encountered: