[Haskell-cafe] Cabal config file - default install flags?

13 views
Skip to first unread message

Lucas Paul

unread,
Jan 31, 2015, 4:02:23 PM1/31/15
to haskell
I'd like to have cabal automatically use -j8 when I cabal install
something. Is there something I can put into the .cabal/config file
that will accomplish this?

More generally, where can I find documentation on that config file?

- Lucas Paul
_______________________________________________
Haskell-Cafe mailing list
Haskel...@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Konstantine Rybnikov

unread,
Jan 31, 2015, 5:15:47 PM1/31/15
to Lucas Paul, haskell
Hi Lucas.

Just put `jobs: $ncpus` into your ~/.cabal/config wile. I believe documentation is somewhere inside cabal manual, please take a look there.

Hope this helps.

Lucas Paul

unread,
Feb 2, 2015, 12:49:00 PM2/2/15
to Konstantine Rybnikov, haskell
That seems to have done the trick. Thanks!
Reply all
Reply to author
Forward
0 new messages