Open dduenker opened 4 years ago
Thanks for spotting yet another missing thing in documentation..for now, you can use --ghc-option=-optl--export-function=...
as additional Cabal configure flag when you're building your "executable" with ahc-cabal
.
Also worth noting: the prebuilt Docker image now contains cassava
in the global package database, so maybe you can try using ahc-link
with the image first.
Thank you very much, i am able to continue with this :D
Hi, i am a bit confused as of how to use this project when i am importing packages, which are not installed by default. I have a project, which uses cassava (and also other packages) and imports it via
import Data.Csv
. I want to export a function from my project to use it via javascript. I am able to compile usingahc-cabal
, butahc-dist
does not appear to support--export-function
. How can i accomplish this withahc-link
?