Add the package to your project dependencies. No need to compile it yourself.
https://docs.haskellstack.org/en/stable/GUIDE/#adding-dependencies On Thu, Mar 4, 2021 at 12:10 AM Rodolpho Pueyrredón <rpueyrre...@gmail.com> wrote: > > Hi guys. > > I took the RethinkDB 2.2 library from Hackage and compiled it on the > stack. As a result I now have these various hi files. > > [image: Captura de tela_2021-03-03_18-01-20.png] > > I was wondering how I can use this within another stack project. > > I wanted to use import Database.RethinkDB normally like any other module. > > -- > You received this message because you are subscribed to the Google Groups > "haskell-stack" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to haskell-stack+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/haskell-stack/a1553317-db5f-4bed-8bcb-c62e452d17a5n%40googlegroups.com > <https://groups.google.com/d/msgid/haskell-stack/a1553317-db5f-4bed-8bcb-c62e452d17a5n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "haskell-stack" group. To unsubscribe from this group and stop receiving emails from it, send an email to haskell-stack+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/haskell-stack/CAPkELw6nf4JOA4EH4zMjhHpJij6pfLRxuRrBPPDW5F3rWa3axA%40mail.gmail.com.