Skip to content

ghc-pkg unregister --user/--global/--package-conf not normative

For package P,

"ghc-pkg unregister --user P" drops the global package if P is not in user.

"ghc-pkg unregister --global P" drops the user package if P is in user.

"ghc-pkg unregister --package-conf=<dir> P" drops the user or the global package, preferring the user one, if P is not found in <dir>.

Same with "ghc-pkg --user unregister P", "ghc-pkg unregister P --user", etc.

GHC versions 6.10, 6.12, 7.0, 7.2.

Trac metadata
Trac field Value
Version 7.2.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component ghc-pkg
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information