Ticket #574 (closed defect: wontfix)

Opened 4 years ago

Last modified 4 years ago

Cabal doesn't respect ghc installation path

Reported by: count0 Owned by:
Priority: normal Milestone:
Component: Cabal library Version: 1.6.0.2
Severity: normal Keywords:
Cc: Difficulty: unknown
GHC Version: Platform:

Description (last modified by count0) (diff)

I've installed ghc (version 1.6.0.1 - 1.6.0.3) in d:\Haskell\ghc, so I expect that Cabal will install a new package there, but Cabal always installs a package in "C:\Program Files\Haskell".

It seems Cabal doesn't detect where ghc is installed.

Change History

Changed 4 years ago by count0

  • description modified (diff)

Changed 4 years ago by duncan

  • status changed from new to closed
  • resolution set to wontfix

The default installation is not the ghc installation directory (this was discussed some time ago with Windows Haskell users). You can set the installation directory using the cabal install --prefix flag and you can change the default in the cabal config file.

Is there some documentation you read that could have been improved that would have prevented this misunderstanding of the default behaviour? If so lets fix it, otherwise we should close this ticket as wontfix.

If you want to bring up the issue of the default installation path on windows again then please file a ticket about that issue specifically and/or bring it up on the cabal mailing list.

Note: See TracTickets for help on using tickets.