Closed lishine closed 4 years ago
stack build
is for building, stack install
is for installing. I'd recommend lts-16.0
.
I believe stack install
just copies the compiled binary to ~/.local.bin
, so make sure that path in on your PATH
.
Great! Indeed, all I needed to do is stack install ormolu It is for new project with 16+ resolver. So the readme should be updated, that for stack only needed to do: stack install ormolu
And the vscode extension works. Just select the ormolu formatter.
It formats great btw! Better than hie
Good to hear! I mentioned stack install
in the readme.
It should be
stack install ormolu
And the other stuff is not needed or at least confusing.
stack install ormolu
uses the version of the code from the Stackage snapshot, while we give instructions for building and installing the current version of code from the repo.16.0
is for reproducibility. We know that it works with 16.0
so to ensure that your build will succeed. Sure, it also probably works 16.1
and others, but it does not matter.stack.yaml
file.
It is unclear, how to install ormolu using this
I edited the stack.yaml:
Ormolu still not installed