MondayMorningHaskell / haskellings

An automated tutorial to teach you about Haskell!
BSD 3-Clause "New" or "Revised" License
166 stars 25 forks source link

Can this be made to work with cabal rather than stack? #59

Open mmynsted opened 3 years ago

mmynsted commented 3 years ago

I can use stack2cabal. I am then able to:

Then if I try haskellings run Types1, if fails because it can not find ghc.

I think tell it where ghc lives with:

haskellings configure

This is fine. I then try haskellings run Types1 again and it fails because it can not find Stack package DB. I am not sure what that is. The error is:

Couldn't find an appropriate stack package DB!

Anyway thank you for the nice app. I would like to try it with cabal.

13r0ck commented 7 months ago

Bump on this issue.

p.s. haskellings configure and GHC_PATH:"/home/$USER/.local/bin" DB_PATH:"" was the command I needed to get stack to work, otherwise I was going to abandon this project. Anyway, thanks!