I have a program that uses GHC-API to work with Haskell source files. The source files import modules from specific cabal-packages, which means that the cabal packages must be installed to the system where my program is ran.
What is the easiest way to distribute my program? I would not like to install ghc on each target system. Can I, for example, make some kind of portable a cabal sandbox that I could distribute with my program? How? Is there a better solution?