HsShellScript registers itself in GHC's package management system during installation. Therefore all you need is to add "-package hsshellscript" to the command line when compiling and linking.
-package hsshellscript
HsShellScript User Manual main page