According to its configuration[1] you can use resolver: nightly-2017-05-07 https://github.com/AtnNn/haskell-rethinkdb/blob/master/stack.yaml
That's kinda old, yes. Maybe it wouldn't even work after all the protocol updates. On Thu, Mar 4, 2021 at 7:18 PM Rodolpho Pueyrredón <rpueyrre...@gmail.com> wrote: > I tried this, but incompatibilities appear. The rethinkdb package is a > little old. > > [image: Captura de tela_2021-03-04_13-11-03.png] > > I tried to use 'allow-newer', but it gives error. The rethinkdb-2.2.0.10 > package requires another, older version of the GHC. I don't know how to > get around this. So when I compile separately it works because it uses > the right version. > > That is, I would have to compile the code with a newer version of the GHC > and only for that package to use an old version. But I don't think that > can be done. > Em quinta-feira, 4 de março de 2021 às 11:54:33 UTC-3, Alexander > Bondarenko escreveu: > >> 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 <rpuey...@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-stac...@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/a0dc2b40-3eb7-46b2-a1b8-e211cdc67017n%40googlegroups.com > <https://groups.google.com/d/msgid/haskell-stack/a0dc2b40-3eb7-46b2-a1b8-e211cdc67017n%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/CAPkELw7y%3DLQ9apCcfaopaUnyYZQYC4e1BhkekFBUKMRzOzDOPQ%40mail.gmail.com.