Open bitemyapp opened 9 years ago
If y'all are fine with a whitespace offset for Warning: The package list for 'hackage.haskell.org' does not exist. Run 'cabal update' to download it.
, and assuming I can find it, I'll PR this.
@mwotton raised a good point that if there's no index, you should probably just stop installing entirely as a mistake has been made by the user.
The "I have no dependencies and haven't bothered to update even once" use-case seems unlikely.
Looks like this stuff lives in cabal-install/Distribution/Client/IndexUtils.hs
- I'll try to see if I can find an example of how errors are raised.