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
{{ message }}
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
Add an option for hrepl to only print the relevant flags to GHCi for loading the specified range of targets. This should probably exclude flags that are only required for hrepl specifics, e.g. for the ghci script that hrepl defines.
Use-case
The use-case I have in mind is to use hrepl in a hie-bios cradle to enable ghcide to load rules_haskell projects.
hie-bios has a bios cradle that takes a program that will write all required GHC flags to a file specified by the $HIE_BIOS_OUTPUT environment variable. hrepl could be used as that program. Furthermore, hie-bios could be extended with a dedicated Bazel cradle (reviving the currently disabled one).
Feature
Add an option for
hreplto only print the relevant flags to GHCi for loading the specified range of targets. This should probably exclude flags that are only required forhreplspecifics, e.g. for the ghci script thathrepldefines.Use-case
The use-case I have in mind is to use
hreplin ahie-bioscradle to enableghcideto load rules_haskell projects.hie-bioshas abioscradle that takes a program that will write all required GHC flags to a file specified by the$HIE_BIOS_OUTPUTenvironment variable.hreplcould be used as that program. Furthermore,hie-bioscould be extended with a dedicated Bazel cradle (reviving the currently disabled one).An example use-case could look like this:
Assuming wild-card support in
hrepl(or thebazelcradle) and multi-cradle support inghcide.