Ameen Izhac
Ameen Izhac

Reputation: 125

I am having an issue with cabal install and cannot seem to install pretty-simple

So actually when I run install, it appears to be already installed:

$ cabal install pretty-simple
Resolving dependencies...
Copying 'pretty-simple.exe' to 'C:\Users\ameen\.local\bin\pretty-simple.exe'
Error: cabal.exe: Path 'C:\Users\ameen\.local\bin\pretty-simple' already
exists. Use --overwrite-policy=always to overwrite.

But then when I check if it is installed, it appears it isn't:

$ cabal list pretty-simple
* pretty-simple
    Synopsis: pretty printer for data types with a 'Show' instance.
    Default available version: 4.1.2.0
    Installed versions: [ Not installed ]
    Homepage: https://github.com/cdepillabout/pretty-simple
    License:  BSD3

I've tried:

adding --lib

specifying the location with cabal install pretty-simple --package-db=C:\tools\ghc-9.6.1\lib\package.conf.d

using the new-install and v1-install commands

using --overwrite-policy=always to overwrite

I'm using Windows 11. Any idea what could be my issue?

Upvotes: 0

Views: 236

Answers (0)

Related Questions