Skip to content

Commit db3c4e2

Browse files
authored
Merge of #11141
2 parents 7eeb02b + 8d0690e commit db3c4e2

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Cabal/src/Distribution/Simple/Program/Builtin.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ import qualified Data.Map as Map
6161

6262
-- ------------------------------------------------------------
6363

64+
-- NOTE: if you modify the list of builtin programs below, also update documentation in
65+
-- the Cabal manual: option `--with-PROG` described in doc/setup-commands.rst
66+
6467
-- | The default list of programs.
6568
-- These programs are typically used internally to Cabal.
6669
builtinPrograms :: [Program]

doc/setup-commands.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,11 @@ files of a package:
201201
name of a program that can be found on the program search path. For
202202
example: ``--with-ghc=ghc-6.6.1`` or
203203
``--with-cpphs=/usr/local/bin/cpphs``. The full list of accepted
204-
programs is not enumerated in this user guide. Rather, run
205-
``cabal install --help`` to view the list.
204+
programs is as follows:
205+
``alex``, ``ar``, ``c2hs``, ``cpphs``, ``doctest``, ``gcc``, ``ghc``,
206+
``ghc-pkg``, ``ghcjs``, ``ghcjs-pkg``, ``haddock``, ``happy``,
207+
``hpc``, ``hsc2hs``, ``hscolour``, ``jhc``, ``ld``, ``pkg-config``,
208+
``runghc``, ``strip``, ``tar``, ``uhc``.
206209

207210
.. option:: --PROG-options=OPTS
208211

0 commit comments

Comments
 (0)