Skip to content

Error in files from https://gitlab.haskell.org/ghc/ghc.git #4659

@Aster89

Description

@Aster89

Your environment

I use GHCup to manage anything Haskell-related that I personally install and use. Some Haskell packages are installed on my system via pacmna, but that's probably because they are dependencies to other packages like shellcheck. I make use of Cabal, not Stack, for configuring projects.

Which OS do you use?
up-to-date ArchLinux

Which version of GHC do you use and how did you install it?
9.10.1 from ghcup 0.1.50.2

How is your project built (alternative: link to the project)?

I just did this, in an attempt to build ghc to experiment with it for contributing.

git clone https://gitlab.haskell.org/ghc/ghc.git
cd ghc/
git submodule update --init
./boot
./configure
./hadrian/build -j8
cd libraries/haskeline
cabal test # incidentally, this failed, not sure if it's relevant in any way

Which LSP client (editor/plugin) do you use?
terminal Vim + YCM

Which version of HLS do you use and how did you install it?
2.10.0.0 from ghcup, etc.

Have you configured HLS in any way (especially: a hie.yaml file)?

What's wrong?

When I open a file, I get this error on the first line:

(GhcSession,NormalizedFilePath "/home/enrico/ghc/libraries/haskeline/System/Console/Haskeline/Vi.hs")/home/enrico/ghc/libraries/haskeline/hadrian/hie-bios: streamingProcess: execvpe: does not exist (No such file or directory)

It's possibly worth specifying that HLS just works fine in the in the repo I clone from https://github.com/haskell/haskeline

Debug information

Not sure what else I can provide. Please, let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: supportUser support tickets, questions, help with setup etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions