Cabal getting installed in root directory instead of /home/vagrant directory using Vagrantfile

扶醉桌前 提交于 2020-01-04 05:23:07
问题 THe below is the content of the vagrant file. When I run vagrant up command, it installs cabal as required but it is in the root directory. Hence, it becomes unusable. I want to update the cabal version to latest version using cabal update . But it is not happening. Finally, in my VM, I have old version of cabal which comes with haskell-platform which is of no use to me. However, when I execute these commands separately by explicitly logging into VM, and not putting anything in Vagrantfile,