Skip to content

Commit

Permalink
Merge pull request haskell#10298 from haskell/mergify/bp/3.12/pr-10267
Browse files Browse the repository at this point in the history
index Paths and Paths_ (resp. for PackageInfo) (backport haskell#10267)
  • Loading branch information
mergify[bot] authored Aug 30, 2024
2 parents ef670f2 + c359eca commit 2e08b94
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/cabal-package-description-file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2965,6 +2965,9 @@ Right now :pkg-field:`executable:main-is` modules are not supported on
Accessing data files from package code
--------------------------------------

.. index:: Paths
.. index:: Paths_

The placement on the target system of files listed in
the :pkg-field:`data-files` field varies between systems, and in some cases
one can even move packages around after installation
Expand Down Expand Up @@ -3020,6 +3023,9 @@ the configured data directory for ``pretty-show`` is controlled with the
Accessing the package version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. index:: PackageInfo
.. index:: PackageInfo_

The auto generated :file:`PackageInfo_{pkgname}` module exports the constant
``version ::`` `Version <http://hackage.haskell.org/package/base/docs/Data-Version.html>`__
which is defined as the version of your package as specified in the
Expand Down

0 comments on commit 2e08b94

Please sign in to comment.