Rethink/rework the HIE BIOS #1053
Description
haskell-ide-engine
has the concept of a BIOS. which is the layer that interfaces with the underlying operating system, package manager, etc.
To date, we have been using modified versions of cabal-helper
and ghc-mod
, in forked repos from the main upstream.
It has now been several years, and we still cannot put hie
onto hackage, because we do not have a clean dependency list.
So, time to reconsider our options.
-
Apply resources to getting
cabal-helper
,ghc-mod-core
andghc-mod
as used by hie onto hackage. -
Adapt https://github.com/kazu-yamamoto/hhp, which has
cabal new-build
support. -
Something else, perhaps based on what
ghcid
is doing.
Prerequisites are that it supports stack
, cabal old build
, cabal new-build
, and nix
.
But, realistically, we can assume GHC >= 8.2.2, and for the cabal builds, cabal-install
>= 2.4.1.0