Cabal config file - default install flags?
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
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. On Sat, Jan 31, 2015 at 11:02 PM, Lucas Paul <reilithion@gmail.com> wrote:
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 Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
That seems to have done the trick. Thanks! On Sat, Jan 31, 2015 at 3:15 PM, Konstantine Rybnikov <k-bx@k-bx.com> wrote:
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.
On Sat, Jan 31, 2015 at 11:02 PM, Lucas Paul <reilithion@gmail.com> wrote:
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 Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (2)
-
Konstantine Rybnikov -
Lucas Paul