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
We already have a warning about this, but it gets lost in the mix:
Installing library in
/tmp/stack-upgrade17612/stack/.stack-work/install/x86_64-linux/lts-3.7/7.10.2/lib/x86_64-linux-ghc-7.10.2/stack-0.1.7.0-1qCQzKMpF5B2dxtC0o3K2h
Installing executable(s) in
/tmp/stack-upgrade17612/stack/.stack-work/install/x86_64-linux/lts-3.7/7.10.2/bin
Registering stack-0.1.7.0...
Completed all 2 actions.
Installation path /home/mgsloan/.local/bin not found in PATH environment variable
Copying from /tmp/stack-upgrade17612/stack/.stack-work/install/x86_64-linux/lts-3.7/7.10.2/bin/stack to /home/mgsloan/.local/bin/stack
Copied executables to /home/mgsloan/.local/bin:
- stack
There's a Installation path /home/mgsloan/.local/bin not found in PATH environment variable hiding in there. I'd rather see:
Completed all 2 actions.
Copying from /tmp/stack-upgrade17612/stack/.stack-work/install/x86_64-linux/lts-3.7/7.10.2/bin/stack to /home/mgsloan/.local/bin/stack
Copied executables to /home/mgsloan/.local/bin:
- stack
WARNING: Installation path /home/mgsloan/.local/bin not found in PATH environment variable.
There's also the case where the installation path is on the PATH, but some earlier dir in PATH also contains an executable with this name (shadowing). In this case, I think it makes sense to output something like WARNING: The "stack" executable found on the PATH environment variable is /usr/bin/stack, and not the version that was just installed. This means that "stack" calls on the command line will not use this version.
The text was updated successfully, but these errors were encountered:
We already have a warning about this, but it gets lost in the mix:
There's a
Installation path /home/mgsloan/.local/bin not found in PATH environment variable
hiding in there. I'd rather see:There's also the case where the installation path is on the PATH, but some earlier dir in PATH also contains an executable with this name (shadowing). In this case, I think it makes sense to output something like
WARNING: The "stack" executable found on the PATH environment variable is /usr/bin/stack, and not the version that was just installed. This means that "stack" calls on the command line will not use this version.
The text was updated successfully, but these errors were encountered: