Or at least, use a version of the cabal command that *claims* to set the index state. Time will tell.