[toml] implement full config, refactoring of types

Also, tests pass now, locally
Status Job ID Name Coverage
  Cabal
failed #14487
cabal

00:21:23

failed #14483
cabal

 
  Stack
skipped #14484
stack
 
  Bench
skipped #14485
allowed to fail manual
bench
 
  Test
skipped #14486
test
 
Name Stage Failure
failed
cabal Cabal
+ actual_cabal_project_freeze_hash=cd6fd302c204416ec84428dacab6d0e311a42ebd4b8db6227dcc57ccc8a6705a
+ [[ 046a9ef600d1e078da8a92132ad30b20996640f040eea2e8f2447bd62011e9e9 != 72e706e2a48ab404346b7edae38b04207e31821416f56328d324f743e7a5756a ]]
+ echo -e '\e[31mERROR! hash mismatch between expected cabal.project and the one computed by cabal2stack.\e[0m'
ERROR! hash mismatch between expected cabal.project and the one computed by cabal2stack.
Please update the hashes inside the './bin/update-project-dependencies' file.
+ echo -e '\e[33mPlease update the hashes inside the '\''./bin/update-project-dependencies'\'' file.\e[0m'
+ exit 1
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1