fpco / stackage-cli

MIT License
28 stars 4 forks source link

stackage-setup: Clean up correctly after failed installation #43

Closed DanBurton closed 9 years ago

DanBurton commented 9 years ago

If a stackage-setup item fails to install, then sometimes later invocations of stackage-setup will think that you "already have" that item.

Instead, we should delete or move the artifacts from the failed attempt. Possibly, we should allow the attempt to resume where it left off.

DanBurton commented 9 years ago

I've tweaked the ghc install procedure so that stackage-setup correctly identifies when it hasn't completed the setup procedure and needs another attempt.

I haven't yet made it resume progress. I've created a new issue for that: #48