summaryrefslogtreecommitdiff
path: root/src/Propellor/Bootstrap.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Bootstrap.hs')
-rw-r--r--src/Propellor/Bootstrap.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Propellor/Bootstrap.hs b/src/Propellor/Bootstrap.hs
index 170c85d6..f306e9a7 100644
--- a/src/Propellor/Bootstrap.hs
+++ b/src/Propellor/Bootstrap.hs
@@ -280,7 +280,9 @@ cabalBuild msys = do
boolSystem "sh" [Param "-c", Param (depsCommand (Robustly Cabal) (Just sys))]
<&&> cabal ["configure"]
)
- cabal_build = cabal ["build", "propellor-config"]
+ -- The -j1 is to only run one job at a time -- in some situations,
+ -- eg in qemu, ghc does not run reliably in parallel.
+ cabal_build = cabal ["build", "-j1", "propellor-config"]
stackBuild :: Maybe System -> IO Bool
stackBuild _msys = do