Search code examples
haskellghccabal

where is "build-depends: " in Cabal


I need to use System. Random but I can't find where the build-depends: option is.


Solution

  • Use cabal init to create a cabal project, and add random to the build-dependencies stanza in the *.cabal file it generates.