trhsx
comes from the hsx
package now. The reason for the error is that cabal installs the executable in $HOME/.cabal/bin
by default. But, $HOME/.cabal/bin
is not in your $PATH
by default.
If you add that to your $PATH
, then everything should be ok.