user13101912
user13101912

Reputation:

where is "build-depends: " in Cabal

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

Upvotes: 0

Views: 359

Answers (1)

Daniel Wagner
Daniel Wagner

Reputation: 152682

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

Upvotes: 1

Related Questions