X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=docs%2Fusers_guide%2Fpackages.xml;h=b37e266d9fe82bfc8e7f76f9ea7ea65d3918e4e4;hb=0edaca4834b511ac2c58fea3734a75cc52ac5c50;hp=1423cb532325876882e0228079646e83b0ff63b0;hpb=f81df3c6e23b8d7d02eacca3d40974a45c7eb6d6;p=ghc-hetmet.git diff --git a/docs/users_guide/packages.xml b/docs/users_guide/packages.xml index 1423cb5..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 @@ -631,7 +647,7 @@ $ export GHC_PACKAGE_PATH=$HOME/.my-ghc-packages.conf: databases. Additionally, file will also be the database modified by a register, unregister, expose or - hide command, unless it is overriden by a later + hide command, unless it is overridden by a later , or option.