haskell - Where does `stack build` store generated executables? -
i'm using multiple stack.yaml files build against ghc 7.8 , 7.10. how set path include binaries specific stack.yaml file, e.g. stack-7.8.yaml?
the stack path --local-install-root command solves problem. e.g., setup path binaries stack --stack-yaml stack-7.8.yaml, do
export path=$(stack --stack-yaml stack-7.8.yaml path --local-install-root):$path note: stack exec command can used here, don't want clutter scripts calls stack --stack-yaml stack-7.8.yaml exec <cmd> instead of plain <cmd>.
Comments
Post a Comment