From 7d40a32a4855e7f74f1feb28eca75d6794f5f3db Mon Sep 17 00:00:00 2001
From: Julian Ospald <hasufell@posteo.de>
Date: Mon, 7 Jan 2019 11:21:00 +0800
Subject: [PATCH] Fix number of jobs for cabal new-install in bootstrap-haskell

---
 bootstrap-haskell | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bootstrap-haskell b/bootstrap-haskell
index 5b2b026..5940056 100755
--- a/bootstrap-haskell
+++ b/bootstrap-haskell
@@ -63,7 +63,8 @@ edo ghcup set
 edo ghcup install-cabal
 
 edo cabal new-update
-edo cabal new-install --symlink-bindir="$HOME/.cabal/bin" cabal-install
+# 1 job until https://github.com/haskell/cabal/issues/5776 is fixed
+edo cabal new-install --symlink-bindir="$HOME/.cabal/bin" --jobs=1 cabal-install
 
 printf "\\033[0;35m%s\\033[0m\\n" ""
 printf "\\033[0;35m%s\\033[0m\\n" "Installation done!"
-- 
GitLab