Open JanAhrens opened 11 years ago
It seems to be connected to a missing cabal update
run:
$ cabal install yesod-platform
Config file path source is default config file.
Config file /home/vagrant/.cabal/config not found.
Writing default configuration to /home/vagrant/.cabal/config
Warning: The package list for 'hackage.haskell.org' does not exist. Run 'cabal update' to download it.
cabal: There is no package named 'yesod-platform'.
You may need to run 'cabal update' to get the latest list of available packages.
... and cabal-install
having the wrong version.
$ cabal update
Downloading the latest package list from hackage.haskell.org
Note: there is a new version of cabal-install available.
To upgrade, run: cabal install cabal-install
After running cabal install cabal-install
you have to make sure to update your PATH
variable to contain the ~/.cabal/bin
directory. I've to update the Chef cookbook to do this automatically.
Chef currently fails to install the
yesod-platform
andyesod-bin
cabal packages.Workaround
To install the packages you can connect to the machine and execute the commands manually