ihaskell - How to install custom libraries, and use them? -
i have been trying install libraries, csv
, hs-gchart
. know ihaskell has alternatives charting wanted try install something.
i'm using gibianski's docker image.
i tried cabal install
in docker container, results docker not installed ssh'd container , installed it. still cannot import of these libraries.
then tried install stack build csv hs-gchart
, still no luck.
what straightforward/correct way install library , use ihaskell notebook?
after talking andrew gibiansky on ihaskell's gitter, recommended me fork/clone repo, add stack install <library>
in dockerfile
, , docker build -t my-ihaskell /path/to/the/ihaskell/repo
. after docker run my-ihaskell
.
now libraries work expected. (hs-gchart
fails, thats story)
Comments
Post a Comment