snowleopard / hadrian

Hadrian: a new build system for the Glasgow Haskell Compiler. Now merged into the GHC tree!
https://gitlab.haskell.org/ghc/ghc/tree/master/hadrian
MIT License
208 stars 39 forks source link

Fix cabal sandbox init rule #633

Closed chitrak7 closed 6 years ago

chitrak7 commented 6 years ago

Fixes #524 #463

@snowleopard @angerman @izgzhen

Test: Remove the local cabal sandbox, then run ./build.sh. Stop the process mid-installation, and then run the command again. Setup will start by installing the program where we previously stopped.

chitrak7 commented 6 years ago

Rebased from master.

snowleopard commented 6 years ago

@chitrak7 Thanks for implementing and testing this! Looks good to me, so merging.