A static-mode GHC toolchain (e.g. on Windows) where Haskell libraries are only compiled to static archives. GHCi can load these, provided they are built with -fPIC (and -fexternal-dynamic-refs on Unix).
A C library dependency that only provides a pic_static_library. GHCi's loader can usually load these.
Currently
hrepl
assumes GHC is dynamically linked and thatghci
will load dynamic libraries. Quoting https://github.com/tweag/rules_haskell/pull/1210#discussion_r365739184, there are two situations where this is relevant: