Given the following snippet from my ~/.ghci:
import qualified IPPrint import qualified Language.Haskell.HsColour as HsColour import qualified Language.Haskell.HsColour.Colourise as HsColour import qualified Language.Haskell.HsColour.Output as HsColour
I expect it to find the libraries that were built and installed under my user’s profile. I can’t seem to figure out how to get the libraries, installed with:
nix-env -f "<nixpkgs>" -iA myHaskellEnv
where myHaskellEnv is a function that is defined in ~/.config/nixpkgs/config.nix, per the developer docs in the manual:
myHaskellEnv = self.haskell.packages.ghc844.ghcWithHoogle (haskellPackages: with haskellPackages; [ # libraries arrows async cgi criterion zlib pure-zlib zlib-bindings # tools haskintex hscolour ipprint # haskellPackages. happy ]);
Anyway, I’m trying really hard to make this all work happy, but am stymied at every turn, really frustrating. What am I not loading/doing to get libraries that are built to be recognized?