haskell / haskell/cabal

Do additional ghc / ghc-pkg consistency check

Offen
#691 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Cabal: other old-milestone: ⊥ type: enhancement
Vorherrschende Sprache
Haskell
Sterne
1.7k
Forks
750
Ø Merge
4 T. 3 Std.
Gemergte PRs (30 T.)
28

Beschreibung

(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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.