X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fpackages.xml;h=b37e266d9fe82bfc8e7f76f9ea7ea65d3918e4e4;hb=b515d109750e00630dfaf6055a1ded8dfd61b415;hp=29b4c22444dba3ab7b339490d55e11dac9799af0;hpb=5263c9ab4408e3b62dbf7505ab40a81946d4e49b;p=ghc-hetmet.git diff --git a/docs/users_guide/packages.xml b/docs/users_guide/packages.xml index 29b4c22..b37e266 100644 --- a/docs/users_guide/packages.xml +++ b/docs/users_guide/packages.xml @@ -469,6 +469,13 @@ $ export GHC_PACKAGE_PATH=$HOME/.my-ghc-packages.conf: options are given, the rightmost one is used as the database to act upon. + Commands that query the package database (list, latest, + describe, field) operate on the list of databases specified by + the flags , , and + . If none of these flags are + given, the default is + . + If the environment variable GHC_PACKAGE_PATH is set, and its value does not end in a separator (: on Unix, ; on Windows), then the last database is @@ -529,6 +536,15 @@ $ export GHC_PACKAGE_PATH=$HOME/.my-ghc-packages.conf: + ghc-pkg check + + Check consistency of dependencies in the package + database, and report packages that have missing + dependencies. + + + + ghc-pkg hide P Sets the exposed flag for package