Skip to content
Snippets Groups Projects
Commit 2ecc06df authored by Ben Gamari's avatar Ben Gamari :turtle:
Browse files

Reintroduce `cabal update` as ghc user

Previously 26975eeb attempted to
optimise the build by unifying the `cabal update` invocations. However,
this optimisation is in fact wrong. We must run `cabal update` twice:
once as root to build the bootstrap tools and again as the ghc user
(which will be used by downstream GHC builds).
parent c3194725
No related branches found
No related tags found
1 merge request!87Freeze Hackage
......@@ -85,6 +85,7 @@ let
]
# [CF.Statement.User "ghc"]
# CF.workdir "/home/ghc/"
# CF.run "update cabal index" [ "$CABAL update"]
let
images: List Image.Type =
......
......@@ -91,6 +91,7 @@ let
]
# [CF.Statement.User "ghc"]
# CF.workdir "/home/ghc/"
# CF.run "update cabal index" [ "$CABAL update"]
let
CentosImage =
......
......@@ -103,6 +103,7 @@ let
]
# [CF.Statement.User "ghc"]
# CF.workdir "/home/ghc/"
# CF.run "update cabal index" [ "$CABAL update"]
-- Install stack for testing hadrian
let
......
......@@ -87,6 +87,7 @@ let
]
# [CF.Statement.User "ghc"]
# CF.workdir "/home/ghc/"
# CF.run "update cabal index" [ "$CABAL update"]
let
FedoraImage =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment