22:00:00 <franco_> Hello. I'm trying to follow hstack crash course. But I can't get rid of the error "ghc: could not execute trhsx" when I grab the code from the hsp example.
22:06:05 <franco_> I'm using stack install happstack-hsp so theoretically I have hsx installed (?) as I see trhsx is deprecated and I don't have it in ~/.cabal/bin
22:42:52 <franco_>     [1 of 1] Compiling Trhsx            ( Trhsx.hs, .stack-work/dist/x86_64-linux/Cabal- )          /tmp/stack23420/trhsx-0.2.2/Trhsx.hs:1:8: error:         Could not find module ‘Prelude’         Use -v to see a list of the files searched for.       |     1 | module Trhsx where       |        ^^^^^
22:43:06 <franco_> same problem with cabal.
22:45:01 <sclv> franco_: so why are you installing trhsx then if its deprecated?
22:46:19 <franco_> Just trying.
22:46:54 <sclv> hsx gives you the executable
22:46:55 <sclv> https://hackage.haskell.org/package/hsx-0.10.5/hsx.cabal
22:47:10 <sclv> you just need to make sure the executable is in your system directly
22:47:19 <sclv> if you're building with stack then likely its not exposed