Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions doc/cabal-package-description-file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3455,8 +3455,10 @@ a few options:
.. rubric:: Footnotes

.. [#old-style-build-tool-depends]
Some packages (ab)use :pkg-field:`build-depends` on old-style builds, but this has a few major drawbacks:

- using Nix-style builds it's considered an error if you depend on a exe-only package via build-depends: the solver will refuse it.
- it may or may not place the executable on ``PATH``.
- it does not ensure the correct version of the package is installed, so you might end up overwriting versions with each other.
Some packages (ab)use :pkg-field:`build-depends` on old-style builds, but
this has a few major drawbacks. First, with Nix-style builds it's considered
an error if you depend on a exe-only package via ``build-depends``: the
solver will refuse it. Next, ``build-depends`` may or may not place the
executable on ``PATH``. Finally, ``build-depends`` does not ensure the
correct version of the package is installed, so you might end up overwriting
versions with each other.
Loading