Package Details: haskell-ide-engine 1.4-1

Git Clone URL: (read-only, click to copy)
Package Base: haskell-ide-engine
Description: The engine for haskell ide-integration. Not an IDE
Upstream URL:
Licenses: custom:BSD3
Submitter: Philzli
Maintainer: glib
Last Packager: glib
Votes: 14
Popularity: 0.036100
First Submitted: 2019-01-29 19:44
Last Updated: 2020-05-11 00:47

Dependencies (1)

Required by (0)

Sources (1)

Pinned Comments

Philzli commented on 2019-10-17 19:06

If you are suffering from long build times: Consider adjusting the _enabled_ghc_versions variable in the PKGBUILD to only the ghc versions you need.

Latest Comments

1 2 3 4 Next › Last »

mrzeznicki commented on 2020-05-11 01:59

@glib Oh, thank you, that's really kind of you! I'm sorry if I came across as too insistent, but I was afraid that this important package was getting neglected. Once again thanks for stepping up!

glib commented on 2020-05-11 01:01


Thank you for your kind gesture. I have updated the package to reflect the release of hie 1.4 (05-03), and I will make sure to update it faster next time.

mrzeznicki commented on 2020-05-10 20:06

Since the maintainer (called glib) is not doing his job despite flagging the package and my attempts to contact him via his public e-mail, I am posting the modified PKGBUILD to update the package to 1.4-1. One notable change is the support for GHC 8.8.3

diff --git a/PKGBUILD b/PKGBUILD
index f6720b5..3094f85 100644
@@ -1,20 +1,20 @@
 # Maintainer: Philippe Hürlimann <>
 pkgdesc="The engine for haskell ide-integration. Not an IDE"

-# Supported are '8.4.2' '8.4.3' '8.4.4' '8.6.4' '8.6.5' '8.8.1' '8.8.2'
+# Supported are '8.4.2' '8.4.3' '8.4.4' '8.6.4' '8.6.5' '8.8.1' '8.8.2' '8.8.3'
 # activated by default are the ones also used in a stackage snapshot. Removing
 # versions you do not use will greatly reduce the compilation time of this
 # package
-_enabled_ghc_versions=('8.4.3' '8.4.4' '8.6.4' '8.6.5' '8.8.2')
+_enabled_ghc_versions=('8.6.5' '8.8.2' '8.8.3')

 build() {
     cd "${srcdir}/${pkgname}-${pkgver}"

You should probably modify _enabled_ghc_versions to whatever suits you better. Enjoy

0003c9fe commented on 2020-04-28 04:26

Anyone else getting "Out of Memory" errors when they try to build?

tobidot commented on 2020-04-21 20:01


(Update: This has been resolved)

I following problem. After I install haskell-ide-engine with aura

sudo aura -A haskell-ide-engine --hotedit

and only allow 8.6.5 it works right after the installation.

However, when I reboot I get following error:

$ hie-wrapper 
hie-wrapper: error while loading shared libraries: cannot open shared object file: No such file or directory

Is anyone else experiencing this problem?

I found the problem in the meantime:

This was caused by the section Avoiding Stack bloat by dynamic Linking in the arch wiki haskell page. Removing these line from my .stack/config.yaml solved the problem.

I leave this here in case someone else runs in this problem.

ZenTauro commented on 2020-02-25 11:51

I made this changes from commit be9f535fc5ba

diff --git a/PKGBUILD b/PKGBUILD
index 3c5bc0c..46791cf 100644
@@ -14,12 +14,12 @@ sha384sums=('066cbac86f8a2bdcb68463188effa1a5f1d6804afa251caa351673a541eced306ed
 # activated by default are the ones also used in a stackage snapshot. Removing
 # versions you do not use will greatly reduce the compilation time of this
 # package
-_enabled_ghc_versions=('8.4.3' '8.4.4' '8.6.4' '8.6.5')
+_enabled_ghc_versions=('8.6.4' '8.6.5')

 build() {
     cd "${srcdir}/${pkgname}-${pkgver}"
     for ver in "${_enabled_ghc_versions[@]}"; do
-        stack --stack-yaml=stack-${ver}.yaml build
+        stack --stack-yaml=stack-${ver}.yaml build --ghc-options="-O2"

then I just executed makepkg

edit: formatting

Philzli commented on 2020-02-16 14:15

@ZenTauro please provide clear and easy to follow instructions on how to reproduce your error.

ZenTauro commented on 2020-02-16 13:40

edit: It also happens without that flag, I could build the previous version, but now it fails

When building this package with --gch-options="-O2" I get this error:

2020-02-16 14:33:38.793614: [error] configure: error: Failed to determine machine word size. Does your toolchain actually work?
2020-02-16 14:33:38.820988: [error] Received ExitFailure 1 when running
Raw command: /home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4.temp/ghc-8.6.4/configure --prefix=/home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4/
Run from: /home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4.temp/ghc-8.6.4/

2020-02-16 14:33:38.821200: [error] 
Error: Error encountered while configuring GHC with
         /home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4.temp/ghc-8.6.4/configure --prefix=/home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4/
         run in /home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4.temp/ghc-8.6.4/

       The following directories may now contain files, but won't be used by stack:
         - /home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4.temp/
         - /home/zentauro/.stack/programs/x86_64-linux/ghc-tinfo6-8.6.4/

       For more information consider rerunning with --verbose flag

Configuring GHC ...

Philzli commented on 2020-02-08 17:16

mrzeznicki: You're welcome :)

Philzli commented on 2020-02-08 17:02

Poscat: I applied your two suggestions.

Why are you building hie with only one GHC version in archlinuxcn?