Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
1aacefe0
Commit
1aacefe0
authored
Sep 12, 2017
by
Alex Hirsch
Committed by
GitHub
Sep 12, 2017
Browse files
Fix new-build component name docs
parent
3c8627a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Cabal/doc/nix-local-build.rst
View file @
1aacefe0
...
...
@@ -311,11 +311,17 @@ A target can take any of the following forms:
- All packages: ``all``, which specifies all packages within the project.
- Components of a particular type: ``ctype``, ``package:ctype``, ``all:ctype``:
which specifies all components of the given type.
- Components of a particular type: ``package:ctypes``, ``all:ctypes``:
which specifies all components of the given type. Where valid
``ctypes`` are:
- ``libs``, ``libraries``,
- ``flibs``, ``foreign-libraries``,
- ``exes``, ``executables``,
- ``tests``,
- ``benches``, ``benchmarks``.
In component targets, ``package:`` and ``ctype:`` (valid component types
are ``lib``, ``exe``, ``test`` and ``bench``) can be used to
are ``lib``,
``flib``,
``exe``, ``test`` and ``bench``) can be used to
disambiguate when multiple packages define the same component, or the
same component name is used in a package (e.g., a package ``foo``
defines both an executable and library named ``foo``). We always prefer
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment