haskell / haskell/cabal

Do additional ghc / ghc-pkg consistency check

Open
#691 1 comment 0 reactions 0 assignees View on GitHub
Cabal: other old-milestone: ⊥ type: enhancement
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

(Imported from [Trac #699](http://hackage.haskell.org/trac/hackage/ticket/699), reported by @dcoutts on 2010-06-05)

See [http://hackage.haskell.org/trac/ghc/ticket/4103](http://hackage.haskell.org/trac/ghc/ticket/4103)

In future, ghc --info will report the global package database location. This can be used to check that ghc and ghc-pkg agree on the same one, as a consistency check to make sure the two programs are from the same ghc installation.

Note that getting the location of the global package db from ghc-pkg is a bit hacky at the moment. One has to use ghc-pkg list --global and parse the result. Perhaps we need another ghc feature request for that.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.