Closed
Description
I have a project I build with two compilers simultaneously (specifically, server and client part of which built by ghc and ghcjs respectively). With stack 1.0.4.3 I can do this:
> stack path --compiler ghcjs-0.2.0_ghc-7.10.3 --local-install-root
/home/user/project/.stack-work/install/x86_64-linux/lts-5.14/ghcjs-0.2.0_ghc-7.10.2
Since stack 1.1.0 I get:
> stack path --compiler ghcjs-0.2.0_ghc-7.10.3 --local-install-root
Invalid argument `ghcjs-0.2.0_ghc-7.10.3'
Auxiliary command not found in path `stack-path'
File does not exist or is not a regular file `path'
Looks like in 2f7755d --compiler
has been added to stack path
as an option to print out path to compiler's binary, which overrides general meaning of --compiler
as an option specifying compiler to use. --compiler
still works in other commands as before, for example in stack build
.
Could the new --compiler
option be renamed to something else? Is there a way now to get compiler-specific stack paths?