Skip to content

Commit a46387c

Browse files
committed
Use code style for build-depends
1 parent 5a019b4 commit a46387c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/cabal-package-description-file.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3457,8 +3457,8 @@ a few options:
34573457
.. [#old-style-build-tool-depends]
34583458
Some packages (ab)use :pkg-field:`build-depends` on old-style builds, but
34593459
this has a few major drawbacks. First, with Nix-style builds it's considered
3460-
an error if you depend on a exe-only package via build-depends: the solver
3461-
will refuse it. Next, build-depends may or may not place the executable on
3462-
``PATH``. Finally, build-depends does not ensure the correct version of the
3463-
package is installed, so you might end up overwriting versions with each
3464-
other.
3460+
an error if you depend on a exe-only package via ``build-depends``: the
3461+
solver will refuse it. Next, ``build-depends`` may or may not place the
3462+
executable on ``PATH``. Finally, ``build-depends`` does not ensure the
3463+
correct version of the package is installed, so you might end up overwriting
3464+
versions with each other.

0 commit comments

Comments
 (0)