I am trying to run ghci on my terminal but it can't see the libraries, what is the syntax to run ghci?
Here is the output I get from just running ghci
:
ghci
GHCi, version 8.10.1: https://www.haskell.org/ghc/ :? for help
Loaded package environment from /Users/fg/.ghc/x86_64-darwin-8.10.1/environments/default
Loaded GHCi configuration from /Users/fg/.ghci
cannot satisfy -package ihp
(use -v for more information)
<no location info>: error:
Could not find module ‘IHP.Prelude’
It is not a module in the current program, or in any known package.
that worked, thanks!
Can you try to run
nix-shell
before runningghci
?