Skip to content
This repository
Browse code

Disable setting the jobs: $nprocs line in default ~/.cabal config

It breaks for fresh installs with users who have Cabal-1.6.0
rather than Cabal-1.6.0.1, ie users of ghc-7.6.1.
  • Loading branch information...
commit aa7d98f72f4a06ab2ab12defd046a21872a718d8 1 parent ce2fc30
Duncan Coutts authored October 05, 2012
2  cabal-install/Distribution/Client/Config.hs
@@ -203,7 +203,7 @@ initialSavedConfig = do
203 203
     savedInstallFlags    = mempty {
204 204
       installSummaryFile = [toPathTemplate (logsDir </> "build.log")],
205 205
       installBuildReports= toFlag AnonymousReports,
206  
-      installNumJobs     = toFlag (Just numberOfProcessors)
  206
+      --installNumJobs     = toFlag (Just numberOfProcessors)
207 207
     }
208 208
   }
209 209
 

0 notes on commit aa7d98f

Herbert Valerio Riedel

fyi, the remaining trailing , breaks compilation

Johan Tibell

Fixed in a separate commit.

Please sign in to comment.
Something went wrong with that request. Please try again.