Fix path to Hadrian build script for GHC source builds#5529
Fix path to Hadrian build script for GHC source builds#5529snoyberg merged 4 commits intocommercialhaskell:masterfrom fwcd:fix-hadrian-script-path
Conversation
|
My only concern is that this seems like it will break old builds with old versions of GHC. I'm not sure if we really care about that. But it may be worthwhile to include logic to check for both versions of the file and then use the one that exists. Thoughts? |
|
Sure, I've updated the logic to include both the new and the old path and choose the first one that exists. |
It would actually still be nice to include this in the changelog so that, if someone is hitting this issue on an older version, looking at the changelog will let them know it's fixed. |
This has been renamed from `build.stack.sh` to `build-stack` (and `build-stack.bat` on Windows). Fixes #5528.
...and select the one that exists.
Co-authored-by: Michael Snoyman <michael@snoyman.com>
|
The branch is now rebased on master and includes the updated changelog and the suggestion. |
|
Thanks! |
The build script has been renamed from
build.stack.shtobuild-stack(andbuild-stack.baton Windows).Fixes #5528.
The fix has been tested manually with recent GHC versions.