Skip to content

How could HLS be made to work with in-tree libraries and utils

@mpickering Currently only the compiler and lib:ghc are supported by HLS through Hadrian. I understand that the local hie-bios setup must be tweaked so that HLS can operate on the submodule libraries and utils (especially thinking of base and haddock).

Currently the content of ./hadrian/hie-bios is

TERM=dumb CABFLAGS=-v0 TOOL_OUTPUT=$HIE_BIOS_OUTPUT $PWD/hadrian/build-cabal tool:$1 -q \
  --build-root=.hie-bios --flavour=ghc-in-ghci -j

It's not clear to me that some things are specific to the compiler or lib:ghc

Edited by Hécate Kleidukos
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information