I’m trying to hack on a haskell project at the moment. I don’t need to package it with nix or anything… I’m just trying to hack. The project is built with cabal/ghc. I tried getting started with simply
nix-shell -p cabal-install ghc, but I’m getting the following error:
❯ nix-shell -p cabal-install ghc [nix-shell:~/dev/graphql-engine/server]$ cabal new-build cabal: Cannot find the program 'ghc'. User-specified path 'ghc-8.10.2' does not refer to an executable and the program is not on the system path.
What’s going on here? Why don’t the
ghc packages play nicely together?