Package Details: haskell-ide-engine 1.2-1

Git Clone URL: https://aur.archlinux.org/haskell-ide-engine.git (read-only, click to copy)
Package Base: haskell-ide-engine
Description: The engine for haskell ide-integration. Not an IDE
Upstream URL: https://github.com/haskell/haskell-ide-engine
Licenses: custom:BSD3
Submitter: Philzli
Maintainer: None
Last Packager: Philzli
Votes: 13
Popularity: 3.14
First Submitted: 2019-01-29 19:44
Last Updated: 2020-03-06 20:52

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 Next › Last »

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
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
     done
 }

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?

Poscat commented on 2020-02-08 13:09

https://wiki.archlinux.org/index.php/Unofficial_user_repositories#archlinuxcn
If you need pre-built binaries you can use our repo. We maintain a built bot that automatically rebuilds this package whenever this AUR updates.

Poscat commented on 2020-02-06 16:41

Also I think we should be using the source code in the github release since cloning the whole tree takes much longer time.

Poscat commented on 2020-02-06 16:16

I think the cabal-install and happy are not needed as stack builds in a fully isolated environment.

mrzeznicki commented on 2020-02-06 14:49

Thanks you very much for prompt updates!

Philzli commented on 2020-01-06 16:39

For some reason I didn't get a notification when 0.14.0.0 was released. Building 1.0.0.0 now. Which still isn't a stable release for some reason.