Skip to content

Stack setup failed with error 1 #298

@milesfrain

Description

@milesfrain
$ bash /tmp/haskell-vim-now.sh
...
HvnArgs {hvnArgsNoHoogleDb = False, hvnArgsNoHelperBinaries = False}
Setting up GHC if needed...
Stack setup failed with error 1
*** setup_haskell.hs failed with error 1.
*** Aborting...

Adding set -x to the top of the shell script shows that this is the failing command:

stack /home/miles/.config/haskell-vim-now/scripts/setup_haskell.hs

I believe I have all the dependencies:

$ ghcide --version
ghcide version: 0.2.0 (GHC: 8.6.5) (PATH: /home/miles/.local/bin/ghcide) (GIT hash: 0ddc62fb96ada49d660382fbd91835f964c241ef)
$ hlint --version 
HLint v2.1.26, (C) Neil Mitchell 2006-2019
$ hoogle --version
Hoogle 5.0.17.11, https://hoogle.haskell.org/
$ stack ghc -- --version   
The Glorious Glasgow Haskell Compilation System, version 8.8.3

Not sure if it's an issue that ghc can only be launched via stack.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions