Call ghc './boot' with '--hadrian' (#18576)

This commit is contained in:
Moisés Ackerman 2024-02-26 15:37:35 +01:00 committed by GitHub
parent ecea0e12a4
commit 2c7c3b480c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ index 3574255..4fee612 100644
- system_ "stack --stack-yaml hadrian/stack.yaml build --only-dependencies" - system_ "stack --stack-yaml hadrian/stack.yaml build --only-dependencies"
- system_ "stack --stack-yaml hadrian/stack.yaml exec -- bash -c ./boot" - system_ "stack --stack-yaml hadrian/stack.yaml exec -- bash -c ./boot"
- system_ "stack --stack-yaml hadrian/stack.yaml exec -- bash -c \"./configure --enable-tarballs-autodownload\"" - system_ "stack --stack-yaml hadrian/stack.yaml exec -- bash -c \"./configure --enable-tarballs-autodownload\""
+ system_ "bash -c ./boot" + system_ "bash -c \"./boot --hadrian\""
+ system_ "bash -c \"./configure --enable-tarballs-autodownload\"" + system_ "bash -c \"./configure --enable-tarballs-autodownload\""
withCurrentDirectory "hadrian" $ do withCurrentDirectory "hadrian" $ do
-- No need to specify a stack.yaml here, we are in the hadrian -- No need to specify a stack.yaml here, we are in the hadrian