Shipping an executable with Language.Haskell.Interpreter
seems to go perfect with the way you have shown. You have to set your PATH
to the script you want to execute.
And as of side note, as mentioned by @bennofs in comments, Statically linking the GHC API doesn't work with the new dynamic linker introduced in GHC 7.8, (interactive code execution now requires dynamic libraries).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With