hey thanks for this package, could you please help me, I get
/home/bruno/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.3: startProcess: invalid argument (Bad file descriptor)
btw installing used ~11gb of ram :p
Git Clone URL: | https://aur.archlinux.org/haskell-ide-engine-git.git (read-only, click to copy) |
---|---|
Package Base: | haskell-ide-engine-git |
Description: | The engine for haskell ide-integration. Not an IDE |
Upstream URL: | https://github.com/haskell/haskell-ide-engine |
Keywords: | haskell language-server-protocol |
Licenses: | |
Provides: | |
Submitter: | damien.flament |
Maintainer: | Poscat |
Last Packager: | Poscat |
Votes: | 11 |
Popularity: | 0.000592 |
First Submitted: | 2017-12-08 20:33 |
Last Updated: | 2020-06-08 20:36 |
hey thanks for this package, could you please help me, I get
/home/bruno/.stack/setup-exe-cache/x86_64-linux-tinfo6/Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.3: startProcess: invalid argument (Bad file descriptor)
btw installing used ~11gb of ram :p
The submodule issue should be fixed, and it should now properly generate all of the hie executables required to make hie-wrapper work.
the suggestion by @mexus fixed the no submodules issue for me. I don't see how you would be able to build this without it.
Can you fix the submodules issue please?
==> Starting build()...
Downloaded nightly-2018-06-02 build plan.
No setup information found for ghc-8.4.3 on your platform.
This probably means a GHC bindist has not yet been added for OS key 'linux64-ncurses6', 'linux64-tinfo6'.
Supported versions: ghc-7.8.4, ghc-7.10.2, ghc-7.10.3, ghc-8.0.1, ghc-8.0.2, ghc-8.2.1, ghc-8.2.2, ghc-8.4.1, ghc-8.4.2
==> ERROR: A failure occurred in build().
Aborting...
To make HIE work for all (supported) versions of GHC, you need to replace
stack build
with
make build-all
This has the added benefit of generating a local hoogle database.
Adding a prepare statement with a 'submodule update' solved the issue for me:
prepare() {
cd "${srcdir}/${_pkgname}"
git submodule update --init --recursive
}
I am getting an error during build:
==> Starting build()...
Stack looks for packages in the directories configured in the 'packages' variable defined in your stack.yaml
The current entry points to /var/cache/pacman/pkg/haskell-ide-engine-git23186/haskell-ide-engine-git/src/haskell-ide-engine/submodules/HaRe/ but no .cabal file could be found there.
It looks like it's because the git directory is not cloned with --recursive, which changed recently: https://github.com/haskell/haskell-ide-engine/pull/535
Haskell IDE engine under Arch is one big mess. If you want to get and keep it working, you need to do the following
[1] https://github.com/haskell/haskell-ide-engine/issues/483#issuecomment-369298545
[2] https://github.com/haskell/haskell-ide-engine/issues/400#issuecomment-377181789
[3] https://github.com/haskell/haskell-ide-engine/issues/497#issuecomment-377183198
@marmistrz: Did you find a solution to this error?
Pinned Comments
Poscat commented on 2019-10-26 04:26
Fixed the PKGBUILD, it sould build now.