[Haskell-cafe] How to know the build dependencies?
gwern0 at gmail.com
Sat Jun 13 23:13:21 EDT 2009
-----BEGIN PGP SIGNED MESSAGE-----
On Sat, Jun 13, 2009 at 10:22 PM, Magicloud Magiclouds wrote:
> I am learning to use cabal for my code.
> Just when I start, I met a question, is there an easy way to find
> out what packages my code depends?
Not really. The easiest way is to just build your code and add every
package Cabal complains about being hid into your build-depends.
(Usually this won't take more than a minute or 3 if you're toggling
between a terminal and an editor.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Haskell-Cafe