You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm relatively new to Haskell. I was trying to use HLS but it was crashing while initialising, that's when I stumbled upon this project.
I've downloaded the latest release and was trying to build it using cabal to get the executable, however the build seems to be failing with the following error:
src/Development/IDE/Import/FindImports.hs:225:40: error: [GHC-83865]
• Couldn't match type ‘(Unit, UnusableUnit)’ with ‘UnusableUnit’
Expected: [UnusableUnit]
Actual: [(Unit, UnusableUnit)]
• In the expression: unusables'
In a record update at field ‘fr_unusables’,
with type constructor ‘FindResult’
and data constructor ‘NotFound’.
In the expression: notFound {fr_unusables = unusables'}
|
225 | in notFound {fr_unusables = unusables'}
| ^^^^^^^^^^
[35 of 74] Compiling Development.IDE.GHC.Warnings ( src/Development/IDE/GHC/Warnings.hs, dist/build/Development/IDE/GHC/Warnings.o, dist/build/Development/IDE/GHC/Warnings.dyn_o )
[36 of 74] Compiling Development.IDE.Core.Tracing ( src/Development/IDE/Core/Tracing.hs, dist/build/Development/IDE/Core/Tracing.o, dist/build/Development/IDE/Core/Tracing.dyn_o )
[37 of 74] Compiling Development.IDE.Core.Preprocessor ( src/Development/IDE/Core/Preprocessor.hs, dist/build/Development/IDE/Core/Preprocessor.o, dist/build/Development/IDE/Core/Preprocessor.dyn_o )
[38 of 74] Compiling Development.IDE.Types.Monitoring ( src/Development/IDE/Types/Monitoring.hs, dist/build/Development/IDE/Types/Monitoring.o, dist/build/Development/IDE/Types/Monitoring.dyn_o )
[39 of 74] Compiling Development.IDE.Monitoring.OpenTelemetry ( src/Development/IDE/Monitoring/OpenTelemetry.hs, dist/build/Development/IDE/Monitoring/OpenTelemetry.o, dist/build/Development/IDE/Monitoring/OpenTelemetry.dyn_o )
[40 of 74] Compiling Development.IDE.Monitoring.EKG ( src/Development/IDE/Monitoring/EKG.hs, dist/build/Development/IDE/Monitoring/EKG.o, dist/build/Development/IDE/Monitoring/EKG.dyn_o )
[69 of 74] Compiling Generics.SYB.GHC ( src/Generics/SYB/GHC.hs, dist/build/Generics/SYB/GHC.o, dist/build/Generics/SYB/GHC.dyn_o )
[70 of 74] Compiling Text.Fuzzy.Parallel ( src/Text/Fuzzy/Parallel.hs, dist/build/Text/Fuzzy/Parallel.o, dist/build/Text/Fuzzy/Parallel.dyn_o )
Error: [Cabal-7125]
Failed to build ghcide-2.5.0.0 (which is required by exe:static-ls from static-ls-0.1.2). See the build log above for details.
Same error when installing directly via cabal too.
Also, it would great if some setup instructions could be provided, I've got all the other plugins setup, only missing the binary.
The text was updated successfully, but these errors were encountered:
❯ ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.6.6
Also I did a bit of digging, in the archive that is being downloaded from Hackage, this piece of code doesn't even exist. No clue where it is being picked up from.
Oh I see the releases may have been a bit misleading - they were simply the hackage packaged version. If you build from source you shouldn't run into the issue anymore when I get the chance I'll upload the latest version to hackage!
Hi, I'm relatively new to Haskell. I was trying to use HLS but it was crashing while initialising, that's when I stumbled upon this project.
I've downloaded the latest release and was trying to build it using cabal to get the executable, however the build seems to be failing with the following error:
Same error when installing directly via cabal too.
Also, it would great if some setup instructions could be provided, I've got all the other plugins setup, only missing the binary.
The text was updated successfully, but these errors were encountered: