properly restore cabal-dev/ dir