Skip to content

Commit 3995ced

Browse files
committed
Replace it with build-depends
1 parent a9aa973 commit 3995ced

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

doc/cabal-package-description-file.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3458,6 +3458,7 @@ a few options:
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
34603460
an error if you depend on a exe-only package via build-depends: the solver
3461-
will refuse it. Next, it may or may not place the executable on ``PATH``.
3462-
Finally, it does not ensure the correct version of the package is installed,
3463-
so you might end up overwriting versions with each other.
3461+
will refuse it. Next, :pkg-field:`build-depends` may or may not place the
3462+
executable on ``PATH``. Finally, :pkg-field:`build-depends` does not ensure
3463+
the correct version of the package is installed, so you might end up
3464+
overwriting versions with each other.

0 commit comments

Comments
 (0)