diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-04-21 10:44:39 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-05-05 03:22:46 -0400 |
commit | 1d8f80cd64edd1ea6a5d4c4aa2e09ad0d077ae1b (patch) | |
tree | a53f55a7b6eee33e73340f587c17418ac83b75fc /docs/users_guide/packages.rst | |
parent | b9f7c08ff5aa71b7673c8136b897e6f29de01330 (diff) | |
download | haskell-1d8f80cd64edd1ea6a5d4c4aa2e09ad0d077ae1b.tar.gz |
Remove references to -package-key
* remove references to `-package-key` which has been removed in 2016
(240ddd7c39536776e955e881d709bbb039b48513)
* remove support for `-this-package-key` which has been deprecated at the
same time
Diffstat (limited to 'docs/users_guide/packages.rst')
-rw-r--r-- | docs/users_guide/packages.rst | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/docs/users_guide/packages.rst b/docs/users_guide/packages.rst index 502e005280..fae18241ea 100644 --- a/docs/users_guide/packages.rst +++ b/docs/users_guide/packages.rst @@ -965,28 +965,18 @@ Additionally, the following flags are accepted by ``ghc-pkg``: Output the ``ghc-pkg`` version number. -``--ipid`` +``--ipid``, ``--unit-id`` .. index:: single: --ipid; ghc-pkg option + single: --unit-id; ghc-pkg option - Causes ``ghc-pkg`` to interpret arguments as installed package IDs + Causes ``ghc-pkg`` to interpret arguments as installed unit IDs (e.g., an identifier like ``unix-2.3.1.0-de7803f1a8cd88d2161b29b083c94240``). This is useful if providing just the package name and version are ambiguous (in old versions of GHC, this was guaranteed to be unique, but this invariant no longer necessarily holds). -``--package-key`` - .. index:: - single: --package-key; ghc-pkg option - - Causes ``ghc-pkg`` to interpret arguments as unit IDs (e.g., an - identifier like ``I5BErHzyOm07EBNpKBEeUv``). Package keys are used - to prefix symbol names GHC produces (e.g., - ``6VWy06pWzzJq9evDvK2d4w6_DataziByteStringziInternal_unsafePackLenChars_info``), - so if you need to figure out what package a symbol belongs to, use - ``ghc-pkg`` with this flag. - .. _building-packages: Building a package from Haskell source |