Merge pull request #2152 from erikd/config

Add Cabal and cabal-install version numbers when writing a new config fi...