Closed
Description
I am trying to update my cabal-install to the latest version. I am attempting to use the v2-install command for this purpose. The default command complains that installdir is not defined:
$ ~/.cabal/bin/cabal v2-install cabal-install
Resolving dependencies...
Up to date
cabal: installdir is not defined. Set it in your cabal config file or use
--installdir=<path>
However, when I attempt to specify an install directory as recommended, this is the result:
$ ~/.cabal/bin/cabal v2-install cabal-install --installdir=~/.cabal/bin
Resolving dependencies...
Up to date
~/.cabal/bin: createDirectory: does not exist (No such file or directory)
I also tried writing out the path as /home/kevin/.cabal/bin. Same result.
As you can see from the particular cabal binary I use to run these commands, ~/.cabal/bin does exist on my computer. Does anyone know why this is happening, or am I using the command incorrectly? It may be up to date already, but this still seems like the wrong behavior.
System information
- Ubuntu 18.04
- Cabal version 3.0.0.0
- GHC 8.0.2
Metadata
Metadata
Assignees
Labels
No labels