Skip to content

stack install intero-0.1.15 installs whichever intero was already built #2373

@Blaisorblade

Description

@Blaisorblade

That is, to say the least, unexpected. If it can't install the version I'm asking for, I'd hope for a warning.

I conjecture this might relate on Cabal not tracking versions of installed executables, unless they come with a library. intero comes with no library, while pandoc does.
I don't think that changes the expected behavior, just the hardness of the fix.

$ stack install intero-0.1.15
Run from outside a project, using implicit global project config
Using resolver: lts-6.6 from implicit global project's config file: /Users/pgiarrusso/.stack/global/stack.yaml
Copying from /Users/pgiarrusso/.stack/global/.stack-work/install/x86_64-osx/lts-6.6/7.10.3/bin/intero to /Users/pgiarrusso/.local/bin/intero

Copied executables to /Users/pgiarrusso/.local/bin:
- intero
$ intero --version
0.1.16
$ which intero
/Users/pgiarrusso/.local/bin/intero

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions