1CABAL(1)                    General Commands Manual                   CABAL(1)
2
3
4

NAME

6       cabal  - a system for building and packaging Haskell libraries and pro‐
7       grams
8

SYNOPSIS

10       cabal command <arguments|[options]>...
11
12       Where the commands are
13
14       cabal list - List packages matching a search string.
15       cabal info - Display detailed information about a particular package.
16       cabal fetch - Downloads packages for later installation.
17       cabal get - Download/Extract a package's source code (repository).
18       cabal check - Check the package for common mistakes.
19       cabal upload - Uploads source packages or documentation to Hackage.
20       cabal report - Upload build reports to a remote server.
21       cabal init - Create a new .cabal package file (interactively).
22       cabal user-config - Display and update the user's global cabal configu‐
23       ration.
24       cabal gen-bounds - Generate dependency bounds.
25       cabal outdated - Check for outdated dependencies
26       cabal hscolour - Generate HsColour colourised code, in HTML format.
27       cabal v2-configure - Add extra project configuration
28       cabal new-configure - Add extra project configuration
29       cabal v2-update - Updates list of known packages.
30       cabal new-update - Updates list of known packages.
31       cabal v2-build - Compile targets within the project.
32       cabal new-build - Compile targets within the project.
33       cabal v2-repl - Open an interactive session for the given component.
34       cabal new-repl - Open an interactive session for the given component.
35       cabal v2-freeze - Freeze dependencies.
36       cabal new-freeze - Freeze dependencies.
37       cabal v2-haddock - Build Haddock documentation
38       cabal new-haddock - Build Haddock documentation
39       cabal v2-install - Install packages.
40       cabal new-install - Install packages.
41       cabal v2-run - Run an executable.
42       cabal new-run - Run an executable.
43       cabal v2-test - Run test-suites
44       cabal new-test - Run test-suites
45       cabal v2-bench - Run benchmarks
46       cabal new-bench - Run benchmarks
47       cabal v2-exec - Give a command access to the store.
48       cabal new-exec - Give a command access to the store.
49       cabal v2-clean - Clean the package store and remove temporary files.
50       cabal new-clean - Clean the package store and remove temporary files.
51       cabal v2-sdist - Generate a source distribution file (.tar.gz).
52       cabal new-sdist - Generate a source distribution file (.tar.gz).
53       cabal configure - Prepare to build the package.
54       cabal v1-configure - Prepare to build the package.
55       cabal update - Updates list of known packages.
56       cabal v1-update - Updates list of known packages.
57       cabal build - Compile all/specific components.
58       cabal v1-build - Compile all/specific components.
59       cabal repl - Open an interpreter session for the given component.
60       cabal v1-repl - Open an interpreter session for the given component.
61       cabal freeze - Freeze dependencies.
62       cabal v1-freeze - Freeze dependencies.
63       cabal haddock - Generate Haddock HTML documentation.
64       cabal v1-haddock - Generate Haddock HTML documentation.
65       cabal install - Install packages.
66       cabal v1-install - Install packages.
67       cabal run - Builds and runs an executable.
68       cabal v1-run - Builds and runs an executable.
69       cabal test - Run all/specific tests in the test suite.
70       cabal v1-test - Run all/specific tests in the test suite.
71       cabal bench - Run all/specific benchmarks.
72       cabal v1-bench - Run all/specific benchmarks.
73       cabal exec - Give a command access to the sandbox package repository.
74       cabal  v1-exec  -  Give a command access to the sandbox package reposi‐
75       tory.
76       cabal clean - Clean up after a build.
77       cabal v1-clean - Clean up after a build.
78       cabal sdist - Generate a source distribution file (.tar.gz).
79       cabal v1-sdist - Generate a source distribution file (.tar.gz).
80       cabal doctest - Run doctest tests.
81       cabal v1-doctest - Run doctest tests.
82       cabal copy - Copy the files of all/specific components to install loca‐
83       tions.
84       cabal  v1-copy  -  Copy the files of all/specific components to install
85       locations.
86       cabal register - Register this package with the compiler.
87       cabal v1-register - Register this package with the compiler.
88       cabal reconfigure - Reconfigure the package if necessary.
89       cabal v1-reconfigure - Reconfigure the package if necessary.
90       cabal sandbox - Create/modify/delete a sandbox.
91       cabal v1-sandbox - Create/modify/delete a sandbox.
92

DESCRIPTION

94       Cabal is the standard package system for  Haskell  software.  It  helps
95       people to configure, build and install Haskell software and to distrib‐
96       ute it easily to other users and developers.
97
98       The command line cabal tool (also referred to as  cabal-install)  helps
99       with  installing existing packages and developing new packages.  It can
100       be used to work with local packages or to install packages from  online
101       package  archives,  including automatically installing dependencies. By
102       default it is configured to use Hackage,  which  is  Haskell's  central
103       package  archive  that contains thousands of libraries and applications
104       in the Cabal package format.
105

OPTIONS

107       Global options:
108
109       -V, --version
110              Print version information
111
112       --numeric-version
113              Print just the version number
114
115       --config-file FILE
116              Set an alternate location for the config file
117
118       --sandbox-config-file FILE
119              Set an alternate location for the sandbox config file  (default:
120              './cabal.sandbox.config')
121
122       --default-user-config FILE
123              Set  a  location  for  a  cabal.config file for projects without
124              their own cabal.config freeze file.
125
126       --require-sandbox
127       --no-require-sandbox
128              requiring the presence of a sandbox for sandbox-aware commands
129
130       --ignore-sandbox
131              Ignore any existing sandbox
132
133       --ignore-expiry
134              Ignore expiry dates on signed metadata (use only in  exceptional
135              circumstances)
136
137       --http-transport HttpTransport
138              Set  a  transport  for http(s) requests. Accepts 'curl', 'wget',
139              'powershell', and 'plain-http'. (default: 'curl')
140
141       --enable-nix
142       --disable-nix
143              Nix integration: run commands through nix-shell if a 'shell.nix'
144              file exists
145
146       --remote-repo NAME:URL
147              The name and url for a remote repository
148
149       --remote-repo-cache DIR
150              The location where downloads from all remote repos are cached
151
152       --local-repo DIR
153              The location of a local repository
154
155       --logs-dir, --logsdir DIR
156              The location to put log files
157
158       --world-file FILE
159              The location of the world file
160
161       --store-dir, --storedir DIR
162              The location of the nix-local-build store
163
164

COMMANDS

166       cabal list
167
168       Usage: cabal list [FLAGS]
169          or: cabal list [FLAGS] STRINGS
170
171
172       List all packages, or all packages matching one of the search strings.
173
174       If  there is a sandbox in the current directory and config:ignore-sand‐
175       box is False, use the sandbox  package  database.  Otherwise,  use  the
176       package database specified with --package-db. If not specified, use the
177       user package database.
178
179
180       Examples:
181         cabal list pandoc
182           Will find pandoc, pandoc-citeproc, pandoc-lens, ...
183
184
185       Flags:
186              -v, --verbose [n]
187                     Control verbosity (n is 0--3, default verbosity level  is
188                     1)
189
190              --installed
191                     Only print installed packages
192
193              --simple-output
194                     Print in a easy-to-parse format
195
196              --package-db DB
197                     Append  the given package database to the list of package
198                     databases used  (to  satisfy  dependencies  and  register
199                     into).  May  be  a specific file, 'global' or 'user'. The
200                     initial  list  is  ['global'],  ['global',  'user'],   or
201                     ['global',  $sandbox],  depending on context. Use 'clear'
202                     to reset the list  to  empty.  See  the  user  guide  for
203                     details.
204
205
206       cabal info
207
208       Usage: cabal info [FLAGS] PACKAGES
209
210
211       If  there is a sandbox in the current directory and config:ignore-sand‐
212       box is False, use the sandbox  package  database.  Otherwise,  use  the
213       package database specified with --package-db. If not specified, use the
214       user package database.
215
216
217       Flags:
218              -v, --verbose [n]
219                     Control verbosity (n is 0--3, default verbosity level  is
220                     1)
221
222              --package-db DB
223                     Append  the given package database to the list of package
224                     databases used  (to  satisfy  dependencies  and  register
225                     into).  May  be  a specific file, 'global' or 'user'. The
226                     initial  list  is  ['global'],  ['global',  'user'],   or
227                     ['global',  $sandbox],  depending on context. Use 'clear'
228                     to reset the list  to  empty.  See  the  user  guide  for
229                     details.
230
231
232       cabal fetch
233
234       Usage: cabal fetch [FLAGS] PACKAGES
235
236
237       Note  that it currently is not possible to fetch the dependencies for a
238       package in the current directory.
239
240
241       Flags:
242              -v, --verbose [n]
243                     Control verbosity (n is 0--3, default verbosity level  is
244                     1)
245
246              --dependencies, --deps
247                     Resolve and fetch dependencies (default)
248
249              --no-dependencies, --no-deps
250                     Ignore dependencies
251
252              --dry-run
253                     Do  not  install  anything,  only  print  what  would  be
254                     installed.
255
256              --enable-tests
257              --disable-tests
258                     dependency  checking  and  compilation  for  test  suites
259                     listed in the package description file.
260
261              --enable-benchmarks
262              --disable-benchmarks
263                     dependency checking and compilation for benchmarks listed
264                     in the package description file.
265
266              --solver SOLVER
267                     Select  dependency  solver  to  use  (default:  modular).
268                     Choices: modular.
269
270              --max-backjumps NUM
271                     Maximum   number   of  backjumps  allowed  while  solving
272                     (default: 2000). Use a negative number to  enable  unlim‐
273                     ited  backtracking.  Use  0  to disable backtracking com‐
274                     pletely.
275
276              --reorder-goals
277              --no-reorder-goals
278                     Try to reorder goals  according  to  certain  heuristics.
279                     Slows  things  down on average, but may make backtracking
280                     faster for some packages.
281
282              --count-conflicts
283              --no-count-conflicts
284                     Try to speed up solving  by  preferring  goals  that  are
285                     involved in a lot of conflicts (default).
286
287              --independent-goals
288              --no-independent-goals
289                     Treat  several  goals on the command line as independent.
290                     If several goals depend on the  same  package,  different
291                     versions can be chosen.
292
293              --shadow-installed-packages
294              --no-shadow-installed-packages
295                     If  multiple  package  instances  of the same version are
296                     installed, treat all but one as shadowed.
297
298              --strong-flags
299              --no-strong-flags
300                     Do not defer flag choices (this used to be the default in
301                     cabal-install <= 1.20).
302
303              --allow-boot-library-installs
304              --no-allow-boot-library-installs
305                     Allow  cabal  to  install base, ghc-prim, integer-simple,
306                     integer-gmp, and template-haskell.
307
308
309       cabal get
310
311       Usage: cabal get [PACKAGES]
312
313
314       Creates a local copy of a package's source code. By default it gets the
315       source  tarball  and unpacks it in a local subdirectory. Alternatively,
316       with -s it will get the code from the source  repository  specified  by
317       the package.
318
319
320       Examples:
321         cabal get hlint
322           Download the latest stable version of hlint;
323         cabal get lens --source-repository=head
324           Download the source repository (i.e. git clone from github).
325
326
327       Flags:
328              -v, --verbose [n]
329                     Control  verbosity (n is 0--3, default verbosity level is
330                     1)
331
332              -d, --destdir PATH
333                     Where to place the package source, defaults to  the  cur‐
334                     rent directory.
335
336              -s, --source-repository [[head|this|...]]
337                     Copy the package's source repository (ie git clone, darcs
338                     get, etc as appropriate).
339
340              --index-state STATE
341                     Use source package index state as it existed at a  previ‐
342                     ous  time.  Accepts unix-timestamps (e.g. '@1474732068'),
343                     ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'),  or
344                     'HEAD'  (default:  'HEAD'). This determines which package
345                     versions are available as well as .cabal file revision is
346                     selected (unless --pristine is used).
347
348              --pristine
349                     Unpack  the original pristine tarball, rather than updat‐
350                     ing the .cabal file with the  latest  revision  from  the
351                     package archive.
352
353
354       cabal check
355
356       Usage: cabal check [FLAGS]
357
358
359       Expects a .cabal package file in the current directory.
360
361       The checks correspond to the requirements to packages on Hackage. If no
362       errors and warnings are reported, Hackage will accept this package.
363
364
365       Flags:
366              -v, --verbose [n]
367                     Control verbosity (n is 0--3, default verbosity level  is
368                     1)
369
370
371       cabal upload
372
373       Usage: cabal upload [FLAGS] TARFILES
374
375
376       You  can  store your Hackage login in the ~/.cabal/config file Relevant
377       global configuration keys:
378         username
379         password
380
381
382       Flags:
383              -v, --verbose [n]
384                     Control verbosity (n is 0--3, default verbosity level  is
385                     1)
386
387              --publish
388                     Publish  the  package instead of uploading it as a candi‐
389                     date.
390
391              -d, --documentation
392                     Upload documentation instead  of  a  source  package.  By
393                     default,  this uploads documentation for a package candi‐
394                     date. To upload documentation for  a  published  package,
395                     combine with --publish.
396
397              -u, --username USERNAME
398                     Hackage username.
399
400              -p, --password PASSWORD
401                     Hackage password.
402
403              -P, --password-command PASSWORD
404                     Command to get Hackage password.
405
406
407       cabal report
408
409       Usage: cabal report [FLAGS]
410
411
412       You can store your Hackage login in the ~/.cabal/config file
413
414
415       Flags:
416              -v, --verbose [n]
417                     Control  verbosity (n is 0--3, default verbosity level is
418                     1)
419
420              -u, --username USERNAME
421                     Hackage username.
422
423              -p, --password PASSWORD
424                     Hackage password.
425
426
427       cabal init
428
429       Usage: cabal init [FLAGS]
430
431
432       Cabalise a project by creating a .cabal,  Setup.hs,  and  optionally  a
433       LICENSE file.
434
435       Calling  init with no arguments (recommended) uses an interactive mode,
436       which will try to guess as much as possible  and  prompt  you  for  the
437       rest.   Command-line  arguments are provided for scripting purposes. If
438       you don't want interactive mode, be sure to pass the -n flag.
439
440
441       Flags:
442              -n, --non-interactive
443                     Non-interactive mode.
444
445              -q, --quiet
446                     Do not generate log messages to stdout.
447
448              --no-comments
449                     Do not generate explanatory comments in the .cabal file.
450
451              -m, --minimal
452                     Generate a minimal .cabal file, that is, do  not  include
453                     extra empty fields.  Also implies --no-comments.
454
455              --overwrite
456                     Overwrite any existing .cabal, LICENSE, or Setup.hs files
457                     without warning.
458
459              --package-dir, --packagedir DIRECTORY
460                     Root directory of the package (default =  current  direc‐
461                     tory).
462
463              -p, --package-name PACKAGE
464                     Name of the Cabal package to create.
465
466              --version VERSION
467                     Initial version of the package.
468
469              --cabal-version VERSION_RANGE
470                     Required version of the Cabal library.
471
472              -l, --license LICENSE
473                     Project license.
474
475              -a, --author NAME
476                     Name of the project's author.
477
478              -e, --email EMAIL
479                     Email address of the maintainer.
480
481              -u, --homepage URL
482                     Project homepage and/or repository.
483
484              -s, --synopsis TEXT
485                     Short project synopsis.
486
487              -c, --category CATEGORY
488                     Project category.
489
490              -x, --extra-source-file FILE
491                     Extra source file to be distributed with tarball.
492
493              --is-library
494                     Build a library.
495
496              --is-executable
497                     Build an executable.
498
499              --is-libandexe
500                     Build a library and an executable.
501
502              --main-is FILE
503                     Specify the main module.
504
505              --language LANGUAGE
506                     Specify the default language.
507
508              -o, --expose-module MODULE
509                     Export a module from the package.
510
511              --extension EXTENSION
512                     Use a LANGUAGE extension (in the other-extensions field).
513
514              -d, --dependency PACKAGE
515                     Package dependency.
516
517              --source-dir, --sourcedir DIR
518                     Directory containing package source.
519
520              --build-tool TOOL
521                     Required external build tool.
522
523              -v, --verbose [n]
524                     Control  verbosity (n is 0--3, default verbosity level is
525                     1)
526
527
528       cabal user-config
529
530       Usage: cabal user-config init
531          or: cabal user-config diff
532          or: cabal user-config update
533
534
535       When upgrading cabal, the set of configuration keys and  their  default
536       values  may  change.  This command provides means to merge the existing
537       config in ~/.cabal/config (i.e. all bindings that are actually  defined
538       and not commented out) and the default config of the new version.
539
540       init:  Creates a new config file at either ~/.cabal/config or as speci‐
541       fied by --config-file, if given. An existing file won't be  overwritten
542       unless -f or --force is given.  diff: Shows a pseudo-diff of the user's
543       ~/.cabal/config file and the default configuration that would  be  cre‐
544       ated  by  cabal  if the config file did not exist.  update: Applies the
545       pseudo-diff to the configuration that would be created by default,  and
546       write the result back to ~/.cabal/config.
547
548
549       Flags:
550              -v, --verbose [n]
551                     Control  verbosity (n is 0--3, default verbosity level is
552                     1)
553
554              -f, --force
555                     Overwrite the config file if it already exists.
556
557              -a, --augment CONFIGLINE
558                     Additional setting to augment the config file  (replacing
559                     a previous setting if it existed).
560
561
562       cabal gen-bounds
563
564       Usage: cabal gen-bounds [FLAGS]
565
566
567       Generates  bounds for all dependencies that do not currently have them.
568       Generated bounds are printed to stdout. You can then  paste  them  into
569       your
570
571
572
573       Flags:
574              -v, --verbose [n]
575                     Control  verbosity (n is 0--3, default verbosity level is
576                     1)
577
578
579       cabal outdated
580
581       Usage: cabal outdated [FLAGS]
582
583
584       Checks for outdated dependencies in the  package  description  file  or
585       freeze file
586
587
588       Flags:
589              -v, --verbose [n]
590                     Control  verbosity (n is 0--3, default verbosity level is
591                     1)
592
593              --freeze-file, --v1-freeze-file
594                     Act on the freeze file
595
596              --new-freeze-file, --v2-freeze-file
597                     Act   on   the   new-style    freeze    file    (default:
598                     cabal.project.freeze)
599
600              --project-file PROJECTFILE
601                     Act on the new-style freeze file named PROJECTFILE.freeze
602                     rather than the default cabal.project.freeze
603
604              --simple-output
605                     Only print names of outdated dependencies, one per line
606
607              --exit-code
608                     Exit with non-zero when there are outdated dependencies
609
610              -q, --quiet
611                     Don't print any output. Implies '--exit-code' and '-v0'
612
613              --ignore PKGS
614                     Packages to ignore
615
616              --minor [PKGS]
617                     Ignore major version bumps for these packages
618
619
620       cabal hscolour
621
622       Usage: cabal hscolour [FLAGS]
623
624
625       Requires the hscolour program.
626
627
628       Deprecated in favour of 'cabal haddock --hyperlink-source'.
629
630       Flags:
631              -v, --verbose [n]
632                     Control verbosity (n is 0--3, default verbosity level  is
633                     1)
634
635              --builddir, --distdir, --distpref DIR
636                     The  directory  where  Cabal  puts  generated build files
637                     (default dist)
638
639              --executables
640                     Run hscolour for Executables targets
641
642              --tests
643                     Run hscolour for Test Suite targets
644
645              --benchmarks
646                     Run hscolour for Benchmark targets
647
648              --foreign-libraries
649                     Run hscolour for Foreign Library targets
650
651              --all
652                     Run hscolour for all targets
653
654              --css PATH
655                     Use a cascading style sheet
656
657
658       cabal v2-configure
659
660       Usage: cabal v2-configure [FLAGS]
661
662
663       Adjust how the project is built by setting additional package flags and
664       other flags.
665
666       The configuration options are written to the 'cabal.project.local' file
667       (or configuration from the 'cabal.project' file (if any). This combina‐
668       tion  is used as the project configuration for all other commands (such
669       as 'v2-build',
670
671       The v2-configure command also checks  that  the  project  configuration
672       will  work.  In  particular it checks that there is a consistent set of
673       dependencies for the project as a whole.
674
675       The 'cabal.project.local' file persists across 'v2-clean' but is  over‐
676       written on the next use of the 'v2-configure' command. The intention is
677       that the
678
679       It is never necessary to use the 'v2-configure' command. It is merely a
680       convenience  in  cases  where  you  do  not  want  to  specify flags to
681       'v2-build' (and other commands) every time and yet do not want to alter
682       the
683
684
685       Adjust how the project is built by setting additional package flags and
686       other flags.
687
688       The configuration options are written to the 'cabal.project.local' file
689       (or configuration from the 'cabal.project' file (if any). This combina‐
690       tion is used as the project configuration for all other commands  (such
691       as 'v2-build',
692
693       The  v2-configure  command  also  checks that the project configuration
694       will work. In particular it checks that there is a  consistent  set  of
695       dependencies for the project as a whole.
696
697       The  'cabal.project.local' file persists across 'v2-clean' but is over‐
698       written on the next use of the 'v2-configure' command. The intention is
699       that the
700
701       It is never necessary to use the 'v2-configure' command. It is merely a
702       convenience in cases  where  you  do  not  want  to  specify  flags  to
703       'v2-build' (and other commands) every time and yet do not want to alter
704       the
705
706
707       Flags:
708              -v, --verbose [n]
709                     Control verbosity (n is 0--3, default verbosity level  is
710                     1)
711
712              --builddir, --distdir, --distpref DIR
713                     The  directory  where  Cabal  puts  generated build files
714                     (default dist)
715
716              -g, --ghc
717                     compile with GHC
718
719              --ghcjs
720                     compile with GHCJS
721
722              --uhc
723                     compile with UHC
724
725              --haskell-suite
726                     compile with a haskell-suite compiler
727
728              --cabal-file PATH
729                     use this Cabal file
730
731              -w, --with-compiler PATH
732                     give the path to a particular compiler
733
734              --with-hc-pkg PATH
735                     give the path to the package tool
736
737              --prefix DIR
738                     bake this prefix in preparation of installation
739
740              --bindir DIR
741                     installation directory for executables
742
743              --libdir DIR
744                     installation directory for libraries
745
746              --libsubdir DIR
747                     subdirectory of libdir in which libs are installed
748
749              --dynlibdir DIR
750                     installation directory for dynamic libraries
751
752              --libexecdir DIR
753                     installation directory for program executables
754
755              --libexecsubdir DIR
756                     subdirectory of libexecdir in which  private  executables
757                     are installed
758
759              --datadir DIR
760                     installation directory for read-only data
761
762              --datasubdir DIR
763                     subdirectory of datadir in which data files are installed
764
765              --docdir DIR
766                     installation directory for documentation
767
768              --htmldir DIR
769                     installation directory for HTML documentation
770
771              --haddockdir DIR
772                     installation directory for haddock interfaces
773
774              --sysconfdir DIR
775                     installation directory for configuration files
776
777              --program-prefix PREFIX
778                     prefix to be applied to installed executables
779
780              --program-suffix SUFFIX
781                     suffix to be applied to installed executables
782
783              --enable-library-vanilla
784              --disable-library-vanilla
785                     Vanilla libraries
786
787              -p, --enable-library-profiling
788              --disable-library-profiling
789                     Library profiling
790
791              --enable-shared
792              --disable-shared
793                     Shared library
794
795              --enable-static
796              --disable-static
797                     Static library
798
799              --enable-executable-dynamic
800              --disable-executable-dynamic
801                     Executable dynamic linking
802
803              --enable-profiling
804              --disable-profiling
805                     Executable and library profiling
806
807              --enable-executable-profiling
808              --disable-executable-profiling
809                     Executable profiling (DEPRECATED)
810
811              --profiling-detail level
812                     Profiling   detail   level  for  executable  and  library
813                     (default, none,  exported-functions,  toplevel-functions,
814                     all-functions).
815
816              --library-profiling-detail level
817                     Profiling detail level for libraries only.
818
819              -O, --enable-optimization, --enable-optimisation [n]
820                     Build with optimization (n is 0--2, default is 1)
821
822              --disable-optimization, --disable-optimisation
823                     Build without optimization
824
825              --enable-debug-info [n]
826                     Emit debug info (n is 0--3, default is 0)
827
828              --disable-debug-info
829                     Don't emit debug info
830
831              --enable-library-for-ghci
832              --disable-library-for-ghci
833                     compile library for use with GHCi
834
835              --enable-split-sections
836              --disable-split-sections
837                     compile  library  code such that unneeded definitions can
838                     be dropped from the final executable (GHC 7.8+)
839
840              --enable-split-objs
841              --disable-split-objs
842                     split library into smaller objects to reduce binary sizes
843                     (GHC 6.6+)
844
845              --enable-executable-stripping
846              --disable-executable-stripping
847                     strip  executables  upon  installation  to  reduce binary
848                     sizes
849
850              --enable-library-stripping
851              --disable-library-stripping
852                     strip libraries upon installation to reduce binary sizes
853
854              --configure-option OPT
855                     Extra option for configure
856
857              --user
858              --global
859                     doing a per-user installation
860
861              --package-db DB
862                     Append the given package database to the list of  package
863                     databases  used  (to  satisfy  dependencies  and register
864                     into). May be a specific file, 'global'  or  'user'.  The
865                     initial   list  is  ['global'],  ['global',  'user'],  or
866                     ['global', $sandbox], depending on context.  Use  'clear'
867                     to  reset  the  list  to  empty.  See  the user guide for
868                     details.
869
870              -f, --flags FLAGS
871                     Force values for the given flags in Cabal conditionals in
872                     the  .cabal  file.  E.g., --flags="debug -usebytestrings"
873                     forces the flag "debug" to true and  "usebytestrings"  to
874                     false.
875
876              --extra-include-dirs PATH
877                     A list of directories to search for header files
878
879              --enable-deterministic
880              --disable-deterministic
881                     Try  to be as deterministic as possible (used by the test
882                     suite)
883
884              --ipid IPID
885                     Installed package ID to compile this package as
886
887              --cid CID
888                     Installed component ID to compile this component as
889
890              --extra-lib-dirs PATH
891                     A list of directories to search for external libraries
892
893              --extra-framework-dirs PATH
894                     A list of directories to search for  external  frameworks
895                     (OS X only)
896
897              --extra-prog-path PATH
898                     A list of directories to search for required programs (in
899                     addition to the normal search locations)
900
901              --instantiate-with NAME=MOD
902                     A mapping of signature names to concrete module instanti‐
903                     ations.
904
905              --enable-tests
906              --disable-tests
907                     dependency  checking  and  compilation  for  test  suites
908                     listed in the package description file.
909
910              --enable-coverage
911              --disable-coverage
912                     build package with Haskell Program Coverage. (GHC only)
913
914              --enable-library-coverage
915              --disable-library-coverage
916                     build package with Haskell Program Coverage.  (GHC  only)
917                     (DEPRECATED)
918
919              --enable-benchmarks
920              --disable-benchmarks
921                     dependency checking and compilation for benchmarks listed
922                     in the package description file.
923
924              --enable-relocatable
925              --disable-relocatable
926                     building a package that is relocatable. (GHC only)
927
928              --disable-response-files
929                     enable workaround for old versions of programs like  "ar"
930                     that do not support @file arguments
931
932              --with-alex PATH
933                     give the path to alex
934
935              --with-ar PATH
936                     give the path to ar
937
938              --with-c2hs PATH
939                     give the path to c2hs
940
941              --with-cpphs PATH
942                     give the path to cpphs
943
944              --with-doctest PATH
945                     give the path to doctest
946
947              --with-gcc PATH
948                     give the path to gcc
949
950              --with-ghc PATH
951                     give the path to ghc
952
953              --with-ghc-pkg PATH
954                     give the path to ghc-pkg
955
956              --with-ghcjs PATH
957                     give the path to ghcjs
958
959              --with-ghcjs-pkg PATH
960                     give the path to ghcjs-pkg
961
962              --with-greencard PATH
963                     give the path to greencard
964
965              --with-haddock PATH
966                     give the path to haddock
967
968              --with-happy PATH
969                     give the path to happy
970
971              --with-haskell-suite PATH
972                     give the path to haskell-suite
973
974              --with-haskell-suite-pkg PATH
975                     give the path to haskell-suite-pkg
976
977              --with-hmake PATH
978                     give the path to hmake
979
980              --with-hpc PATH
981                     give the path to hpc
982
983              --with-hsc2hs PATH
984                     give the path to hsc2hs
985
986              --with-hscolour PATH
987                     give the path to hscolour
988
989              --with-jhc PATH
990                     give the path to jhc
991
992              --with-ld PATH
993                     give the path to ld
994
995              --with-pkg-config PATH
996                     give the path to pkg-config
997
998              --with-runghc PATH
999                     give the path to runghc
1000
1001              --with-strip PATH
1002                     give the path to strip
1003
1004              --with-tar PATH
1005                     give the path to tar
1006
1007              --with-uhc PATH
1008                     give the path to uhc
1009
1010              --alex-option OPT
1011                     give  an  extra  option to alex (no need to quote options
1012                     containing spaces)
1013
1014              --ar-option OPT
1015                     give an extra option to ar (no need to quote options con‐
1016                     taining spaces)
1017
1018              --c2hs-option OPT
1019                     give  an  extra  option to c2hs (no need to quote options
1020                     containing spaces)
1021
1022              --cpphs-option OPT
1023                     give an extra option to cpphs (no need to  quote  options
1024                     containing spaces)
1025
1026              --doctest-option OPT
1027                     give an extra option to doctest (no need to quote options
1028                     containing spaces)
1029
1030              --gcc-option OPT
1031                     give an extra option to gcc (no  need  to  quote  options
1032                     containing spaces)
1033
1034              --ghc-option OPT
1035                     give  an  extra  option  to ghc (no need to quote options
1036                     containing spaces)
1037
1038              --ghc-pkg-option OPT
1039                     give an extra option to ghc-pkg (no need to quote options
1040                     containing spaces)
1041
1042              --ghcjs-option OPT
1043                     give  an  extra option to ghcjs (no need to quote options
1044                     containing spaces)
1045
1046              --ghcjs-pkg-option OPT
1047                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
1048                     options containing spaces)
1049
1050              --greencard-option OPT
1051                     give  an  extra  option  to  greencard  (no need to quote
1052                     options containing spaces)
1053
1054              --haddock-option OPT
1055                     give an extra option to haddock (no need to quote options
1056                     containing spaces)
1057
1058              --happy-option OPT
1059                     give  an  extra option to happy (no need to quote options
1060                     containing spaces)
1061
1062              --haskell-suite-option OPT
1063                     give an extra option to haskell-suite (no need  to  quote
1064                     options containing spaces)
1065
1066              --haskell-suite-pkg-option OPT
1067                     give  an  extra  option  to haskell-suite-pkg (no need to
1068                     quote options containing spaces)
1069
1070              --hmake-option OPT
1071                     give an extra option to hmake (no need to  quote  options
1072                     containing spaces)
1073
1074              --hpc-option OPT
1075                     give  an  extra  option  to hpc (no need to quote options
1076                     containing spaces)
1077
1078              --hsc2hs-option OPT
1079                     give an extra option to hsc2hs (no need to quote  options
1080                     containing spaces)
1081
1082              --hscolour-option OPT
1083                     give  an  extra  option  to  hscolour  (no  need to quote
1084                     options containing spaces)
1085
1086              --jhc-option OPT
1087                     give an extra option to jhc (no  need  to  quote  options
1088                     containing spaces)
1089
1090              --ld-option OPT
1091                     give an extra option to ld (no need to quote options con‐
1092                     taining spaces)
1093
1094              --pkg-config-option OPT
1095                     give an extra option to  pkg-config  (no  need  to  quote
1096                     options containing spaces)
1097
1098              --runghc-option OPT
1099                     give  an extra option to runghc (no need to quote options
1100                     containing spaces)
1101
1102              --strip-option OPT
1103                     give an extra option to strip (no need to  quote  options
1104                     containing spaces)
1105
1106              --tar-option OPT
1107                     give  an  extra  option  to tar (no need to quote options
1108                     containing spaces)
1109
1110              --uhc-option OPT
1111                     give an extra option to uhc (no  need  to  quote  options
1112                     containing spaces)
1113
1114              --alex-options OPTS
1115                     give extra options to alex
1116
1117              --ar-options OPTS
1118                     give extra options to ar
1119
1120              --c2hs-options OPTS
1121                     give extra options to c2hs
1122
1123              --cpphs-options OPTS
1124                     give extra options to cpphs
1125
1126              --doctest-options OPTS
1127                     give extra options to doctest
1128
1129              --gcc-options OPTS
1130                     give extra options to gcc
1131
1132              --ghc-options OPTS
1133                     give extra options to ghc
1134
1135              --ghc-pkg-options OPTS
1136                     give extra options to ghc-pkg
1137
1138              --ghcjs-options OPTS
1139                     give extra options to ghcjs
1140
1141              --ghcjs-pkg-options OPTS
1142                     give extra options to ghcjs-pkg
1143
1144              --greencard-options OPTS
1145                     give extra options to greencard
1146
1147              --haddock-options OPTS
1148                     give extra options to haddock
1149
1150              --happy-options OPTS
1151                     give extra options to happy
1152
1153              --haskell-suite-options OPTS
1154                     give extra options to haskell-suite
1155
1156              --haskell-suite-pkg-options OPTS
1157                     give extra options to haskell-suite-pkg
1158
1159              --hmake-options OPTS
1160                     give extra options to hmake
1161
1162              --hpc-options OPTS
1163                     give extra options to hpc
1164
1165              --hsc2hs-options OPTS
1166                     give extra options to hsc2hs
1167
1168              --hscolour-options OPTS
1169                     give extra options to hscolour
1170
1171              --jhc-options OPTS
1172                     give extra options to jhc
1173
1174              --ld-options OPTS
1175                     give extra options to ld
1176
1177              --pkg-config-options OPTS
1178                     give extra options to pkg-config
1179
1180              --runghc-options OPTS
1181                     give extra options to runghc
1182
1183              --strip-options OPTS
1184                     give extra options to strip
1185
1186              --tar-options OPTS
1187                     give extra options to tar
1188
1189              --uhc-options OPTS
1190                     give extra options to uhc
1191
1192              --cabal-lib-version VERSION
1193                     Select  which  version  of  the Cabal lib to use to build
1194                     packages (useful for testing).
1195
1196              --constraint CONSTRAINT
1197                     Specify    constraints    on    a    package    (version,
1198                     installed/source, flags)
1199
1200              --preference CONSTRAINT
1201                     Specify  preferences (soft constraints) on the version of
1202                     a package
1203
1204              --solver SOLVER
1205                     Select  dependency  solver  to  use  (default:  modular).
1206                     Choices: modular.
1207
1208              --allow-older [DEPS]
1209                     Ignore lower bounds in all dependencies or DEPS
1210
1211              --allow-newer [DEPS]
1212                     Ignore upper bounds in all dependencies or DEPS
1213
1214              --enable-documentation
1215              --disable-documentation
1216                     building of documentation
1217
1218              --doc-index-file TEMPLATE
1219                     A  central  index  of haddock API documentation (template
1220                     cannot use $pkgid)
1221
1222              --dry-run
1223                     Do  not  install  anything,  only  print  what  would  be
1224                     installed.
1225
1226              --max-backjumps NUM
1227                     Maximum   number   of  backjumps  allowed  while  solving
1228                     (default: 2000). Use a negative number to  enable  unlim‐
1229                     ited  backtracking.  Use  0  to disable backtracking com‐
1230                     pletely.
1231
1232              --reorder-goals
1233              --no-reorder-goals
1234                     Try to reorder goals  according  to  certain  heuristics.
1235                     Slows  things  down on average, but may make backtracking
1236                     faster for some packages.
1237
1238              --count-conflicts
1239              --no-count-conflicts
1240                     Try to speed up solving  by  preferring  goals  that  are
1241                     involved in a lot of conflicts (default).
1242
1243              --independent-goals
1244              --no-independent-goals
1245                     Treat  several  goals on the command line as independent.
1246                     If several goals depend on the  same  package,  different
1247                     versions can be chosen.
1248
1249              --shadow-installed-packages
1250              --no-shadow-installed-packages
1251                     If  multiple  package  instances  of the same version are
1252                     installed, treat all but one as shadowed.
1253
1254              --strong-flags
1255              --no-strong-flags
1256                     Do not defer flag choices (this used to be the default in
1257                     cabal-install <= 1.20).
1258
1259              --allow-boot-library-installs
1260              --no-allow-boot-library-installs
1261                     Allow  cabal  to  install base, ghc-prim, integer-simple,
1262                     integer-gmp, and template-haskell.
1263
1264              --reinstall
1265              --no-reinstall
1266                     Install even if it  means  installing  the  same  version
1267                     again.
1268
1269              --avoid-reinstalls
1270              --no-avoid-reinstalls
1271                     Do not select versions that would destructively overwrite
1272                     installed packages.
1273
1274              --force-reinstalls
1275              --no-force-reinstalls
1276                     Reinstall packages even if they will  most  likely  break
1277                     other installed packages.
1278
1279              --upgrade-dependencies
1280              --no-upgrade-dependencies
1281                     Pick the latest version for all dependencies, rather than
1282                     trying to pick an installed version.
1283
1284              --only-dependencies
1285              --no-only-dependencies
1286                     Install only the  dependencies  necessary  to  build  the
1287                     given packages
1288
1289              --dependencies-only
1290              --no-dependencies-only
1291                     A synonym for --only-dependencies
1292
1293              --index-state STATE
1294                     Use  source package index state as it existed at a previ‐
1295                     ous time. Accepts unix-timestamps  (e.g.  '@1474732068'),
1296                     ISO8601  UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or
1297                     'HEAD' (default: 'HEAD').
1298
1299              --root-cmd COMMAND
1300                     (No longer supported, do not use.)
1301
1302              --symlink-bindir DIR
1303                     Add symlinks to installed executables  into  this  direc‐
1304                     tory.
1305
1306              --build-summary TEMPLATE
1307                     Save  build  summaries  to  file  (name  template can use
1308                     $pkgid, $compiler, $os, $arch)
1309
1310              --build-log TEMPLATE
1311                     Log all builds to file (name  template  can  use  $pkgid,
1312                     $compiler, $os, $arch)
1313
1314              --remote-build-reporting LEVEL
1315                     Generate  build reports to send to a remote server (none,
1316                     anonymous or detailed).
1317
1318              --report-planning-failure
1319                     Generate build reports when the dependency solver  fails.
1320                     This is used by the Hackage build bot.
1321
1322              --enable-per-component
1323              --disable-per-component
1324                     Per-component builds when possible
1325
1326              --one-shot
1327              --no-one-shot
1328                     Do not record the packages in the world file.
1329
1330              --run-tests
1331                     Run package test suites during installation.
1332
1333              -j, --jobs [NUM]
1334                     Run  NUM  jobs  simultaneously  (or '$ncpus' if no NUM is
1335                     given).
1336
1337              --keep-going
1338                     After a build failure, continue to build other unaffected
1339                     packages.
1340
1341              --offline
1342              --no-offline
1343                     Don't download packages from the Internet.
1344
1345              --project-file FILE
1346                     Set  the  name of the cabal.project file to search for in
1347                     parent directories
1348
1349              --only
1350                     Only installs the package in the current directory.
1351
1352              --haddock-hoogle
1353                     Generate a hoogle database
1354
1355              --haddock-html
1356                     Generate HTML documentation (the default)
1357
1358              --haddock-html-location URL
1359                     Location of HTML documentation for pre-requisite packages
1360
1361              --haddock-for-hackage
1362                     Collection of flags to  generate  documentation  suitable
1363                     for upload to hackage
1364
1365              --haddock-executables
1366                     Run haddock for Executables targets
1367
1368              --haddock-tests
1369                     Run haddock for Test Suite targets
1370
1371              --haddock-benchmarks
1372                     Run haddock for Benchmark targets
1373
1374              --haddock-all
1375                     Run haddock for all targets
1376
1377              --haddock-internal
1378                     Run haddock for internal modules and include all symbols
1379
1380              --haddock-css PATH
1381                     Use PATH as the haddock stylesheet
1382
1383              --haddock-hyperlink-source,  --haddock-hyperlink-sources, --had‐
1384              dock-hyperlinked-source
1385                     Hyperlink the documentation to the source code
1386
1387              --haddock-quickjump
1388                     Generate an index for interactive  documentation  naviga‐
1389                     tion
1390
1391              --haddock-hscolour-css PATH
1392                     Use PATH as the HsColour stylesheet
1393
1394              --haddock-contents-location URL
1395                     Bake URL in as the location for the contents page
1396
1397
1398       cabal new-configure
1399
1400       Usage: cabal new-configure [FLAGS]
1401
1402
1403       Adjust how the project is built by setting additional package flags and
1404       other flags.
1405
1406       The configuration options are written to the 'cabal.project.local' file
1407       (or configuration from the 'cabal.project' file (if any). This combina‐
1408       tion is used as the project configuration for all other commands  (such
1409       as 'new-build',
1410
1411       The  new-configure  command  also checks that the project configuration
1412       will work. In particular it checks that there is a  consistent  set  of
1413       dependencies for the project as a whole.
1414
1415       The 'cabal.project.local' file persists across 'new-clean' but is over‐
1416       written on the next use of the 'new-configure' command.  The  intention
1417       is that the
1418
1419       It  is never necessary to use the 'new-configure' command. It is merely
1420       a convenience in cases where you do not want to specify flags to  'new-
1421       build' (and other commands) every time and yet do not want to alter the
1422
1423
1424       Examples:
1425         cabal new-configure --with-compiler ghc-7.10.3
1426           Adjust the project configuration to use the given compiler
1427           program and check the resulting configuration works.
1428         cabal new-configure
1429           Reset the local configuration to empty and check the overall
1430           project configuration works.
1431
1432       Note:  this  command  is part of the new project-based system (aka nix-
1433       style local builds). These features are currently in beta.  Please  see
1434       http://cabal.readthedocs.io/en/latest/nix-local-build-overview.html for
1435       details and advice on what you can expect to  work.  If  you  encounter
1436       problems  please file issues at https://github.com/haskell/cabal/issues
1437       and if you have any time to get involved and help with testing,  fixing
1438       bugs etc then that is very much appreciated.
1439
1440
1441       Flags:
1442              -v, --verbose [n]
1443                     Control  verbosity (n is 0--3, default verbosity level is
1444                     1)
1445
1446              --builddir, --distdir, --distpref DIR
1447                     The directory where  Cabal  puts  generated  build  files
1448                     (default dist)
1449
1450              -g, --ghc
1451                     compile with GHC
1452
1453              --ghcjs
1454                     compile with GHCJS
1455
1456              --uhc
1457                     compile with UHC
1458
1459              --haskell-suite
1460                     compile with a haskell-suite compiler
1461
1462              --cabal-file PATH
1463                     use this Cabal file
1464
1465              -w, --with-compiler PATH
1466                     give the path to a particular compiler
1467
1468              --with-hc-pkg PATH
1469                     give the path to the package tool
1470
1471              --prefix DIR
1472                     bake this prefix in preparation of installation
1473
1474              --bindir DIR
1475                     installation directory for executables
1476
1477              --libdir DIR
1478                     installation directory for libraries
1479
1480              --libsubdir DIR
1481                     subdirectory of libdir in which libs are installed
1482
1483              --dynlibdir DIR
1484                     installation directory for dynamic libraries
1485
1486              --libexecdir DIR
1487                     installation directory for program executables
1488
1489              --libexecsubdir DIR
1490                     subdirectory  of  libexecdir in which private executables
1491                     are installed
1492
1493              --datadir DIR
1494                     installation directory for read-only data
1495
1496              --datasubdir DIR
1497                     subdirectory of datadir in which data files are installed
1498
1499              --docdir DIR
1500                     installation directory for documentation
1501
1502              --htmldir DIR
1503                     installation directory for HTML documentation
1504
1505              --haddockdir DIR
1506                     installation directory for haddock interfaces
1507
1508              --sysconfdir DIR
1509                     installation directory for configuration files
1510
1511              --program-prefix PREFIX
1512                     prefix to be applied to installed executables
1513
1514              --program-suffix SUFFIX
1515                     suffix to be applied to installed executables
1516
1517              --enable-library-vanilla
1518              --disable-library-vanilla
1519                     Vanilla libraries
1520
1521              -p, --enable-library-profiling
1522              --disable-library-profiling
1523                     Library profiling
1524
1525              --enable-shared
1526              --disable-shared
1527                     Shared library
1528
1529              --enable-static
1530              --disable-static
1531                     Static library
1532
1533              --enable-executable-dynamic
1534              --disable-executable-dynamic
1535                     Executable dynamic linking
1536
1537              --enable-profiling
1538              --disable-profiling
1539                     Executable and library profiling
1540
1541              --enable-executable-profiling
1542              --disable-executable-profiling
1543                     Executable profiling (DEPRECATED)
1544
1545              --profiling-detail level
1546                     Profiling  detail  level  for  executable   and   library
1547                     (default,  none,  exported-functions, toplevel-functions,
1548                     all-functions).
1549
1550              --library-profiling-detail level
1551                     Profiling detail level for libraries only.
1552
1553              -O, --enable-optimization, --enable-optimisation [n]
1554                     Build with optimization (n is 0--2, default is 1)
1555
1556              --disable-optimization, --disable-optimisation
1557                     Build without optimization
1558
1559              --enable-debug-info [n]
1560                     Emit debug info (n is 0--3, default is 0)
1561
1562              --disable-debug-info
1563                     Don't emit debug info
1564
1565              --enable-library-for-ghci
1566              --disable-library-for-ghci
1567                     compile library for use with GHCi
1568
1569              --enable-split-sections
1570              --disable-split-sections
1571                     compile library code such that unneeded  definitions  can
1572                     be dropped from the final executable (GHC 7.8+)
1573
1574              --enable-split-objs
1575              --disable-split-objs
1576                     split library into smaller objects to reduce binary sizes
1577                     (GHC 6.6+)
1578
1579              --enable-executable-stripping
1580              --disable-executable-stripping
1581                     strip executables  upon  installation  to  reduce  binary
1582                     sizes
1583
1584              --enable-library-stripping
1585              --disable-library-stripping
1586                     strip libraries upon installation to reduce binary sizes
1587
1588              --configure-option OPT
1589                     Extra option for configure
1590
1591              --user
1592              --global
1593                     doing a per-user installation
1594
1595              --package-db DB
1596                     Append  the given package database to the list of package
1597                     databases used  (to  satisfy  dependencies  and  register
1598                     into).  May  be  a specific file, 'global' or 'user'. The
1599                     initial  list  is  ['global'],  ['global',  'user'],   or
1600                     ['global',  $sandbox],  depending on context. Use 'clear'
1601                     to reset the list  to  empty.  See  the  user  guide  for
1602                     details.
1603
1604              -f, --flags FLAGS
1605                     Force values for the given flags in Cabal conditionals in
1606                     the .cabal file.  E.g.,  --flags="debug  -usebytestrings"
1607                     forces  the  flag "debug" to true and "usebytestrings" to
1608                     false.
1609
1610              --extra-include-dirs PATH
1611                     A list of directories to search for header files
1612
1613              --enable-deterministic
1614              --disable-deterministic
1615                     Try to be as deterministic as possible (used by the  test
1616                     suite)
1617
1618              --ipid IPID
1619                     Installed package ID to compile this package as
1620
1621              --cid CID
1622                     Installed component ID to compile this component as
1623
1624              --extra-lib-dirs PATH
1625                     A list of directories to search for external libraries
1626
1627              --extra-framework-dirs PATH
1628                     A  list  of directories to search for external frameworks
1629                     (OS X only)
1630
1631              --extra-prog-path PATH
1632                     A list of directories to search for required programs (in
1633                     addition to the normal search locations)
1634
1635              --instantiate-with NAME=MOD
1636                     A mapping of signature names to concrete module instanti‐
1637                     ations.
1638
1639              --enable-tests
1640              --disable-tests
1641                     dependency  checking  and  compilation  for  test  suites
1642                     listed in the package description file.
1643
1644              --enable-coverage
1645              --disable-coverage
1646                     build package with Haskell Program Coverage. (GHC only)
1647
1648              --enable-library-coverage
1649              --disable-library-coverage
1650                     build  package  with Haskell Program Coverage. (GHC only)
1651                     (DEPRECATED)
1652
1653              --enable-benchmarks
1654              --disable-benchmarks
1655                     dependency checking and compilation for benchmarks listed
1656                     in the package description file.
1657
1658              --enable-relocatable
1659              --disable-relocatable
1660                     building a package that is relocatable. (GHC only)
1661
1662              --disable-response-files
1663                     enable  workaround for old versions of programs like "ar"
1664                     that do not support @file arguments
1665
1666              --with-alex PATH
1667                     give the path to alex
1668
1669              --with-ar PATH
1670                     give the path to ar
1671
1672              --with-c2hs PATH
1673                     give the path to c2hs
1674
1675              --with-cpphs PATH
1676                     give the path to cpphs
1677
1678              --with-doctest PATH
1679                     give the path to doctest
1680
1681              --with-gcc PATH
1682                     give the path to gcc
1683
1684              --with-ghc PATH
1685                     give the path to ghc
1686
1687              --with-ghc-pkg PATH
1688                     give the path to ghc-pkg
1689
1690              --with-ghcjs PATH
1691                     give the path to ghcjs
1692
1693              --with-ghcjs-pkg PATH
1694                     give the path to ghcjs-pkg
1695
1696              --with-greencard PATH
1697                     give the path to greencard
1698
1699              --with-haddock PATH
1700                     give the path to haddock
1701
1702              --with-happy PATH
1703                     give the path to happy
1704
1705              --with-haskell-suite PATH
1706                     give the path to haskell-suite
1707
1708              --with-haskell-suite-pkg PATH
1709                     give the path to haskell-suite-pkg
1710
1711              --with-hmake PATH
1712                     give the path to hmake
1713
1714              --with-hpc PATH
1715                     give the path to hpc
1716
1717              --with-hsc2hs PATH
1718                     give the path to hsc2hs
1719
1720              --with-hscolour PATH
1721                     give the path to hscolour
1722
1723              --with-jhc PATH
1724                     give the path to jhc
1725
1726              --with-ld PATH
1727                     give the path to ld
1728
1729              --with-pkg-config PATH
1730                     give the path to pkg-config
1731
1732              --with-runghc PATH
1733                     give the path to runghc
1734
1735              --with-strip PATH
1736                     give the path to strip
1737
1738              --with-tar PATH
1739                     give the path to tar
1740
1741              --with-uhc PATH
1742                     give the path to uhc
1743
1744              --alex-option OPT
1745                     give an extra option to alex (no need  to  quote  options
1746                     containing spaces)
1747
1748              --ar-option OPT
1749                     give an extra option to ar (no need to quote options con‐
1750                     taining spaces)
1751
1752              --c2hs-option OPT
1753                     give an extra option to c2hs (no need  to  quote  options
1754                     containing spaces)
1755
1756              --cpphs-option OPT
1757                     give  an  extra option to cpphs (no need to quote options
1758                     containing spaces)
1759
1760              --doctest-option OPT
1761                     give an extra option to doctest (no need to quote options
1762                     containing spaces)
1763
1764              --gcc-option OPT
1765                     give  an  extra  option  to gcc (no need to quote options
1766                     containing spaces)
1767
1768              --ghc-option OPT
1769                     give an extra option to ghc (no  need  to  quote  options
1770                     containing spaces)
1771
1772              --ghc-pkg-option OPT
1773                     give an extra option to ghc-pkg (no need to quote options
1774                     containing spaces)
1775
1776              --ghcjs-option OPT
1777                     give an extra option to ghcjs (no need to  quote  options
1778                     containing spaces)
1779
1780              --ghcjs-pkg-option OPT
1781                     give  an  extra  option  to  ghcjs-pkg  (no need to quote
1782                     options containing spaces)
1783
1784              --greencard-option OPT
1785                     give an extra option  to  greencard  (no  need  to  quote
1786                     options containing spaces)
1787
1788              --haddock-option OPT
1789                     give an extra option to haddock (no need to quote options
1790                     containing spaces)
1791
1792              --happy-option OPT
1793                     give an extra option to happy (no need to  quote  options
1794                     containing spaces)
1795
1796              --haskell-suite-option OPT
1797                     give  an  extra option to haskell-suite (no need to quote
1798                     options containing spaces)
1799
1800              --haskell-suite-pkg-option OPT
1801                     give an extra option to  haskell-suite-pkg  (no  need  to
1802                     quote options containing spaces)
1803
1804              --hmake-option OPT
1805                     give  an  extra option to hmake (no need to quote options
1806                     containing spaces)
1807
1808              --hpc-option OPT
1809                     give an extra option to hpc (no  need  to  quote  options
1810                     containing spaces)
1811
1812              --hsc2hs-option OPT
1813                     give  an extra option to hsc2hs (no need to quote options
1814                     containing spaces)
1815
1816              --hscolour-option OPT
1817                     give an extra  option  to  hscolour  (no  need  to  quote
1818                     options containing spaces)
1819
1820              --jhc-option OPT
1821                     give  an  extra  option  to jhc (no need to quote options
1822                     containing spaces)
1823
1824              --ld-option OPT
1825                     give an extra option to ld (no need to quote options con‐
1826                     taining spaces)
1827
1828              --pkg-config-option OPT
1829                     give  an  extra  option  to  pkg-config (no need to quote
1830                     options containing spaces)
1831
1832              --runghc-option OPT
1833                     give an extra option to runghc (no need to quote  options
1834                     containing spaces)
1835
1836              --strip-option OPT
1837                     give  an  extra option to strip (no need to quote options
1838                     containing spaces)
1839
1840              --tar-option OPT
1841                     give an extra option to tar (no  need  to  quote  options
1842                     containing spaces)
1843
1844              --uhc-option OPT
1845                     give  an  extra  option  to uhc (no need to quote options
1846                     containing spaces)
1847
1848              --alex-options OPTS
1849                     give extra options to alex
1850
1851              --ar-options OPTS
1852                     give extra options to ar
1853
1854              --c2hs-options OPTS
1855                     give extra options to c2hs
1856
1857              --cpphs-options OPTS
1858                     give extra options to cpphs
1859
1860              --doctest-options OPTS
1861                     give extra options to doctest
1862
1863              --gcc-options OPTS
1864                     give extra options to gcc
1865
1866              --ghc-options OPTS
1867                     give extra options to ghc
1868
1869              --ghc-pkg-options OPTS
1870                     give extra options to ghc-pkg
1871
1872              --ghcjs-options OPTS
1873                     give extra options to ghcjs
1874
1875              --ghcjs-pkg-options OPTS
1876                     give extra options to ghcjs-pkg
1877
1878              --greencard-options OPTS
1879                     give extra options to greencard
1880
1881              --haddock-options OPTS
1882                     give extra options to haddock
1883
1884              --happy-options OPTS
1885                     give extra options to happy
1886
1887              --haskell-suite-options OPTS
1888                     give extra options to haskell-suite
1889
1890              --haskell-suite-pkg-options OPTS
1891                     give extra options to haskell-suite-pkg
1892
1893              --hmake-options OPTS
1894                     give extra options to hmake
1895
1896              --hpc-options OPTS
1897                     give extra options to hpc
1898
1899              --hsc2hs-options OPTS
1900                     give extra options to hsc2hs
1901
1902              --hscolour-options OPTS
1903                     give extra options to hscolour
1904
1905              --jhc-options OPTS
1906                     give extra options to jhc
1907
1908              --ld-options OPTS
1909                     give extra options to ld
1910
1911              --pkg-config-options OPTS
1912                     give extra options to pkg-config
1913
1914              --runghc-options OPTS
1915                     give extra options to runghc
1916
1917              --strip-options OPTS
1918                     give extra options to strip
1919
1920              --tar-options OPTS
1921                     give extra options to tar
1922
1923              --uhc-options OPTS
1924                     give extra options to uhc
1925
1926              --cabal-lib-version VERSION
1927                     Select which version of the Cabal lib  to  use  to  build
1928                     packages (useful for testing).
1929
1930              --constraint CONSTRAINT
1931                     Specify    constraints    on    a    package    (version,
1932                     installed/source, flags)
1933
1934              --preference CONSTRAINT
1935                     Specify preferences (soft constraints) on the version  of
1936                     a package
1937
1938              --solver SOLVER
1939                     Select  dependency  solver  to  use  (default:  modular).
1940                     Choices: modular.
1941
1942              --allow-older [DEPS]
1943                     Ignore lower bounds in all dependencies or DEPS
1944
1945              --allow-newer [DEPS]
1946                     Ignore upper bounds in all dependencies or DEPS
1947
1948              --enable-documentation
1949              --disable-documentation
1950                     building of documentation
1951
1952              --doc-index-file TEMPLATE
1953                     A central index of haddock  API  documentation  (template
1954                     cannot use $pkgid)
1955
1956              --dry-run
1957                     Do  not  install  anything,  only  print  what  would  be
1958                     installed.
1959
1960              --max-backjumps NUM
1961                     Maximum  number  of  backjumps  allowed   while   solving
1962                     (default:  2000).  Use a negative number to enable unlim‐
1963                     ited backtracking. Use 0  to  disable  backtracking  com‐
1964                     pletely.
1965
1966              --reorder-goals
1967              --no-reorder-goals
1968                     Try  to  reorder  goals  according to certain heuristics.
1969                     Slows things down on average, but may  make  backtracking
1970                     faster for some packages.
1971
1972              --count-conflicts
1973              --no-count-conflicts
1974                     Try  to  speed  up  solving  by preferring goals that are
1975                     involved in a lot of conflicts (default).
1976
1977              --independent-goals
1978              --no-independent-goals
1979                     Treat several goals on the command line  as  independent.
1980                     If  several  goals  depend on the same package, different
1981                     versions can be chosen.
1982
1983              --shadow-installed-packages
1984              --no-shadow-installed-packages
1985                     If multiple package instances of  the  same  version  are
1986                     installed, treat all but one as shadowed.
1987
1988              --strong-flags
1989              --no-strong-flags
1990                     Do not defer flag choices (this used to be the default in
1991                     cabal-install <= 1.20).
1992
1993              --allow-boot-library-installs
1994              --no-allow-boot-library-installs
1995                     Allow cabal to install  base,  ghc-prim,  integer-simple,
1996                     integer-gmp, and template-haskell.
1997
1998              --reinstall
1999              --no-reinstall
2000                     Install  even  if  it  means  installing the same version
2001                     again.
2002
2003              --avoid-reinstalls
2004              --no-avoid-reinstalls
2005                     Do not select versions that would destructively overwrite
2006                     installed packages.
2007
2008              --force-reinstalls
2009              --no-force-reinstalls
2010                     Reinstall  packages  even  if they will most likely break
2011                     other installed packages.
2012
2013              --upgrade-dependencies
2014              --no-upgrade-dependencies
2015                     Pick the latest version for all dependencies, rather than
2016                     trying to pick an installed version.
2017
2018              --only-dependencies
2019              --no-only-dependencies
2020                     Install  only  the  dependencies  necessary  to build the
2021                     given packages
2022
2023              --dependencies-only
2024              --no-dependencies-only
2025                     A synonym for --only-dependencies
2026
2027              --index-state STATE
2028                     Use source package index state as it existed at a  previ‐
2029                     ous  time.  Accepts unix-timestamps (e.g. '@1474732068'),
2030                     ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'),  or
2031                     'HEAD' (default: 'HEAD').
2032
2033              --root-cmd COMMAND
2034                     (No longer supported, do not use.)
2035
2036              --symlink-bindir DIR
2037                     Add  symlinks  to  installed executables into this direc‐
2038                     tory.
2039
2040              --build-summary TEMPLATE
2041                     Save build summaries  to  file  (name  template  can  use
2042                     $pkgid, $compiler, $os, $arch)
2043
2044              --build-log TEMPLATE
2045                     Log  all  builds  to  file (name template can use $pkgid,
2046                     $compiler, $os, $arch)
2047
2048              --remote-build-reporting LEVEL
2049                     Generate build reports to send to a remote server  (none,
2050                     anonymous or detailed).
2051
2052              --report-planning-failure
2053                     Generate  build reports when the dependency solver fails.
2054                     This is used by the Hackage build bot.
2055
2056              --enable-per-component
2057              --disable-per-component
2058                     Per-component builds when possible
2059
2060              --one-shot
2061              --no-one-shot
2062                     Do not record the packages in the world file.
2063
2064              --run-tests
2065                     Run package test suites during installation.
2066
2067              -j, --jobs [NUM]
2068                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
2069                     given).
2070
2071              --keep-going
2072                     After a build failure, continue to build other unaffected
2073                     packages.
2074
2075              --offline
2076              --no-offline
2077                     Don't download packages from the Internet.
2078
2079              --project-file FILE
2080                     Set the name of the cabal.project file to search  for  in
2081                     parent directories
2082
2083              --only
2084                     Only installs the package in the current directory.
2085
2086              --haddock-hoogle
2087                     Generate a hoogle database
2088
2089              --haddock-html
2090                     Generate HTML documentation (the default)
2091
2092              --haddock-html-location URL
2093                     Location of HTML documentation for pre-requisite packages
2094
2095              --haddock-for-hackage
2096                     Collection  of  flags  to generate documentation suitable
2097                     for upload to hackage
2098
2099              --haddock-executables
2100                     Run haddock for Executables targets
2101
2102              --haddock-tests
2103                     Run haddock for Test Suite targets
2104
2105              --haddock-benchmarks
2106                     Run haddock for Benchmark targets
2107
2108              --haddock-all
2109                     Run haddock for all targets
2110
2111              --haddock-internal
2112                     Run haddock for internal modules and include all symbols
2113
2114              --haddock-css PATH
2115                     Use PATH as the haddock stylesheet
2116
2117              --haddock-hyperlink-source, --haddock-hyperlink-sources,  --had‐
2118              dock-hyperlinked-source
2119                     Hyperlink the documentation to the source code
2120
2121              --haddock-quickjump
2122                     Generate  an  index for interactive documentation naviga‐
2123                     tion
2124
2125              --haddock-hscolour-css PATH
2126                     Use PATH as the HsColour stylesheet
2127
2128              --haddock-contents-location URL
2129                     Bake URL in as the location for the contents page
2130
2131
2132       cabal v2-update
2133
2134       Usage: cabal v2-update [FLAGS] [REPOS]
2135
2136
2137       For all known remote repositories, download the package list.
2138
2139
2140       For all known remote repositories, download the package list.
2141
2142
2143       Flags:
2144              -v, --verbose [n]
2145                     Control verbosity (n is 0--3, default verbosity level  is
2146                     1)
2147
2148              --builddir, --distdir, --distpref DIR
2149                     The  directory  where  Cabal  puts  generated build files
2150                     (default dist)
2151
2152              -g, --ghc
2153                     compile with GHC
2154
2155              --ghcjs
2156                     compile with GHCJS
2157
2158              --uhc
2159                     compile with UHC
2160
2161              --haskell-suite
2162                     compile with a haskell-suite compiler
2163
2164              --cabal-file PATH
2165                     use this Cabal file
2166
2167              -w, --with-compiler PATH
2168                     give the path to a particular compiler
2169
2170              --with-hc-pkg PATH
2171                     give the path to the package tool
2172
2173              --prefix DIR
2174                     bake this prefix in preparation of installation
2175
2176              --bindir DIR
2177                     installation directory for executables
2178
2179              --libdir DIR
2180                     installation directory for libraries
2181
2182              --libsubdir DIR
2183                     subdirectory of libdir in which libs are installed
2184
2185              --dynlibdir DIR
2186                     installation directory for dynamic libraries
2187
2188              --libexecdir DIR
2189                     installation directory for program executables
2190
2191              --libexecsubdir DIR
2192                     subdirectory of libexecdir in which  private  executables
2193                     are installed
2194
2195              --datadir DIR
2196                     installation directory for read-only data
2197
2198              --datasubdir DIR
2199                     subdirectory of datadir in which data files are installed
2200
2201              --docdir DIR
2202                     installation directory for documentation
2203
2204              --htmldir DIR
2205                     installation directory for HTML documentation
2206
2207              --haddockdir DIR
2208                     installation directory for haddock interfaces
2209
2210              --sysconfdir DIR
2211                     installation directory for configuration files
2212
2213              --program-prefix PREFIX
2214                     prefix to be applied to installed executables
2215
2216              --program-suffix SUFFIX
2217                     suffix to be applied to installed executables
2218
2219              --enable-library-vanilla
2220              --disable-library-vanilla
2221                     Vanilla libraries
2222
2223              -p, --enable-library-profiling
2224              --disable-library-profiling
2225                     Library profiling
2226
2227              --enable-shared
2228              --disable-shared
2229                     Shared library
2230
2231              --enable-static
2232              --disable-static
2233                     Static library
2234
2235              --enable-executable-dynamic
2236              --disable-executable-dynamic
2237                     Executable dynamic linking
2238
2239              --enable-profiling
2240              --disable-profiling
2241                     Executable and library profiling
2242
2243              --enable-executable-profiling
2244              --disable-executable-profiling
2245                     Executable profiling (DEPRECATED)
2246
2247              --profiling-detail level
2248                     Profiling   detail   level  for  executable  and  library
2249                     (default, none,  exported-functions,  toplevel-functions,
2250                     all-functions).
2251
2252              --library-profiling-detail level
2253                     Profiling detail level for libraries only.
2254
2255              -O, --enable-optimization, --enable-optimisation [n]
2256                     Build with optimization (n is 0--2, default is 1)
2257
2258              --disable-optimization, --disable-optimisation
2259                     Build without optimization
2260
2261              --enable-debug-info [n]
2262                     Emit debug info (n is 0--3, default is 0)
2263
2264              --disable-debug-info
2265                     Don't emit debug info
2266
2267              --enable-library-for-ghci
2268              --disable-library-for-ghci
2269                     compile library for use with GHCi
2270
2271              --enable-split-sections
2272              --disable-split-sections
2273                     compile  library  code such that unneeded definitions can
2274                     be dropped from the final executable (GHC 7.8+)
2275
2276              --enable-split-objs
2277              --disable-split-objs
2278                     split library into smaller objects to reduce binary sizes
2279                     (GHC 6.6+)
2280
2281              --enable-executable-stripping
2282              --disable-executable-stripping
2283                     strip  executables  upon  installation  to  reduce binary
2284                     sizes
2285
2286              --enable-library-stripping
2287              --disable-library-stripping
2288                     strip libraries upon installation to reduce binary sizes
2289
2290              --configure-option OPT
2291                     Extra option for configure
2292
2293              --user
2294              --global
2295                     doing a per-user installation
2296
2297              --package-db DB
2298                     Append the given package database to the list of  package
2299                     databases  used  (to  satisfy  dependencies  and register
2300                     into). May be a specific file, 'global'  or  'user'.  The
2301                     initial   list  is  ['global'],  ['global',  'user'],  or
2302                     ['global', $sandbox], depending on context.  Use  'clear'
2303                     to  reset  the  list  to  empty.  See  the user guide for
2304                     details.
2305
2306              -f, --flags FLAGS
2307                     Force values for the given flags in Cabal conditionals in
2308                     the  .cabal  file.  E.g., --flags="debug -usebytestrings"
2309                     forces the flag "debug" to true and  "usebytestrings"  to
2310                     false.
2311
2312              --extra-include-dirs PATH
2313                     A list of directories to search for header files
2314
2315              --enable-deterministic
2316              --disable-deterministic
2317                     Try  to be as deterministic as possible (used by the test
2318                     suite)
2319
2320              --ipid IPID
2321                     Installed package ID to compile this package as
2322
2323              --cid CID
2324                     Installed component ID to compile this component as
2325
2326              --extra-lib-dirs PATH
2327                     A list of directories to search for external libraries
2328
2329              --extra-framework-dirs PATH
2330                     A list of directories to search for  external  frameworks
2331                     (OS X only)
2332
2333              --extra-prog-path PATH
2334                     A list of directories to search for required programs (in
2335                     addition to the normal search locations)
2336
2337              --instantiate-with NAME=MOD
2338                     A mapping of signature names to concrete module instanti‐
2339                     ations.
2340
2341              --enable-tests
2342              --disable-tests
2343                     dependency  checking  and  compilation  for  test  suites
2344                     listed in the package description file.
2345
2346              --enable-coverage
2347              --disable-coverage
2348                     build package with Haskell Program Coverage. (GHC only)
2349
2350              --enable-library-coverage
2351              --disable-library-coverage
2352                     build package with Haskell Program Coverage.  (GHC  only)
2353                     (DEPRECATED)
2354
2355              --enable-benchmarks
2356              --disable-benchmarks
2357                     dependency checking and compilation for benchmarks listed
2358                     in the package description file.
2359
2360              --enable-relocatable
2361              --disable-relocatable
2362                     building a package that is relocatable. (GHC only)
2363
2364              --disable-response-files
2365                     enable workaround for old versions of programs like  "ar"
2366                     that do not support @file arguments
2367
2368              --with-alex PATH
2369                     give the path to alex
2370
2371              --with-ar PATH
2372                     give the path to ar
2373
2374              --with-c2hs PATH
2375                     give the path to c2hs
2376
2377              --with-cpphs PATH
2378                     give the path to cpphs
2379
2380              --with-doctest PATH
2381                     give the path to doctest
2382
2383              --with-gcc PATH
2384                     give the path to gcc
2385
2386              --with-ghc PATH
2387                     give the path to ghc
2388
2389              --with-ghc-pkg PATH
2390                     give the path to ghc-pkg
2391
2392              --with-ghcjs PATH
2393                     give the path to ghcjs
2394
2395              --with-ghcjs-pkg PATH
2396                     give the path to ghcjs-pkg
2397
2398              --with-greencard PATH
2399                     give the path to greencard
2400
2401              --with-haddock PATH
2402                     give the path to haddock
2403
2404              --with-happy PATH
2405                     give the path to happy
2406
2407              --with-haskell-suite PATH
2408                     give the path to haskell-suite
2409
2410              --with-haskell-suite-pkg PATH
2411                     give the path to haskell-suite-pkg
2412
2413              --with-hmake PATH
2414                     give the path to hmake
2415
2416              --with-hpc PATH
2417                     give the path to hpc
2418
2419              --with-hsc2hs PATH
2420                     give the path to hsc2hs
2421
2422              --with-hscolour PATH
2423                     give the path to hscolour
2424
2425              --with-jhc PATH
2426                     give the path to jhc
2427
2428              --with-ld PATH
2429                     give the path to ld
2430
2431              --with-pkg-config PATH
2432                     give the path to pkg-config
2433
2434              --with-runghc PATH
2435                     give the path to runghc
2436
2437              --with-strip PATH
2438                     give the path to strip
2439
2440              --with-tar PATH
2441                     give the path to tar
2442
2443              --with-uhc PATH
2444                     give the path to uhc
2445
2446              --alex-option OPT
2447                     give  an  extra  option to alex (no need to quote options
2448                     containing spaces)
2449
2450              --ar-option OPT
2451                     give an extra option to ar (no need to quote options con‐
2452                     taining spaces)
2453
2454              --c2hs-option OPT
2455                     give  an  extra  option to c2hs (no need to quote options
2456                     containing spaces)
2457
2458              --cpphs-option OPT
2459                     give an extra option to cpphs (no need to  quote  options
2460                     containing spaces)
2461
2462              --doctest-option OPT
2463                     give an extra option to doctest (no need to quote options
2464                     containing spaces)
2465
2466              --gcc-option OPT
2467                     give an extra option to gcc (no  need  to  quote  options
2468                     containing spaces)
2469
2470              --ghc-option OPT
2471                     give  an  extra  option  to ghc (no need to quote options
2472                     containing spaces)
2473
2474              --ghc-pkg-option OPT
2475                     give an extra option to ghc-pkg (no need to quote options
2476                     containing spaces)
2477
2478              --ghcjs-option OPT
2479                     give  an  extra option to ghcjs (no need to quote options
2480                     containing spaces)
2481
2482              --ghcjs-pkg-option OPT
2483                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
2484                     options containing spaces)
2485
2486              --greencard-option OPT
2487                     give  an  extra  option  to  greencard  (no need to quote
2488                     options containing spaces)
2489
2490              --haddock-option OPT
2491                     give an extra option to haddock (no need to quote options
2492                     containing spaces)
2493
2494              --happy-option OPT
2495                     give  an  extra option to happy (no need to quote options
2496                     containing spaces)
2497
2498              --haskell-suite-option OPT
2499                     give an extra option to haskell-suite (no need  to  quote
2500                     options containing spaces)
2501
2502              --haskell-suite-pkg-option OPT
2503                     give  an  extra  option  to haskell-suite-pkg (no need to
2504                     quote options containing spaces)
2505
2506              --hmake-option OPT
2507                     give an extra option to hmake (no need to  quote  options
2508                     containing spaces)
2509
2510              --hpc-option OPT
2511                     give  an  extra  option  to hpc (no need to quote options
2512                     containing spaces)
2513
2514              --hsc2hs-option OPT
2515                     give an extra option to hsc2hs (no need to quote  options
2516                     containing spaces)
2517
2518              --hscolour-option OPT
2519                     give  an  extra  option  to  hscolour  (no  need to quote
2520                     options containing spaces)
2521
2522              --jhc-option OPT
2523                     give an extra option to jhc (no  need  to  quote  options
2524                     containing spaces)
2525
2526              --ld-option OPT
2527                     give an extra option to ld (no need to quote options con‐
2528                     taining spaces)
2529
2530              --pkg-config-option OPT
2531                     give an extra option to  pkg-config  (no  need  to  quote
2532                     options containing spaces)
2533
2534              --runghc-option OPT
2535                     give  an extra option to runghc (no need to quote options
2536                     containing spaces)
2537
2538              --strip-option OPT
2539                     give an extra option to strip (no need to  quote  options
2540                     containing spaces)
2541
2542              --tar-option OPT
2543                     give  an  extra  option  to tar (no need to quote options
2544                     containing spaces)
2545
2546              --uhc-option OPT
2547                     give an extra option to uhc (no  need  to  quote  options
2548                     containing spaces)
2549
2550              --alex-options OPTS
2551                     give extra options to alex
2552
2553              --ar-options OPTS
2554                     give extra options to ar
2555
2556              --c2hs-options OPTS
2557                     give extra options to c2hs
2558
2559              --cpphs-options OPTS
2560                     give extra options to cpphs
2561
2562              --doctest-options OPTS
2563                     give extra options to doctest
2564
2565              --gcc-options OPTS
2566                     give extra options to gcc
2567
2568              --ghc-options OPTS
2569                     give extra options to ghc
2570
2571              --ghc-pkg-options OPTS
2572                     give extra options to ghc-pkg
2573
2574              --ghcjs-options OPTS
2575                     give extra options to ghcjs
2576
2577              --ghcjs-pkg-options OPTS
2578                     give extra options to ghcjs-pkg
2579
2580              --greencard-options OPTS
2581                     give extra options to greencard
2582
2583              --haddock-options OPTS
2584                     give extra options to haddock
2585
2586              --happy-options OPTS
2587                     give extra options to happy
2588
2589              --haskell-suite-options OPTS
2590                     give extra options to haskell-suite
2591
2592              --haskell-suite-pkg-options OPTS
2593                     give extra options to haskell-suite-pkg
2594
2595              --hmake-options OPTS
2596                     give extra options to hmake
2597
2598              --hpc-options OPTS
2599                     give extra options to hpc
2600
2601              --hsc2hs-options OPTS
2602                     give extra options to hsc2hs
2603
2604              --hscolour-options OPTS
2605                     give extra options to hscolour
2606
2607              --jhc-options OPTS
2608                     give extra options to jhc
2609
2610              --ld-options OPTS
2611                     give extra options to ld
2612
2613              --pkg-config-options OPTS
2614                     give extra options to pkg-config
2615
2616              --runghc-options OPTS
2617                     give extra options to runghc
2618
2619              --strip-options OPTS
2620                     give extra options to strip
2621
2622              --tar-options OPTS
2623                     give extra options to tar
2624
2625              --uhc-options OPTS
2626                     give extra options to uhc
2627
2628              --cabal-lib-version VERSION
2629                     Select  which  version  of  the Cabal lib to use to build
2630                     packages (useful for testing).
2631
2632              --constraint CONSTRAINT
2633                     Specify    constraints    on    a    package    (version,
2634                     installed/source, flags)
2635
2636              --preference CONSTRAINT
2637                     Specify  preferences (soft constraints) on the version of
2638                     a package
2639
2640              --solver SOLVER
2641                     Select  dependency  solver  to  use  (default:  modular).
2642                     Choices: modular.
2643
2644              --allow-older [DEPS]
2645                     Ignore lower bounds in all dependencies or DEPS
2646
2647              --allow-newer [DEPS]
2648                     Ignore upper bounds in all dependencies or DEPS
2649
2650              --enable-documentation
2651              --disable-documentation
2652                     building of documentation
2653
2654              --doc-index-file TEMPLATE
2655                     A  central  index  of haddock API documentation (template
2656                     cannot use $pkgid)
2657
2658              --dry-run
2659                     Do  not  install  anything,  only  print  what  would  be
2660                     installed.
2661
2662              --max-backjumps NUM
2663                     Maximum   number   of  backjumps  allowed  while  solving
2664                     (default: 2000). Use a negative number to  enable  unlim‐
2665                     ited  backtracking.  Use  0  to disable backtracking com‐
2666                     pletely.
2667
2668              --reorder-goals
2669              --no-reorder-goals
2670                     Try to reorder goals  according  to  certain  heuristics.
2671                     Slows  things  down on average, but may make backtracking
2672                     faster for some packages.
2673
2674              --count-conflicts
2675              --no-count-conflicts
2676                     Try to speed up solving  by  preferring  goals  that  are
2677                     involved in a lot of conflicts (default).
2678
2679              --independent-goals
2680              --no-independent-goals
2681                     Treat  several  goals on the command line as independent.
2682                     If several goals depend on the  same  package,  different
2683                     versions can be chosen.
2684
2685              --shadow-installed-packages
2686              --no-shadow-installed-packages
2687                     If  multiple  package  instances  of the same version are
2688                     installed, treat all but one as shadowed.
2689
2690              --strong-flags
2691              --no-strong-flags
2692                     Do not defer flag choices (this used to be the default in
2693                     cabal-install <= 1.20).
2694
2695              --allow-boot-library-installs
2696              --no-allow-boot-library-installs
2697                     Allow  cabal  to  install base, ghc-prim, integer-simple,
2698                     integer-gmp, and template-haskell.
2699
2700              --reinstall
2701              --no-reinstall
2702                     Install even if it  means  installing  the  same  version
2703                     again.
2704
2705              --avoid-reinstalls
2706              --no-avoid-reinstalls
2707                     Do not select versions that would destructively overwrite
2708                     installed packages.
2709
2710              --force-reinstalls
2711              --no-force-reinstalls
2712                     Reinstall packages even if they will  most  likely  break
2713                     other installed packages.
2714
2715              --upgrade-dependencies
2716              --no-upgrade-dependencies
2717                     Pick the latest version for all dependencies, rather than
2718                     trying to pick an installed version.
2719
2720              --only-dependencies
2721              --no-only-dependencies
2722                     Install only the  dependencies  necessary  to  build  the
2723                     given packages
2724
2725              --dependencies-only
2726              --no-dependencies-only
2727                     A synonym for --only-dependencies
2728
2729              --index-state STATE
2730                     Use  source package index state as it existed at a previ‐
2731                     ous time. Accepts unix-timestamps  (e.g.  '@1474732068'),
2732                     ISO8601  UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or
2733                     'HEAD' (default: 'HEAD').
2734
2735              --root-cmd COMMAND
2736                     (No longer supported, do not use.)
2737
2738              --symlink-bindir DIR
2739                     Add symlinks to installed executables  into  this  direc‐
2740                     tory.
2741
2742              --build-summary TEMPLATE
2743                     Save  build  summaries  to  file  (name  template can use
2744                     $pkgid, $compiler, $os, $arch)
2745
2746              --build-log TEMPLATE
2747                     Log all builds to file (name  template  can  use  $pkgid,
2748                     $compiler, $os, $arch)
2749
2750              --remote-build-reporting LEVEL
2751                     Generate  build reports to send to a remote server (none,
2752                     anonymous or detailed).
2753
2754              --report-planning-failure
2755                     Generate build reports when the dependency solver  fails.
2756                     This is used by the Hackage build bot.
2757
2758              --enable-per-component
2759              --disable-per-component
2760                     Per-component builds when possible
2761
2762              --one-shot
2763              --no-one-shot
2764                     Do not record the packages in the world file.
2765
2766              --run-tests
2767                     Run package test suites during installation.
2768
2769              -j, --jobs [NUM]
2770                     Run  NUM  jobs  simultaneously  (or '$ncpus' if no NUM is
2771                     given).
2772
2773              --keep-going
2774                     After a build failure, continue to build other unaffected
2775                     packages.
2776
2777              --offline
2778              --no-offline
2779                     Don't download packages from the Internet.
2780
2781              --project-file FILE
2782                     Set  the  name of the cabal.project file to search for in
2783                     parent directories
2784
2785              --only
2786                     Only installs the package in the current directory.
2787
2788              --haddock-hoogle
2789                     Generate a hoogle database
2790
2791              --haddock-html
2792                     Generate HTML documentation (the default)
2793
2794              --haddock-html-location URL
2795                     Location of HTML documentation for pre-requisite packages
2796
2797              --haddock-for-hackage
2798                     Collection of flags to  generate  documentation  suitable
2799                     for upload to hackage
2800
2801              --haddock-executables
2802                     Run haddock for Executables targets
2803
2804              --haddock-tests
2805                     Run haddock for Test Suite targets
2806
2807              --haddock-benchmarks
2808                     Run haddock for Benchmark targets
2809
2810              --haddock-all
2811                     Run haddock for all targets
2812
2813              --haddock-internal
2814                     Run haddock for internal modules and include all symbols
2815
2816              --haddock-css PATH
2817                     Use PATH as the haddock stylesheet
2818
2819              --haddock-hyperlink-source,  --haddock-hyperlink-sources, --had‐
2820              dock-hyperlinked-source
2821                     Hyperlink the documentation to the source code
2822
2823              --haddock-quickjump
2824                     Generate an index for interactive  documentation  naviga‐
2825                     tion
2826
2827              --haddock-hscolour-css PATH
2828                     Use PATH as the HsColour stylesheet
2829
2830              --haddock-contents-location URL
2831                     Bake URL in as the location for the contents page
2832
2833
2834       cabal new-update
2835
2836       Usage: cabal new-update [FLAGS] [REPOS]
2837
2838
2839       For all known remote repositories, download the package list.
2840
2841
2842       REPO has the format <repo-id>[,<index-state>] where index-state follows
2843       the same format and syntax that is supported by the --index-state flag.
2844
2845       Examples:
2846         cabal new-update
2847           Download the package list for all known remote repositories.
2848
2849         cabal new-update hackage.haskell.org,@1474732068
2850         cabal new-update hackage.haskell.org,2016-09-24T17:47:48Z
2851         cabal new-update hackage.haskell.org,HEAD
2852         cabal new-update hackage.haskell.org
2853           Download hackage.haskell.org at a specific index state.
2854
2855         cabal new update hackage.haskell.org head.hackage
2856           Download hackage.haskell.org and head.hackage
2857           head.hackage must be a known repo-id. E.g. from
2858           your cabal.project(.local) file.
2859
2860       Note: this command is part of the new project-based  system  (aka  nix-
2861       style  local  builds). These features are currently in beta. Please see
2862       http://cabal.readthedocs.io/en/latest/nix-local-build-overview.html for
2863       details  and  advice  on  what you can expect to work. If you encounter
2864       problems please file issues at  https://github.com/haskell/cabal/issues
2865       and  if you have any time to get involved and help with testing, fixing
2866       bugs etc then that is very much appreciated.
2867
2868
2869       Flags:
2870              -v, --verbose [n]
2871                     Control verbosity (n is 0--3, default verbosity level  is
2872                     1)
2873
2874              --builddir, --distdir, --distpref DIR
2875                     The  directory  where  Cabal  puts  generated build files
2876                     (default dist)
2877
2878              -g, --ghc
2879                     compile with GHC
2880
2881              --ghcjs
2882                     compile with GHCJS
2883
2884              --uhc
2885                     compile with UHC
2886
2887              --haskell-suite
2888                     compile with a haskell-suite compiler
2889
2890              --cabal-file PATH
2891                     use this Cabal file
2892
2893              -w, --with-compiler PATH
2894                     give the path to a particular compiler
2895
2896              --with-hc-pkg PATH
2897                     give the path to the package tool
2898
2899              --prefix DIR
2900                     bake this prefix in preparation of installation
2901
2902              --bindir DIR
2903                     installation directory for executables
2904
2905              --libdir DIR
2906                     installation directory for libraries
2907
2908              --libsubdir DIR
2909                     subdirectory of libdir in which libs are installed
2910
2911              --dynlibdir DIR
2912                     installation directory for dynamic libraries
2913
2914              --libexecdir DIR
2915                     installation directory for program executables
2916
2917              --libexecsubdir DIR
2918                     subdirectory of libexecdir in which  private  executables
2919                     are installed
2920
2921              --datadir DIR
2922                     installation directory for read-only data
2923
2924              --datasubdir DIR
2925                     subdirectory of datadir in which data files are installed
2926
2927              --docdir DIR
2928                     installation directory for documentation
2929
2930              --htmldir DIR
2931                     installation directory for HTML documentation
2932
2933              --haddockdir DIR
2934                     installation directory for haddock interfaces
2935
2936              --sysconfdir DIR
2937                     installation directory for configuration files
2938
2939              --program-prefix PREFIX
2940                     prefix to be applied to installed executables
2941
2942              --program-suffix SUFFIX
2943                     suffix to be applied to installed executables
2944
2945              --enable-library-vanilla
2946              --disable-library-vanilla
2947                     Vanilla libraries
2948
2949              -p, --enable-library-profiling
2950              --disable-library-profiling
2951                     Library profiling
2952
2953              --enable-shared
2954              --disable-shared
2955                     Shared library
2956
2957              --enable-static
2958              --disable-static
2959                     Static library
2960
2961              --enable-executable-dynamic
2962              --disable-executable-dynamic
2963                     Executable dynamic linking
2964
2965              --enable-profiling
2966              --disable-profiling
2967                     Executable and library profiling
2968
2969              --enable-executable-profiling
2970              --disable-executable-profiling
2971                     Executable profiling (DEPRECATED)
2972
2973              --profiling-detail level
2974                     Profiling   detail   level  for  executable  and  library
2975                     (default, none,  exported-functions,  toplevel-functions,
2976                     all-functions).
2977
2978              --library-profiling-detail level
2979                     Profiling detail level for libraries only.
2980
2981              -O, --enable-optimization, --enable-optimisation [n]
2982                     Build with optimization (n is 0--2, default is 1)
2983
2984              --disable-optimization, --disable-optimisation
2985                     Build without optimization
2986
2987              --enable-debug-info [n]
2988                     Emit debug info (n is 0--3, default is 0)
2989
2990              --disable-debug-info
2991                     Don't emit debug info
2992
2993              --enable-library-for-ghci
2994              --disable-library-for-ghci
2995                     compile library for use with GHCi
2996
2997              --enable-split-sections
2998              --disable-split-sections
2999                     compile  library  code such that unneeded definitions can
3000                     be dropped from the final executable (GHC 7.8+)
3001
3002              --enable-split-objs
3003              --disable-split-objs
3004                     split library into smaller objects to reduce binary sizes
3005                     (GHC 6.6+)
3006
3007              --enable-executable-stripping
3008              --disable-executable-stripping
3009                     strip  executables  upon  installation  to  reduce binary
3010                     sizes
3011
3012              --enable-library-stripping
3013              --disable-library-stripping
3014                     strip libraries upon installation to reduce binary sizes
3015
3016              --configure-option OPT
3017                     Extra option for configure
3018
3019              --user
3020              --global
3021                     doing a per-user installation
3022
3023              --package-db DB
3024                     Append the given package database to the list of  package
3025                     databases  used  (to  satisfy  dependencies  and register
3026                     into). May be a specific file, 'global'  or  'user'.  The
3027                     initial   list  is  ['global'],  ['global',  'user'],  or
3028                     ['global', $sandbox], depending on context.  Use  'clear'
3029                     to  reset  the  list  to  empty.  See  the user guide for
3030                     details.
3031
3032              -f, --flags FLAGS
3033                     Force values for the given flags in Cabal conditionals in
3034                     the  .cabal  file.  E.g., --flags="debug -usebytestrings"
3035                     forces the flag "debug" to true and  "usebytestrings"  to
3036                     false.
3037
3038              --extra-include-dirs PATH
3039                     A list of directories to search for header files
3040
3041              --enable-deterministic
3042              --disable-deterministic
3043                     Try  to be as deterministic as possible (used by the test
3044                     suite)
3045
3046              --ipid IPID
3047                     Installed package ID to compile this package as
3048
3049              --cid CID
3050                     Installed component ID to compile this component as
3051
3052              --extra-lib-dirs PATH
3053                     A list of directories to search for external libraries
3054
3055              --extra-framework-dirs PATH
3056                     A list of directories to search for  external  frameworks
3057                     (OS X only)
3058
3059              --extra-prog-path PATH
3060                     A list of directories to search for required programs (in
3061                     addition to the normal search locations)
3062
3063              --instantiate-with NAME=MOD
3064                     A mapping of signature names to concrete module instanti‐
3065                     ations.
3066
3067              --enable-tests
3068              --disable-tests
3069                     dependency  checking  and  compilation  for  test  suites
3070                     listed in the package description file.
3071
3072              --enable-coverage
3073              --disable-coverage
3074                     build package with Haskell Program Coverage. (GHC only)
3075
3076              --enable-library-coverage
3077              --disable-library-coverage
3078                     build package with Haskell Program Coverage.  (GHC  only)
3079                     (DEPRECATED)
3080
3081              --enable-benchmarks
3082              --disable-benchmarks
3083                     dependency checking and compilation for benchmarks listed
3084                     in the package description file.
3085
3086              --enable-relocatable
3087              --disable-relocatable
3088                     building a package that is relocatable. (GHC only)
3089
3090              --disable-response-files
3091                     enable workaround for old versions of programs like  "ar"
3092                     that do not support @file arguments
3093
3094              --with-alex PATH
3095                     give the path to alex
3096
3097              --with-ar PATH
3098                     give the path to ar
3099
3100              --with-c2hs PATH
3101                     give the path to c2hs
3102
3103              --with-cpphs PATH
3104                     give the path to cpphs
3105
3106              --with-doctest PATH
3107                     give the path to doctest
3108
3109              --with-gcc PATH
3110                     give the path to gcc
3111
3112              --with-ghc PATH
3113                     give the path to ghc
3114
3115              --with-ghc-pkg PATH
3116                     give the path to ghc-pkg
3117
3118              --with-ghcjs PATH
3119                     give the path to ghcjs
3120
3121              --with-ghcjs-pkg PATH
3122                     give the path to ghcjs-pkg
3123
3124              --with-greencard PATH
3125                     give the path to greencard
3126
3127              --with-haddock PATH
3128                     give the path to haddock
3129
3130              --with-happy PATH
3131                     give the path to happy
3132
3133              --with-haskell-suite PATH
3134                     give the path to haskell-suite
3135
3136              --with-haskell-suite-pkg PATH
3137                     give the path to haskell-suite-pkg
3138
3139              --with-hmake PATH
3140                     give the path to hmake
3141
3142              --with-hpc PATH
3143                     give the path to hpc
3144
3145              --with-hsc2hs PATH
3146                     give the path to hsc2hs
3147
3148              --with-hscolour PATH
3149                     give the path to hscolour
3150
3151              --with-jhc PATH
3152                     give the path to jhc
3153
3154              --with-ld PATH
3155                     give the path to ld
3156
3157              --with-pkg-config PATH
3158                     give the path to pkg-config
3159
3160              --with-runghc PATH
3161                     give the path to runghc
3162
3163              --with-strip PATH
3164                     give the path to strip
3165
3166              --with-tar PATH
3167                     give the path to tar
3168
3169              --with-uhc PATH
3170                     give the path to uhc
3171
3172              --alex-option OPT
3173                     give  an  extra  option to alex (no need to quote options
3174                     containing spaces)
3175
3176              --ar-option OPT
3177                     give an extra option to ar (no need to quote options con‐
3178                     taining spaces)
3179
3180              --c2hs-option OPT
3181                     give  an  extra  option to c2hs (no need to quote options
3182                     containing spaces)
3183
3184              --cpphs-option OPT
3185                     give an extra option to cpphs (no need to  quote  options
3186                     containing spaces)
3187
3188              --doctest-option OPT
3189                     give an extra option to doctest (no need to quote options
3190                     containing spaces)
3191
3192              --gcc-option OPT
3193                     give an extra option to gcc (no  need  to  quote  options
3194                     containing spaces)
3195
3196              --ghc-option OPT
3197                     give  an  extra  option  to ghc (no need to quote options
3198                     containing spaces)
3199
3200              --ghc-pkg-option OPT
3201                     give an extra option to ghc-pkg (no need to quote options
3202                     containing spaces)
3203
3204              --ghcjs-option OPT
3205                     give  an  extra option to ghcjs (no need to quote options
3206                     containing spaces)
3207
3208              --ghcjs-pkg-option OPT
3209                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
3210                     options containing spaces)
3211
3212              --greencard-option OPT
3213                     give  an  extra  option  to  greencard  (no need to quote
3214                     options containing spaces)
3215
3216              --haddock-option OPT
3217                     give an extra option to haddock (no need to quote options
3218                     containing spaces)
3219
3220              --happy-option OPT
3221                     give  an  extra option to happy (no need to quote options
3222                     containing spaces)
3223
3224              --haskell-suite-option OPT
3225                     give an extra option to haskell-suite (no need  to  quote
3226                     options containing spaces)
3227
3228              --haskell-suite-pkg-option OPT
3229                     give  an  extra  option  to haskell-suite-pkg (no need to
3230                     quote options containing spaces)
3231
3232              --hmake-option OPT
3233                     give an extra option to hmake (no need to  quote  options
3234                     containing spaces)
3235
3236              --hpc-option OPT
3237                     give  an  extra  option  to hpc (no need to quote options
3238                     containing spaces)
3239
3240              --hsc2hs-option OPT
3241                     give an extra option to hsc2hs (no need to quote  options
3242                     containing spaces)
3243
3244              --hscolour-option OPT
3245                     give  an  extra  option  to  hscolour  (no  need to quote
3246                     options containing spaces)
3247
3248              --jhc-option OPT
3249                     give an extra option to jhc (no  need  to  quote  options
3250                     containing spaces)
3251
3252              --ld-option OPT
3253                     give an extra option to ld (no need to quote options con‐
3254                     taining spaces)
3255
3256              --pkg-config-option OPT
3257                     give an extra option to  pkg-config  (no  need  to  quote
3258                     options containing spaces)
3259
3260              --runghc-option OPT
3261                     give  an extra option to runghc (no need to quote options
3262                     containing spaces)
3263
3264              --strip-option OPT
3265                     give an extra option to strip (no need to  quote  options
3266                     containing spaces)
3267
3268              --tar-option OPT
3269                     give  an  extra  option  to tar (no need to quote options
3270                     containing spaces)
3271
3272              --uhc-option OPT
3273                     give an extra option to uhc (no  need  to  quote  options
3274                     containing spaces)
3275
3276              --alex-options OPTS
3277                     give extra options to alex
3278
3279              --ar-options OPTS
3280                     give extra options to ar
3281
3282              --c2hs-options OPTS
3283                     give extra options to c2hs
3284
3285              --cpphs-options OPTS
3286                     give extra options to cpphs
3287
3288              --doctest-options OPTS
3289                     give extra options to doctest
3290
3291              --gcc-options OPTS
3292                     give extra options to gcc
3293
3294              --ghc-options OPTS
3295                     give extra options to ghc
3296
3297              --ghc-pkg-options OPTS
3298                     give extra options to ghc-pkg
3299
3300              --ghcjs-options OPTS
3301                     give extra options to ghcjs
3302
3303              --ghcjs-pkg-options OPTS
3304                     give extra options to ghcjs-pkg
3305
3306              --greencard-options OPTS
3307                     give extra options to greencard
3308
3309              --haddock-options OPTS
3310                     give extra options to haddock
3311
3312              --happy-options OPTS
3313                     give extra options to happy
3314
3315              --haskell-suite-options OPTS
3316                     give extra options to haskell-suite
3317
3318              --haskell-suite-pkg-options OPTS
3319                     give extra options to haskell-suite-pkg
3320
3321              --hmake-options OPTS
3322                     give extra options to hmake
3323
3324              --hpc-options OPTS
3325                     give extra options to hpc
3326
3327              --hsc2hs-options OPTS
3328                     give extra options to hsc2hs
3329
3330              --hscolour-options OPTS
3331                     give extra options to hscolour
3332
3333              --jhc-options OPTS
3334                     give extra options to jhc
3335
3336              --ld-options OPTS
3337                     give extra options to ld
3338
3339              --pkg-config-options OPTS
3340                     give extra options to pkg-config
3341
3342              --runghc-options OPTS
3343                     give extra options to runghc
3344
3345              --strip-options OPTS
3346                     give extra options to strip
3347
3348              --tar-options OPTS
3349                     give extra options to tar
3350
3351              --uhc-options OPTS
3352                     give extra options to uhc
3353
3354              --cabal-lib-version VERSION
3355                     Select  which  version  of  the Cabal lib to use to build
3356                     packages (useful for testing).
3357
3358              --constraint CONSTRAINT
3359                     Specify    constraints    on    a    package    (version,
3360                     installed/source, flags)
3361
3362              --preference CONSTRAINT
3363                     Specify  preferences (soft constraints) on the version of
3364                     a package
3365
3366              --solver SOLVER
3367                     Select  dependency  solver  to  use  (default:  modular).
3368                     Choices: modular.
3369
3370              --allow-older [DEPS]
3371                     Ignore lower bounds in all dependencies or DEPS
3372
3373              --allow-newer [DEPS]
3374                     Ignore upper bounds in all dependencies or DEPS
3375
3376              --enable-documentation
3377              --disable-documentation
3378                     building of documentation
3379
3380              --doc-index-file TEMPLATE
3381                     A  central  index  of haddock API documentation (template
3382                     cannot use $pkgid)
3383
3384              --dry-run
3385                     Do  not  install  anything,  only  print  what  would  be
3386                     installed.
3387
3388              --max-backjumps NUM
3389                     Maximum   number   of  backjumps  allowed  while  solving
3390                     (default: 2000). Use a negative number to  enable  unlim‐
3391                     ited  backtracking.  Use  0  to disable backtracking com‐
3392                     pletely.
3393
3394              --reorder-goals
3395              --no-reorder-goals
3396                     Try to reorder goals  according  to  certain  heuristics.
3397                     Slows  things  down on average, but may make backtracking
3398                     faster for some packages.
3399
3400              --count-conflicts
3401              --no-count-conflicts
3402                     Try to speed up solving  by  preferring  goals  that  are
3403                     involved in a lot of conflicts (default).
3404
3405              --independent-goals
3406              --no-independent-goals
3407                     Treat  several  goals on the command line as independent.
3408                     If several goals depend on the  same  package,  different
3409                     versions can be chosen.
3410
3411              --shadow-installed-packages
3412              --no-shadow-installed-packages
3413                     If  multiple  package  instances  of the same version are
3414                     installed, treat all but one as shadowed.
3415
3416              --strong-flags
3417              --no-strong-flags
3418                     Do not defer flag choices (this used to be the default in
3419                     cabal-install <= 1.20).
3420
3421              --allow-boot-library-installs
3422              --no-allow-boot-library-installs
3423                     Allow  cabal  to  install base, ghc-prim, integer-simple,
3424                     integer-gmp, and template-haskell.
3425
3426              --reinstall
3427              --no-reinstall
3428                     Install even if it  means  installing  the  same  version
3429                     again.
3430
3431              --avoid-reinstalls
3432              --no-avoid-reinstalls
3433                     Do not select versions that would destructively overwrite
3434                     installed packages.
3435
3436              --force-reinstalls
3437              --no-force-reinstalls
3438                     Reinstall packages even if they will  most  likely  break
3439                     other installed packages.
3440
3441              --upgrade-dependencies
3442              --no-upgrade-dependencies
3443                     Pick the latest version for all dependencies, rather than
3444                     trying to pick an installed version.
3445
3446              --only-dependencies
3447              --no-only-dependencies
3448                     Install only the  dependencies  necessary  to  build  the
3449                     given packages
3450
3451              --dependencies-only
3452              --no-dependencies-only
3453                     A synonym for --only-dependencies
3454
3455              --index-state STATE
3456                     Use  source package index state as it existed at a previ‐
3457                     ous time. Accepts unix-timestamps  (e.g.  '@1474732068'),
3458                     ISO8601  UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or
3459                     'HEAD' (default: 'HEAD').
3460
3461              --root-cmd COMMAND
3462                     (No longer supported, do not use.)
3463
3464              --symlink-bindir DIR
3465                     Add symlinks to installed executables  into  this  direc‐
3466                     tory.
3467
3468              --build-summary TEMPLATE
3469                     Save  build  summaries  to  file  (name  template can use
3470                     $pkgid, $compiler, $os, $arch)
3471
3472              --build-log TEMPLATE
3473                     Log all builds to file (name  template  can  use  $pkgid,
3474                     $compiler, $os, $arch)
3475
3476              --remote-build-reporting LEVEL
3477                     Generate  build reports to send to a remote server (none,
3478                     anonymous or detailed).
3479
3480              --report-planning-failure
3481                     Generate build reports when the dependency solver  fails.
3482                     This is used by the Hackage build bot.
3483
3484              --enable-per-component
3485              --disable-per-component
3486                     Per-component builds when possible
3487
3488              --one-shot
3489              --no-one-shot
3490                     Do not record the packages in the world file.
3491
3492              --run-tests
3493                     Run package test suites during installation.
3494
3495              -j, --jobs [NUM]
3496                     Run  NUM  jobs  simultaneously  (or '$ncpus' if no NUM is
3497                     given).
3498
3499              --keep-going
3500                     After a build failure, continue to build other unaffected
3501                     packages.
3502
3503              --offline
3504              --no-offline
3505                     Don't download packages from the Internet.
3506
3507              --project-file FILE
3508                     Set  the  name of the cabal.project file to search for in
3509                     parent directories
3510
3511              --only
3512                     Only installs the package in the current directory.
3513
3514              --haddock-hoogle
3515                     Generate a hoogle database
3516
3517              --haddock-html
3518                     Generate HTML documentation (the default)
3519
3520              --haddock-html-location URL
3521                     Location of HTML documentation for pre-requisite packages
3522
3523              --haddock-for-hackage
3524                     Collection of flags to  generate  documentation  suitable
3525                     for upload to hackage
3526
3527              --haddock-executables
3528                     Run haddock for Executables targets
3529
3530              --haddock-tests
3531                     Run haddock for Test Suite targets
3532
3533              --haddock-benchmarks
3534                     Run haddock for Benchmark targets
3535
3536              --haddock-all
3537                     Run haddock for all targets
3538
3539              --haddock-internal
3540                     Run haddock for internal modules and include all symbols
3541
3542              --haddock-css PATH
3543                     Use PATH as the haddock stylesheet
3544
3545              --haddock-hyperlink-source,  --haddock-hyperlink-sources, --had‐
3546              dock-hyperlinked-source
3547                     Hyperlink the documentation to the source code
3548
3549              --haddock-quickjump
3550                     Generate an index for interactive  documentation  naviga‐
3551                     tion
3552
3553              --haddock-hscolour-css PATH
3554                     Use PATH as the HsColour stylesheet
3555
3556              --haddock-contents-location URL
3557                     Bake URL in as the location for the contents page
3558
3559
3560       cabal v2-build
3561
3562       Usage: cabal v2-build [TARGETS] [FLAGS]
3563
3564
3565       Build  one  or more targets from within the project. The available tar‐
3566       gets are the packages in the project as well as  individual  components
3567       within those packages, including libraries, executables, test-suites or
3568       benchmarks. Targets can be specified by name or location. If no  target
3569       is  specified  then  the default is to build the package in the current
3570       directory.
3571
3572       Dependencies are built or rebuilt as necessary.  Additional  configura‐
3573       tion  flags  can  be specified on the command line and these extend the
3574       project configuration from the  'cabal.project',  'cabal.project.local'
3575       and other files.
3576
3577
3578       Build  one  or more targets from within the project. The available tar‐
3579       gets are the packages in the project as well as  individual  components
3580       within those packages, including libraries, executables, test-suites or
3581       benchmarks. Targets can be specified by name or location. If no  target
3582       is  specified  then  the default is to build the package in the current
3583       directory.
3584
3585       Dependencies are built or rebuilt as necessary.  Additional  configura‐
3586       tion  flags  can  be specified on the command line and these extend the
3587       project configuration from the  'cabal.project',  'cabal.project.local'
3588       and other files.
3589
3590
3591       Flags:
3592              -v, --verbose [n]
3593                     Control  verbosity (n is 0--3, default verbosity level is
3594                     1)
3595
3596              --builddir, --distdir, --distpref DIR
3597                     The directory where  Cabal  puts  generated  build  files
3598                     (default dist)
3599
3600              -g, --ghc
3601                     compile with GHC
3602
3603              --ghcjs
3604                     compile with GHCJS
3605
3606              --uhc
3607                     compile with UHC
3608
3609              --haskell-suite
3610                     compile with a haskell-suite compiler
3611
3612              --cabal-file PATH
3613                     use this Cabal file
3614
3615              -w, --with-compiler PATH
3616                     give the path to a particular compiler
3617
3618              --with-hc-pkg PATH
3619                     give the path to the package tool
3620
3621              --prefix DIR
3622                     bake this prefix in preparation of installation
3623
3624              --bindir DIR
3625                     installation directory for executables
3626
3627              --libdir DIR
3628                     installation directory for libraries
3629
3630              --libsubdir DIR
3631                     subdirectory of libdir in which libs are installed
3632
3633              --dynlibdir DIR
3634                     installation directory for dynamic libraries
3635
3636              --libexecdir DIR
3637                     installation directory for program executables
3638
3639              --libexecsubdir DIR
3640                     subdirectory  of  libexecdir in which private executables
3641                     are installed
3642
3643              --datadir DIR
3644                     installation directory for read-only data
3645
3646              --datasubdir DIR
3647                     subdirectory of datadir in which data files are installed
3648
3649              --docdir DIR
3650                     installation directory for documentation
3651
3652              --htmldir DIR
3653                     installation directory for HTML documentation
3654
3655              --haddockdir DIR
3656                     installation directory for haddock interfaces
3657
3658              --sysconfdir DIR
3659                     installation directory for configuration files
3660
3661              --program-prefix PREFIX
3662                     prefix to be applied to installed executables
3663
3664              --program-suffix SUFFIX
3665                     suffix to be applied to installed executables
3666
3667              --enable-library-vanilla
3668              --disable-library-vanilla
3669                     Vanilla libraries
3670
3671              -p, --enable-library-profiling
3672              --disable-library-profiling
3673                     Library profiling
3674
3675              --enable-shared
3676              --disable-shared
3677                     Shared library
3678
3679              --enable-static
3680              --disable-static
3681                     Static library
3682
3683              --enable-executable-dynamic
3684              --disable-executable-dynamic
3685                     Executable dynamic linking
3686
3687              --enable-profiling
3688              --disable-profiling
3689                     Executable and library profiling
3690
3691              --enable-executable-profiling
3692              --disable-executable-profiling
3693                     Executable profiling (DEPRECATED)
3694
3695              --profiling-detail level
3696                     Profiling  detail  level  for  executable   and   library
3697                     (default,  none,  exported-functions, toplevel-functions,
3698                     all-functions).
3699
3700              --library-profiling-detail level
3701                     Profiling detail level for libraries only.
3702
3703              -O, --enable-optimization, --enable-optimisation [n]
3704                     Build with optimization (n is 0--2, default is 1)
3705
3706              --disable-optimization, --disable-optimisation
3707                     Build without optimization
3708
3709              --enable-debug-info [n]
3710                     Emit debug info (n is 0--3, default is 0)
3711
3712              --disable-debug-info
3713                     Don't emit debug info
3714
3715              --enable-library-for-ghci
3716              --disable-library-for-ghci
3717                     compile library for use with GHCi
3718
3719              --enable-split-sections
3720              --disable-split-sections
3721                     compile library code such that unneeded  definitions  can
3722                     be dropped from the final executable (GHC 7.8+)
3723
3724              --enable-split-objs
3725              --disable-split-objs
3726                     split library into smaller objects to reduce binary sizes
3727                     (GHC 6.6+)
3728
3729              --enable-executable-stripping
3730              --disable-executable-stripping
3731                     strip executables  upon  installation  to  reduce  binary
3732                     sizes
3733
3734              --enable-library-stripping
3735              --disable-library-stripping
3736                     strip libraries upon installation to reduce binary sizes
3737
3738              --configure-option OPT
3739                     Extra option for configure
3740
3741              --user
3742              --global
3743                     doing a per-user installation
3744
3745              --package-db DB
3746                     Append  the given package database to the list of package
3747                     databases used  (to  satisfy  dependencies  and  register
3748                     into).  May  be  a specific file, 'global' or 'user'. The
3749                     initial  list  is  ['global'],  ['global',  'user'],   or
3750                     ['global',  $sandbox],  depending on context. Use 'clear'
3751                     to reset the list  to  empty.  See  the  user  guide  for
3752                     details.
3753
3754              -f, --flags FLAGS
3755                     Force values for the given flags in Cabal conditionals in
3756                     the .cabal file.  E.g.,  --flags="debug  -usebytestrings"
3757                     forces  the  flag "debug" to true and "usebytestrings" to
3758                     false.
3759
3760              --extra-include-dirs PATH
3761                     A list of directories to search for header files
3762
3763              --enable-deterministic
3764              --disable-deterministic
3765                     Try to be as deterministic as possible (used by the  test
3766                     suite)
3767
3768              --ipid IPID
3769                     Installed package ID to compile this package as
3770
3771              --cid CID
3772                     Installed component ID to compile this component as
3773
3774              --extra-lib-dirs PATH
3775                     A list of directories to search for external libraries
3776
3777              --extra-framework-dirs PATH
3778                     A  list  of directories to search for external frameworks
3779                     (OS X only)
3780
3781              --extra-prog-path PATH
3782                     A list of directories to search for required programs (in
3783                     addition to the normal search locations)
3784
3785              --instantiate-with NAME=MOD
3786                     A mapping of signature names to concrete module instanti‐
3787                     ations.
3788
3789              --enable-tests
3790              --disable-tests
3791                     dependency  checking  and  compilation  for  test  suites
3792                     listed in the package description file.
3793
3794              --enable-coverage
3795              --disable-coverage
3796                     build package with Haskell Program Coverage. (GHC only)
3797
3798              --enable-library-coverage
3799              --disable-library-coverage
3800                     build  package  with Haskell Program Coverage. (GHC only)
3801                     (DEPRECATED)
3802
3803              --enable-benchmarks
3804              --disable-benchmarks
3805                     dependency checking and compilation for benchmarks listed
3806                     in the package description file.
3807
3808              --enable-relocatable
3809              --disable-relocatable
3810                     building a package that is relocatable. (GHC only)
3811
3812              --disable-response-files
3813                     enable  workaround for old versions of programs like "ar"
3814                     that do not support @file arguments
3815
3816              --with-alex PATH
3817                     give the path to alex
3818
3819              --with-ar PATH
3820                     give the path to ar
3821
3822              --with-c2hs PATH
3823                     give the path to c2hs
3824
3825              --with-cpphs PATH
3826                     give the path to cpphs
3827
3828              --with-doctest PATH
3829                     give the path to doctest
3830
3831              --with-gcc PATH
3832                     give the path to gcc
3833
3834              --with-ghc PATH
3835                     give the path to ghc
3836
3837              --with-ghc-pkg PATH
3838                     give the path to ghc-pkg
3839
3840              --with-ghcjs PATH
3841                     give the path to ghcjs
3842
3843              --with-ghcjs-pkg PATH
3844                     give the path to ghcjs-pkg
3845
3846              --with-greencard PATH
3847                     give the path to greencard
3848
3849              --with-haddock PATH
3850                     give the path to haddock
3851
3852              --with-happy PATH
3853                     give the path to happy
3854
3855              --with-haskell-suite PATH
3856                     give the path to haskell-suite
3857
3858              --with-haskell-suite-pkg PATH
3859                     give the path to haskell-suite-pkg
3860
3861              --with-hmake PATH
3862                     give the path to hmake
3863
3864              --with-hpc PATH
3865                     give the path to hpc
3866
3867              --with-hsc2hs PATH
3868                     give the path to hsc2hs
3869
3870              --with-hscolour PATH
3871                     give the path to hscolour
3872
3873              --with-jhc PATH
3874                     give the path to jhc
3875
3876              --with-ld PATH
3877                     give the path to ld
3878
3879              --with-pkg-config PATH
3880                     give the path to pkg-config
3881
3882              --with-runghc PATH
3883                     give the path to runghc
3884
3885              --with-strip PATH
3886                     give the path to strip
3887
3888              --with-tar PATH
3889                     give the path to tar
3890
3891              --with-uhc PATH
3892                     give the path to uhc
3893
3894              --alex-option OPT
3895                     give an extra option to alex (no need  to  quote  options
3896                     containing spaces)
3897
3898              --ar-option OPT
3899                     give an extra option to ar (no need to quote options con‐
3900                     taining spaces)
3901
3902              --c2hs-option OPT
3903                     give an extra option to c2hs (no need  to  quote  options
3904                     containing spaces)
3905
3906              --cpphs-option OPT
3907                     give  an  extra option to cpphs (no need to quote options
3908                     containing spaces)
3909
3910              --doctest-option OPT
3911                     give an extra option to doctest (no need to quote options
3912                     containing spaces)
3913
3914              --gcc-option OPT
3915                     give  an  extra  option  to gcc (no need to quote options
3916                     containing spaces)
3917
3918              --ghc-option OPT
3919                     give an extra option to ghc (no  need  to  quote  options
3920                     containing spaces)
3921
3922              --ghc-pkg-option OPT
3923                     give an extra option to ghc-pkg (no need to quote options
3924                     containing spaces)
3925
3926              --ghcjs-option OPT
3927                     give an extra option to ghcjs (no need to  quote  options
3928                     containing spaces)
3929
3930              --ghcjs-pkg-option OPT
3931                     give  an  extra  option  to  ghcjs-pkg  (no need to quote
3932                     options containing spaces)
3933
3934              --greencard-option OPT
3935                     give an extra option  to  greencard  (no  need  to  quote
3936                     options containing spaces)
3937
3938              --haddock-option OPT
3939                     give an extra option to haddock (no need to quote options
3940                     containing spaces)
3941
3942              --happy-option OPT
3943                     give an extra option to happy (no need to  quote  options
3944                     containing spaces)
3945
3946              --haskell-suite-option OPT
3947                     give  an  extra option to haskell-suite (no need to quote
3948                     options containing spaces)
3949
3950              --haskell-suite-pkg-option OPT
3951                     give an extra option to  haskell-suite-pkg  (no  need  to
3952                     quote options containing spaces)
3953
3954              --hmake-option OPT
3955                     give  an  extra option to hmake (no need to quote options
3956                     containing spaces)
3957
3958              --hpc-option OPT
3959                     give an extra option to hpc (no  need  to  quote  options
3960                     containing spaces)
3961
3962              --hsc2hs-option OPT
3963                     give  an extra option to hsc2hs (no need to quote options
3964                     containing spaces)
3965
3966              --hscolour-option OPT
3967                     give an extra  option  to  hscolour  (no  need  to  quote
3968                     options containing spaces)
3969
3970              --jhc-option OPT
3971                     give  an  extra  option  to jhc (no need to quote options
3972                     containing spaces)
3973
3974              --ld-option OPT
3975                     give an extra option to ld (no need to quote options con‐
3976                     taining spaces)
3977
3978              --pkg-config-option OPT
3979                     give  an  extra  option  to  pkg-config (no need to quote
3980                     options containing spaces)
3981
3982              --runghc-option OPT
3983                     give an extra option to runghc (no need to quote  options
3984                     containing spaces)
3985
3986              --strip-option OPT
3987                     give  an  extra option to strip (no need to quote options
3988                     containing spaces)
3989
3990              --tar-option OPT
3991                     give an extra option to tar (no  need  to  quote  options
3992                     containing spaces)
3993
3994              --uhc-option OPT
3995                     give  an  extra  option  to uhc (no need to quote options
3996                     containing spaces)
3997
3998              --alex-options OPTS
3999                     give extra options to alex
4000
4001              --ar-options OPTS
4002                     give extra options to ar
4003
4004              --c2hs-options OPTS
4005                     give extra options to c2hs
4006
4007              --cpphs-options OPTS
4008                     give extra options to cpphs
4009
4010              --doctest-options OPTS
4011                     give extra options to doctest
4012
4013              --gcc-options OPTS
4014                     give extra options to gcc
4015
4016              --ghc-options OPTS
4017                     give extra options to ghc
4018
4019              --ghc-pkg-options OPTS
4020                     give extra options to ghc-pkg
4021
4022              --ghcjs-options OPTS
4023                     give extra options to ghcjs
4024
4025              --ghcjs-pkg-options OPTS
4026                     give extra options to ghcjs-pkg
4027
4028              --greencard-options OPTS
4029                     give extra options to greencard
4030
4031              --haddock-options OPTS
4032                     give extra options to haddock
4033
4034              --happy-options OPTS
4035                     give extra options to happy
4036
4037              --haskell-suite-options OPTS
4038                     give extra options to haskell-suite
4039
4040              --haskell-suite-pkg-options OPTS
4041                     give extra options to haskell-suite-pkg
4042
4043              --hmake-options OPTS
4044                     give extra options to hmake
4045
4046              --hpc-options OPTS
4047                     give extra options to hpc
4048
4049              --hsc2hs-options OPTS
4050                     give extra options to hsc2hs
4051
4052              --hscolour-options OPTS
4053                     give extra options to hscolour
4054
4055              --jhc-options OPTS
4056                     give extra options to jhc
4057
4058              --ld-options OPTS
4059                     give extra options to ld
4060
4061              --pkg-config-options OPTS
4062                     give extra options to pkg-config
4063
4064              --runghc-options OPTS
4065                     give extra options to runghc
4066
4067              --strip-options OPTS
4068                     give extra options to strip
4069
4070              --tar-options OPTS
4071                     give extra options to tar
4072
4073              --uhc-options OPTS
4074                     give extra options to uhc
4075
4076              --cabal-lib-version VERSION
4077                     Select which version of the Cabal lib  to  use  to  build
4078                     packages (useful for testing).
4079
4080              --constraint CONSTRAINT
4081                     Specify    constraints    on    a    package    (version,
4082                     installed/source, flags)
4083
4084              --preference CONSTRAINT
4085                     Specify preferences (soft constraints) on the version  of
4086                     a package
4087
4088              --solver SOLVER
4089                     Select  dependency  solver  to  use  (default:  modular).
4090                     Choices: modular.
4091
4092              --allow-older [DEPS]
4093                     Ignore lower bounds in all dependencies or DEPS
4094
4095              --allow-newer [DEPS]
4096                     Ignore upper bounds in all dependencies or DEPS
4097
4098              --enable-documentation
4099              --disable-documentation
4100                     building of documentation
4101
4102              --doc-index-file TEMPLATE
4103                     A central index of haddock  API  documentation  (template
4104                     cannot use $pkgid)
4105
4106              --dry-run
4107                     Do  not  install  anything,  only  print  what  would  be
4108                     installed.
4109
4110              --max-backjumps NUM
4111                     Maximum  number  of  backjumps  allowed   while   solving
4112                     (default:  2000).  Use a negative number to enable unlim‐
4113                     ited backtracking. Use 0  to  disable  backtracking  com‐
4114                     pletely.
4115
4116              --reorder-goals
4117              --no-reorder-goals
4118                     Try  to  reorder  goals  according to certain heuristics.
4119                     Slows things down on average, but may  make  backtracking
4120                     faster for some packages.
4121
4122              --count-conflicts
4123              --no-count-conflicts
4124                     Try  to  speed  up  solving  by preferring goals that are
4125                     involved in a lot of conflicts (default).
4126
4127              --independent-goals
4128              --no-independent-goals
4129                     Treat several goals on the command line  as  independent.
4130                     If  several  goals  depend on the same package, different
4131                     versions can be chosen.
4132
4133              --shadow-installed-packages
4134              --no-shadow-installed-packages
4135                     If multiple package instances of  the  same  version  are
4136                     installed, treat all but one as shadowed.
4137
4138              --strong-flags
4139              --no-strong-flags
4140                     Do not defer flag choices (this used to be the default in
4141                     cabal-install <= 1.20).
4142
4143              --allow-boot-library-installs
4144              --no-allow-boot-library-installs
4145                     Allow cabal to install  base,  ghc-prim,  integer-simple,
4146                     integer-gmp, and template-haskell.
4147
4148              --reinstall
4149              --no-reinstall
4150                     Install  even  if  it  means  installing the same version
4151                     again.
4152
4153              --avoid-reinstalls
4154              --no-avoid-reinstalls
4155                     Do not select versions that would destructively overwrite
4156                     installed packages.
4157
4158              --force-reinstalls
4159              --no-force-reinstalls
4160                     Reinstall  packages  even  if they will most likely break
4161                     other installed packages.
4162
4163              --upgrade-dependencies
4164              --no-upgrade-dependencies
4165                     Pick the latest version for all dependencies, rather than
4166                     trying to pick an installed version.
4167
4168              --only-dependencies
4169              --no-only-dependencies
4170                     Install  only  the  dependencies  necessary  to build the
4171                     given packages
4172
4173              --dependencies-only
4174              --no-dependencies-only
4175                     A synonym for --only-dependencies
4176
4177              --index-state STATE
4178                     Use source package index state as it existed at a  previ‐
4179                     ous  time.  Accepts unix-timestamps (e.g. '@1474732068'),
4180                     ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'),  or
4181                     'HEAD' (default: 'HEAD').
4182
4183              --root-cmd COMMAND
4184                     (No longer supported, do not use.)
4185
4186              --symlink-bindir DIR
4187                     Add  symlinks  to  installed executables into this direc‐
4188                     tory.
4189
4190              --build-summary TEMPLATE
4191                     Save build summaries  to  file  (name  template  can  use
4192                     $pkgid, $compiler, $os, $arch)
4193
4194              --build-log TEMPLATE
4195                     Log  all  builds  to  file (name template can use $pkgid,
4196                     $compiler, $os, $arch)
4197
4198              --remote-build-reporting LEVEL
4199                     Generate build reports to send to a remote server  (none,
4200                     anonymous or detailed).
4201
4202              --report-planning-failure
4203                     Generate  build reports when the dependency solver fails.
4204                     This is used by the Hackage build bot.
4205
4206              --enable-per-component
4207              --disable-per-component
4208                     Per-component builds when possible
4209
4210              --one-shot
4211              --no-one-shot
4212                     Do not record the packages in the world file.
4213
4214              --run-tests
4215                     Run package test suites during installation.
4216
4217              -j, --jobs [NUM]
4218                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
4219                     given).
4220
4221              --keep-going
4222                     After a build failure, continue to build other unaffected
4223                     packages.
4224
4225              --offline
4226              --no-offline
4227                     Don't download packages from the Internet.
4228
4229              --project-file FILE
4230                     Set the name of the cabal.project file to search  for  in
4231                     parent directories
4232
4233              --only
4234                     Only installs the package in the current directory.
4235
4236              --haddock-hoogle
4237                     Generate a hoogle database
4238
4239              --haddock-html
4240                     Generate HTML documentation (the default)
4241
4242              --haddock-html-location URL
4243                     Location of HTML documentation for pre-requisite packages
4244
4245              --haddock-for-hackage
4246                     Collection  of  flags  to generate documentation suitable
4247                     for upload to hackage
4248
4249              --haddock-executables
4250                     Run haddock for Executables targets
4251
4252              --haddock-tests
4253                     Run haddock for Test Suite targets
4254
4255              --haddock-benchmarks
4256                     Run haddock for Benchmark targets
4257
4258              --haddock-all
4259                     Run haddock for all targets
4260
4261              --haddock-internal
4262                     Run haddock for internal modules and include all symbols
4263
4264              --haddock-css PATH
4265                     Use PATH as the haddock stylesheet
4266
4267              --haddock-hyperlink-source, --haddock-hyperlink-sources,  --had‐
4268              dock-hyperlinked-source
4269                     Hyperlink the documentation to the source code
4270
4271              --haddock-quickjump
4272                     Generate  an  index for interactive documentation naviga‐
4273                     tion
4274
4275              --haddock-hscolour-css PATH
4276                     Use PATH as the HsColour stylesheet
4277
4278              --haddock-contents-location URL
4279                     Bake URL in as the location for the contents page
4280
4281
4282       cabal new-build
4283
4284       Usage: cabal new-build [TARGETS] [FLAGS]
4285
4286
4287       Build one or more targets from within the project. The  available  tar‐
4288       gets  are  the packages in the project as well as individual components
4289       within those packages, including libraries, executables, test-suites or
4290       benchmarks.  Targets can be specified by name or location. If no target
4291       is specified then the default is to build the package  in  the  current
4292       directory.
4293
4294       Dependencies  are  built or rebuilt as necessary. Additional configura‐
4295       tion flags can be specified on the command line and  these  extend  the
4296       project  configuration  from the 'cabal.project', 'cabal.project.local'
4297       and other files.
4298
4299
4300       Examples:
4301         cabal new-build
4302           Build the package in the current directory or all packages  in  the
4303       project
4304         cabal new-build pkgname
4305           Build the package named pkgname in the project
4306         cabal new-build ./pkgfoo
4307           Build the package in the ./pkgfoo directory
4308         cabal new-build cname
4309           Build the component named cname in the project
4310         cabal new-build cname --enable-profiling
4311           Build  the  component  in profiling mode (including dependencies as
4312       needed)
4313
4314       Note: this command is part of the new project-based  system  (aka  nix-
4315       style  local  builds). These features are currently in beta. Please see
4316       http://cabal.readthedocs.io/en/latest/nix-local-build-overview.html for
4317       details  and  advice  on  what you can expect to work. If you encounter
4318       problems please file issues at  https://github.com/haskell/cabal/issues
4319       and  if you have any time to get involved and help with testing, fixing
4320       bugs etc then that is very much appreciated.
4321
4322
4323       Flags:
4324              -v, --verbose [n]
4325                     Control verbosity (n is 0--3, default verbosity level  is
4326                     1)
4327
4328              --builddir, --distdir, --distpref DIR
4329                     The  directory  where  Cabal  puts  generated build files
4330                     (default dist)
4331
4332              -g, --ghc
4333                     compile with GHC
4334
4335              --ghcjs
4336                     compile with GHCJS
4337
4338              --uhc
4339                     compile with UHC
4340
4341              --haskell-suite
4342                     compile with a haskell-suite compiler
4343
4344              --cabal-file PATH
4345                     use this Cabal file
4346
4347              -w, --with-compiler PATH
4348                     give the path to a particular compiler
4349
4350              --with-hc-pkg PATH
4351                     give the path to the package tool
4352
4353              --prefix DIR
4354                     bake this prefix in preparation of installation
4355
4356              --bindir DIR
4357                     installation directory for executables
4358
4359              --libdir DIR
4360                     installation directory for libraries
4361
4362              --libsubdir DIR
4363                     subdirectory of libdir in which libs are installed
4364
4365              --dynlibdir DIR
4366                     installation directory for dynamic libraries
4367
4368              --libexecdir DIR
4369                     installation directory for program executables
4370
4371              --libexecsubdir DIR
4372                     subdirectory of libexecdir in which  private  executables
4373                     are installed
4374
4375              --datadir DIR
4376                     installation directory for read-only data
4377
4378              --datasubdir DIR
4379                     subdirectory of datadir in which data files are installed
4380
4381              --docdir DIR
4382                     installation directory for documentation
4383
4384              --htmldir DIR
4385                     installation directory for HTML documentation
4386
4387              --haddockdir DIR
4388                     installation directory for haddock interfaces
4389
4390              --sysconfdir DIR
4391                     installation directory for configuration files
4392
4393              --program-prefix PREFIX
4394                     prefix to be applied to installed executables
4395
4396              --program-suffix SUFFIX
4397                     suffix to be applied to installed executables
4398
4399              --enable-library-vanilla
4400              --disable-library-vanilla
4401                     Vanilla libraries
4402
4403              -p, --enable-library-profiling
4404              --disable-library-profiling
4405                     Library profiling
4406
4407              --enable-shared
4408              --disable-shared
4409                     Shared library
4410
4411              --enable-static
4412              --disable-static
4413                     Static library
4414
4415              --enable-executable-dynamic
4416              --disable-executable-dynamic
4417                     Executable dynamic linking
4418
4419              --enable-profiling
4420              --disable-profiling
4421                     Executable and library profiling
4422
4423              --enable-executable-profiling
4424              --disable-executable-profiling
4425                     Executable profiling (DEPRECATED)
4426
4427              --profiling-detail level
4428                     Profiling   detail   level  for  executable  and  library
4429                     (default, none,  exported-functions,  toplevel-functions,
4430                     all-functions).
4431
4432              --library-profiling-detail level
4433                     Profiling detail level for libraries only.
4434
4435              -O, --enable-optimization, --enable-optimisation [n]
4436                     Build with optimization (n is 0--2, default is 1)
4437
4438              --disable-optimization, --disable-optimisation
4439                     Build without optimization
4440
4441              --enable-debug-info [n]
4442                     Emit debug info (n is 0--3, default is 0)
4443
4444              --disable-debug-info
4445                     Don't emit debug info
4446
4447              --enable-library-for-ghci
4448              --disable-library-for-ghci
4449                     compile library for use with GHCi
4450
4451              --enable-split-sections
4452              --disable-split-sections
4453                     compile  library  code such that unneeded definitions can
4454                     be dropped from the final executable (GHC 7.8+)
4455
4456              --enable-split-objs
4457              --disable-split-objs
4458                     split library into smaller objects to reduce binary sizes
4459                     (GHC 6.6+)
4460
4461              --enable-executable-stripping
4462              --disable-executable-stripping
4463                     strip  executables  upon  installation  to  reduce binary
4464                     sizes
4465
4466              --enable-library-stripping
4467              --disable-library-stripping
4468                     strip libraries upon installation to reduce binary sizes
4469
4470              --configure-option OPT
4471                     Extra option for configure
4472
4473              --user
4474              --global
4475                     doing a per-user installation
4476
4477              --package-db DB
4478                     Append the given package database to the list of  package
4479                     databases  used  (to  satisfy  dependencies  and register
4480                     into). May be a specific file, 'global'  or  'user'.  The
4481                     initial   list  is  ['global'],  ['global',  'user'],  or
4482                     ['global', $sandbox], depending on context.  Use  'clear'
4483                     to  reset  the  list  to  empty.  See  the user guide for
4484                     details.
4485
4486              -f, --flags FLAGS
4487                     Force values for the given flags in Cabal conditionals in
4488                     the  .cabal  file.  E.g., --flags="debug -usebytestrings"
4489                     forces the flag "debug" to true and  "usebytestrings"  to
4490                     false.
4491
4492              --extra-include-dirs PATH
4493                     A list of directories to search for header files
4494
4495              --enable-deterministic
4496              --disable-deterministic
4497                     Try  to be as deterministic as possible (used by the test
4498                     suite)
4499
4500              --ipid IPID
4501                     Installed package ID to compile this package as
4502
4503              --cid CID
4504                     Installed component ID to compile this component as
4505
4506              --extra-lib-dirs PATH
4507                     A list of directories to search for external libraries
4508
4509              --extra-framework-dirs PATH
4510                     A list of directories to search for  external  frameworks
4511                     (OS X only)
4512
4513              --extra-prog-path PATH
4514                     A list of directories to search for required programs (in
4515                     addition to the normal search locations)
4516
4517              --instantiate-with NAME=MOD
4518                     A mapping of signature names to concrete module instanti‐
4519                     ations.
4520
4521              --enable-tests
4522              --disable-tests
4523                     dependency  checking  and  compilation  for  test  suites
4524                     listed in the package description file.
4525
4526              --enable-coverage
4527              --disable-coverage
4528                     build package with Haskell Program Coverage. (GHC only)
4529
4530              --enable-library-coverage
4531              --disable-library-coverage
4532                     build package with Haskell Program Coverage.  (GHC  only)
4533                     (DEPRECATED)
4534
4535              --enable-benchmarks
4536              --disable-benchmarks
4537                     dependency checking and compilation for benchmarks listed
4538                     in the package description file.
4539
4540              --enable-relocatable
4541              --disable-relocatable
4542                     building a package that is relocatable. (GHC only)
4543
4544              --disable-response-files
4545                     enable workaround for old versions of programs like  "ar"
4546                     that do not support @file arguments
4547
4548              --with-alex PATH
4549                     give the path to alex
4550
4551              --with-ar PATH
4552                     give the path to ar
4553
4554              --with-c2hs PATH
4555                     give the path to c2hs
4556
4557              --with-cpphs PATH
4558                     give the path to cpphs
4559
4560              --with-doctest PATH
4561                     give the path to doctest
4562
4563              --with-gcc PATH
4564                     give the path to gcc
4565
4566              --with-ghc PATH
4567                     give the path to ghc
4568
4569              --with-ghc-pkg PATH
4570                     give the path to ghc-pkg
4571
4572              --with-ghcjs PATH
4573                     give the path to ghcjs
4574
4575              --with-ghcjs-pkg PATH
4576                     give the path to ghcjs-pkg
4577
4578              --with-greencard PATH
4579                     give the path to greencard
4580
4581              --with-haddock PATH
4582                     give the path to haddock
4583
4584              --with-happy PATH
4585                     give the path to happy
4586
4587              --with-haskell-suite PATH
4588                     give the path to haskell-suite
4589
4590              --with-haskell-suite-pkg PATH
4591                     give the path to haskell-suite-pkg
4592
4593              --with-hmake PATH
4594                     give the path to hmake
4595
4596              --with-hpc PATH
4597                     give the path to hpc
4598
4599              --with-hsc2hs PATH
4600                     give the path to hsc2hs
4601
4602              --with-hscolour PATH
4603                     give the path to hscolour
4604
4605              --with-jhc PATH
4606                     give the path to jhc
4607
4608              --with-ld PATH
4609                     give the path to ld
4610
4611              --with-pkg-config PATH
4612                     give the path to pkg-config
4613
4614              --with-runghc PATH
4615                     give the path to runghc
4616
4617              --with-strip PATH
4618                     give the path to strip
4619
4620              --with-tar PATH
4621                     give the path to tar
4622
4623              --with-uhc PATH
4624                     give the path to uhc
4625
4626              --alex-option OPT
4627                     give  an  extra  option to alex (no need to quote options
4628                     containing spaces)
4629
4630              --ar-option OPT
4631                     give an extra option to ar (no need to quote options con‐
4632                     taining spaces)
4633
4634              --c2hs-option OPT
4635                     give  an  extra  option to c2hs (no need to quote options
4636                     containing spaces)
4637
4638              --cpphs-option OPT
4639                     give an extra option to cpphs (no need to  quote  options
4640                     containing spaces)
4641
4642              --doctest-option OPT
4643                     give an extra option to doctest (no need to quote options
4644                     containing spaces)
4645
4646              --gcc-option OPT
4647                     give an extra option to gcc (no  need  to  quote  options
4648                     containing spaces)
4649
4650              --ghc-option OPT
4651                     give  an  extra  option  to ghc (no need to quote options
4652                     containing spaces)
4653
4654              --ghc-pkg-option OPT
4655                     give an extra option to ghc-pkg (no need to quote options
4656                     containing spaces)
4657
4658              --ghcjs-option OPT
4659                     give  an  extra option to ghcjs (no need to quote options
4660                     containing spaces)
4661
4662              --ghcjs-pkg-option OPT
4663                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
4664                     options containing spaces)
4665
4666              --greencard-option OPT
4667                     give  an  extra  option  to  greencard  (no need to quote
4668                     options containing spaces)
4669
4670              --haddock-option OPT
4671                     give an extra option to haddock (no need to quote options
4672                     containing spaces)
4673
4674              --happy-option OPT
4675                     give  an  extra option to happy (no need to quote options
4676                     containing spaces)
4677
4678              --haskell-suite-option OPT
4679                     give an extra option to haskell-suite (no need  to  quote
4680                     options containing spaces)
4681
4682              --haskell-suite-pkg-option OPT
4683                     give  an  extra  option  to haskell-suite-pkg (no need to
4684                     quote options containing spaces)
4685
4686              --hmake-option OPT
4687                     give an extra option to hmake (no need to  quote  options
4688                     containing spaces)
4689
4690              --hpc-option OPT
4691                     give  an  extra  option  to hpc (no need to quote options
4692                     containing spaces)
4693
4694              --hsc2hs-option OPT
4695                     give an extra option to hsc2hs (no need to quote  options
4696                     containing spaces)
4697
4698              --hscolour-option OPT
4699                     give  an  extra  option  to  hscolour  (no  need to quote
4700                     options containing spaces)
4701
4702              --jhc-option OPT
4703                     give an extra option to jhc (no  need  to  quote  options
4704                     containing spaces)
4705
4706              --ld-option OPT
4707                     give an extra option to ld (no need to quote options con‐
4708                     taining spaces)
4709
4710              --pkg-config-option OPT
4711                     give an extra option to  pkg-config  (no  need  to  quote
4712                     options containing spaces)
4713
4714              --runghc-option OPT
4715                     give  an extra option to runghc (no need to quote options
4716                     containing spaces)
4717
4718              --strip-option OPT
4719                     give an extra option to strip (no need to  quote  options
4720                     containing spaces)
4721
4722              --tar-option OPT
4723                     give  an  extra  option  to tar (no need to quote options
4724                     containing spaces)
4725
4726              --uhc-option OPT
4727                     give an extra option to uhc (no  need  to  quote  options
4728                     containing spaces)
4729
4730              --alex-options OPTS
4731                     give extra options to alex
4732
4733              --ar-options OPTS
4734                     give extra options to ar
4735
4736              --c2hs-options OPTS
4737                     give extra options to c2hs
4738
4739              --cpphs-options OPTS
4740                     give extra options to cpphs
4741
4742              --doctest-options OPTS
4743                     give extra options to doctest
4744
4745              --gcc-options OPTS
4746                     give extra options to gcc
4747
4748              --ghc-options OPTS
4749                     give extra options to ghc
4750
4751              --ghc-pkg-options OPTS
4752                     give extra options to ghc-pkg
4753
4754              --ghcjs-options OPTS
4755                     give extra options to ghcjs
4756
4757              --ghcjs-pkg-options OPTS
4758                     give extra options to ghcjs-pkg
4759
4760              --greencard-options OPTS
4761                     give extra options to greencard
4762
4763              --haddock-options OPTS
4764                     give extra options to haddock
4765
4766              --happy-options OPTS
4767                     give extra options to happy
4768
4769              --haskell-suite-options OPTS
4770                     give extra options to haskell-suite
4771
4772              --haskell-suite-pkg-options OPTS
4773                     give extra options to haskell-suite-pkg
4774
4775              --hmake-options OPTS
4776                     give extra options to hmake
4777
4778              --hpc-options OPTS
4779                     give extra options to hpc
4780
4781              --hsc2hs-options OPTS
4782                     give extra options to hsc2hs
4783
4784              --hscolour-options OPTS
4785                     give extra options to hscolour
4786
4787              --jhc-options OPTS
4788                     give extra options to jhc
4789
4790              --ld-options OPTS
4791                     give extra options to ld
4792
4793              --pkg-config-options OPTS
4794                     give extra options to pkg-config
4795
4796              --runghc-options OPTS
4797                     give extra options to runghc
4798
4799              --strip-options OPTS
4800                     give extra options to strip
4801
4802              --tar-options OPTS
4803                     give extra options to tar
4804
4805              --uhc-options OPTS
4806                     give extra options to uhc
4807
4808              --cabal-lib-version VERSION
4809                     Select  which  version  of  the Cabal lib to use to build
4810                     packages (useful for testing).
4811
4812              --constraint CONSTRAINT
4813                     Specify    constraints    on    a    package    (version,
4814                     installed/source, flags)
4815
4816              --preference CONSTRAINT
4817                     Specify  preferences (soft constraints) on the version of
4818                     a package
4819
4820              --solver SOLVER
4821                     Select  dependency  solver  to  use  (default:  modular).
4822                     Choices: modular.
4823
4824              --allow-older [DEPS]
4825                     Ignore lower bounds in all dependencies or DEPS
4826
4827              --allow-newer [DEPS]
4828                     Ignore upper bounds in all dependencies or DEPS
4829
4830              --enable-documentation
4831              --disable-documentation
4832                     building of documentation
4833
4834              --doc-index-file TEMPLATE
4835                     A  central  index  of haddock API documentation (template
4836                     cannot use $pkgid)
4837
4838              --dry-run
4839                     Do  not  install  anything,  only  print  what  would  be
4840                     installed.
4841
4842              --max-backjumps NUM
4843                     Maximum   number   of  backjumps  allowed  while  solving
4844                     (default: 2000). Use a negative number to  enable  unlim‐
4845                     ited  backtracking.  Use  0  to disable backtracking com‐
4846                     pletely.
4847
4848              --reorder-goals
4849              --no-reorder-goals
4850                     Try to reorder goals  according  to  certain  heuristics.
4851                     Slows  things  down on average, but may make backtracking
4852                     faster for some packages.
4853
4854              --count-conflicts
4855              --no-count-conflicts
4856                     Try to speed up solving  by  preferring  goals  that  are
4857                     involved in a lot of conflicts (default).
4858
4859              --independent-goals
4860              --no-independent-goals
4861                     Treat  several  goals on the command line as independent.
4862                     If several goals depend on the  same  package,  different
4863                     versions can be chosen.
4864
4865              --shadow-installed-packages
4866              --no-shadow-installed-packages
4867                     If  multiple  package  instances  of the same version are
4868                     installed, treat all but one as shadowed.
4869
4870              --strong-flags
4871              --no-strong-flags
4872                     Do not defer flag choices (this used to be the default in
4873                     cabal-install <= 1.20).
4874
4875              --allow-boot-library-installs
4876              --no-allow-boot-library-installs
4877                     Allow  cabal  to  install base, ghc-prim, integer-simple,
4878                     integer-gmp, and template-haskell.
4879
4880              --reinstall
4881              --no-reinstall
4882                     Install even if it  means  installing  the  same  version
4883                     again.
4884
4885              --avoid-reinstalls
4886              --no-avoid-reinstalls
4887                     Do not select versions that would destructively overwrite
4888                     installed packages.
4889
4890              --force-reinstalls
4891              --no-force-reinstalls
4892                     Reinstall packages even if they will  most  likely  break
4893                     other installed packages.
4894
4895              --upgrade-dependencies
4896              --no-upgrade-dependencies
4897                     Pick the latest version for all dependencies, rather than
4898                     trying to pick an installed version.
4899
4900              --only-dependencies
4901              --no-only-dependencies
4902                     Install only the  dependencies  necessary  to  build  the
4903                     given packages
4904
4905              --dependencies-only
4906              --no-dependencies-only
4907                     A synonym for --only-dependencies
4908
4909              --index-state STATE
4910                     Use  source package index state as it existed at a previ‐
4911                     ous time. Accepts unix-timestamps  (e.g.  '@1474732068'),
4912                     ISO8601  UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or
4913                     'HEAD' (default: 'HEAD').
4914
4915              --root-cmd COMMAND
4916                     (No longer supported, do not use.)
4917
4918              --symlink-bindir DIR
4919                     Add symlinks to installed executables  into  this  direc‐
4920                     tory.
4921
4922              --build-summary TEMPLATE
4923                     Save  build  summaries  to  file  (name  template can use
4924                     $pkgid, $compiler, $os, $arch)
4925
4926              --build-log TEMPLATE
4927                     Log all builds to file (name  template  can  use  $pkgid,
4928                     $compiler, $os, $arch)
4929
4930              --remote-build-reporting LEVEL
4931                     Generate  build reports to send to a remote server (none,
4932                     anonymous or detailed).
4933
4934              --report-planning-failure
4935                     Generate build reports when the dependency solver  fails.
4936                     This is used by the Hackage build bot.
4937
4938              --enable-per-component
4939              --disable-per-component
4940                     Per-component builds when possible
4941
4942              --one-shot
4943              --no-one-shot
4944                     Do not record the packages in the world file.
4945
4946              --run-tests
4947                     Run package test suites during installation.
4948
4949              -j, --jobs [NUM]
4950                     Run  NUM  jobs  simultaneously  (or '$ncpus' if no NUM is
4951                     given).
4952
4953              --keep-going
4954                     After a build failure, continue to build other unaffected
4955                     packages.
4956
4957              --offline
4958              --no-offline
4959                     Don't download packages from the Internet.
4960
4961              --project-file FILE
4962                     Set  the  name of the cabal.project file to search for in
4963                     parent directories
4964
4965              --only
4966                     Only installs the package in the current directory.
4967
4968              --haddock-hoogle
4969                     Generate a hoogle database
4970
4971              --haddock-html
4972                     Generate HTML documentation (the default)
4973
4974              --haddock-html-location URL
4975                     Location of HTML documentation for pre-requisite packages
4976
4977              --haddock-for-hackage
4978                     Collection of flags to  generate  documentation  suitable
4979                     for upload to hackage
4980
4981              --haddock-executables
4982                     Run haddock for Executables targets
4983
4984              --haddock-tests
4985                     Run haddock for Test Suite targets
4986
4987              --haddock-benchmarks
4988                     Run haddock for Benchmark targets
4989
4990              --haddock-all
4991                     Run haddock for all targets
4992
4993              --haddock-internal
4994                     Run haddock for internal modules and include all symbols
4995
4996              --haddock-css PATH
4997                     Use PATH as the haddock stylesheet
4998
4999              --haddock-hyperlink-source,  --haddock-hyperlink-sources, --had‐
5000              dock-hyperlinked-source
5001                     Hyperlink the documentation to the source code
5002
5003              --haddock-quickjump
5004                     Generate an index for interactive  documentation  naviga‐
5005                     tion
5006
5007              --haddock-hscolour-css PATH
5008                     Use PATH as the HsColour stylesheet
5009
5010              --haddock-contents-location URL
5011                     Bake URL in as the location for the contents page
5012
5013
5014       cabal v2-repl
5015
5016       Usage: cabal v2-repl [TARGET] [FLAGS]
5017
5018
5019       Open  an  interactive  session  for a component within the project. The
5020       available targets are the same as for the 'v2-build' command:  individ‐
5021       ual  components  within  packages  in the project, including libraries,
5022       executables, test-suites or benchmarks. Packages can also be  specified
5023       in which case the library component in the package will be used, or the
5024       (first listed) executable in the package if there is no library.
5025
5026       Dependencies are built or rebuilt as necessary.  Additional  configura‐
5027       tion  flags  can  be specified on the command line and these extend the
5028       project configuration from the  'cabal.project',  'cabal.project.local'
5029       and other files.
5030
5031
5032       Open  an  interactive  session  for a component within the project. The
5033       available targets are the same as for the 'v2-build' command:  individ‐
5034       ual  components  within  packages  in the project, including libraries,
5035       executables, test-suites or benchmarks. Packages can also be  specified
5036       in which case the library component in the package will be used, or the
5037       (first listed) executable in the package if there is no library.
5038
5039       Dependencies are built or rebuilt as necessary.  Additional  configura‐
5040       tion  flags  can  be specified on the command line and these extend the
5041       project configuration from the  'cabal.project',  'cabal.project.local'
5042       and other files.
5043
5044
5045       Flags:
5046              -v, --verbose [n]
5047                     Control  verbosity (n is 0--3, default verbosity level is
5048                     1)
5049
5050              --builddir, --distdir, --distpref DIR
5051                     The directory where  Cabal  puts  generated  build  files
5052                     (default dist)
5053
5054              -g, --ghc
5055                     compile with GHC
5056
5057              --ghcjs
5058                     compile with GHCJS
5059
5060              --uhc
5061                     compile with UHC
5062
5063              --haskell-suite
5064                     compile with a haskell-suite compiler
5065
5066              --cabal-file PATH
5067                     use this Cabal file
5068
5069              -w, --with-compiler PATH
5070                     give the path to a particular compiler
5071
5072              --with-hc-pkg PATH
5073                     give the path to the package tool
5074
5075              --prefix DIR
5076                     bake this prefix in preparation of installation
5077
5078              --bindir DIR
5079                     installation directory for executables
5080
5081              --libdir DIR
5082                     installation directory for libraries
5083
5084              --libsubdir DIR
5085                     subdirectory of libdir in which libs are installed
5086
5087              --dynlibdir DIR
5088                     installation directory for dynamic libraries
5089
5090              --libexecdir DIR
5091                     installation directory for program executables
5092
5093              --libexecsubdir DIR
5094                     subdirectory  of  libexecdir in which private executables
5095                     are installed
5096
5097              --datadir DIR
5098                     installation directory for read-only data
5099
5100              --datasubdir DIR
5101                     subdirectory of datadir in which data files are installed
5102
5103              --docdir DIR
5104                     installation directory for documentation
5105
5106              --htmldir DIR
5107                     installation directory for HTML documentation
5108
5109              --haddockdir DIR
5110                     installation directory for haddock interfaces
5111
5112              --sysconfdir DIR
5113                     installation directory for configuration files
5114
5115              --program-prefix PREFIX
5116                     prefix to be applied to installed executables
5117
5118              --program-suffix SUFFIX
5119                     suffix to be applied to installed executables
5120
5121              --enable-library-vanilla
5122              --disable-library-vanilla
5123                     Vanilla libraries
5124
5125              -p, --enable-library-profiling
5126              --disable-library-profiling
5127                     Library profiling
5128
5129              --enable-shared
5130              --disable-shared
5131                     Shared library
5132
5133              --enable-static
5134              --disable-static
5135                     Static library
5136
5137              --enable-executable-dynamic
5138              --disable-executable-dynamic
5139                     Executable dynamic linking
5140
5141              --enable-profiling
5142              --disable-profiling
5143                     Executable and library profiling
5144
5145              --enable-executable-profiling
5146              --disable-executable-profiling
5147                     Executable profiling (DEPRECATED)
5148
5149              --profiling-detail level
5150                     Profiling  detail  level  for  executable   and   library
5151                     (default,  none,  exported-functions, toplevel-functions,
5152                     all-functions).
5153
5154              --library-profiling-detail level
5155                     Profiling detail level for libraries only.
5156
5157              -O, --enable-optimization, --enable-optimisation [n]
5158                     Build with optimization (n is 0--2, default is 1)
5159
5160              --disable-optimization, --disable-optimisation
5161                     Build without optimization
5162
5163              --enable-debug-info [n]
5164                     Emit debug info (n is 0--3, default is 0)
5165
5166              --disable-debug-info
5167                     Don't emit debug info
5168
5169              --enable-library-for-ghci
5170              --disable-library-for-ghci
5171                     compile library for use with GHCi
5172
5173              --enable-split-sections
5174              --disable-split-sections
5175                     compile library code such that unneeded  definitions  can
5176                     be dropped from the final executable (GHC 7.8+)
5177
5178              --enable-split-objs
5179              --disable-split-objs
5180                     split library into smaller objects to reduce binary sizes
5181                     (GHC 6.6+)
5182
5183              --enable-executable-stripping
5184              --disable-executable-stripping
5185                     strip executables  upon  installation  to  reduce  binary
5186                     sizes
5187
5188              --enable-library-stripping
5189              --disable-library-stripping
5190                     strip libraries upon installation to reduce binary sizes
5191
5192              --configure-option OPT
5193                     Extra option for configure
5194
5195              --user
5196              --global
5197                     doing a per-user installation
5198
5199              --package-db DB
5200                     Append  the given package database to the list of package
5201                     databases used  (to  satisfy  dependencies  and  register
5202                     into).  May  be  a specific file, 'global' or 'user'. The
5203                     initial  list  is  ['global'],  ['global',  'user'],   or
5204                     ['global',  $sandbox],  depending on context. Use 'clear'
5205                     to reset the list  to  empty.  See  the  user  guide  for
5206                     details.
5207
5208              -f, --flags FLAGS
5209                     Force values for the given flags in Cabal conditionals in
5210                     the .cabal file.  E.g.,  --flags="debug  -usebytestrings"
5211                     forces  the  flag "debug" to true and "usebytestrings" to
5212                     false.
5213
5214              --extra-include-dirs PATH
5215                     A list of directories to search for header files
5216
5217              --enable-deterministic
5218              --disable-deterministic
5219                     Try to be as deterministic as possible (used by the  test
5220                     suite)
5221
5222              --ipid IPID
5223                     Installed package ID to compile this package as
5224
5225              --cid CID
5226                     Installed component ID to compile this component as
5227
5228              --extra-lib-dirs PATH
5229                     A list of directories to search for external libraries
5230
5231              --extra-framework-dirs PATH
5232                     A  list  of directories to search for external frameworks
5233                     (OS X only)
5234
5235              --extra-prog-path PATH
5236                     A list of directories to search for required programs (in
5237                     addition to the normal search locations)
5238
5239              --instantiate-with NAME=MOD
5240                     A mapping of signature names to concrete module instanti‐
5241                     ations.
5242
5243              --enable-tests
5244              --disable-tests
5245                     dependency  checking  and  compilation  for  test  suites
5246                     listed in the package description file.
5247
5248              --enable-coverage
5249              --disable-coverage
5250                     build package with Haskell Program Coverage. (GHC only)
5251
5252              --enable-library-coverage
5253              --disable-library-coverage
5254                     build  package  with Haskell Program Coverage. (GHC only)
5255                     (DEPRECATED)
5256
5257              --enable-benchmarks
5258              --disable-benchmarks
5259                     dependency checking and compilation for benchmarks listed
5260                     in the package description file.
5261
5262              --enable-relocatable
5263              --disable-relocatable
5264                     building a package that is relocatable. (GHC only)
5265
5266              --disable-response-files
5267                     enable  workaround for old versions of programs like "ar"
5268                     that do not support @file arguments
5269
5270              --with-alex PATH
5271                     give the path to alex
5272
5273              --with-ar PATH
5274                     give the path to ar
5275
5276              --with-c2hs PATH
5277                     give the path to c2hs
5278
5279              --with-cpphs PATH
5280                     give the path to cpphs
5281
5282              --with-doctest PATH
5283                     give the path to doctest
5284
5285              --with-gcc PATH
5286                     give the path to gcc
5287
5288              --with-ghc PATH
5289                     give the path to ghc
5290
5291              --with-ghc-pkg PATH
5292                     give the path to ghc-pkg
5293
5294              --with-ghcjs PATH
5295                     give the path to ghcjs
5296
5297              --with-ghcjs-pkg PATH
5298                     give the path to ghcjs-pkg
5299
5300              --with-greencard PATH
5301                     give the path to greencard
5302
5303              --with-haddock PATH
5304                     give the path to haddock
5305
5306              --with-happy PATH
5307                     give the path to happy
5308
5309              --with-haskell-suite PATH
5310                     give the path to haskell-suite
5311
5312              --with-haskell-suite-pkg PATH
5313                     give the path to haskell-suite-pkg
5314
5315              --with-hmake PATH
5316                     give the path to hmake
5317
5318              --with-hpc PATH
5319                     give the path to hpc
5320
5321              --with-hsc2hs PATH
5322                     give the path to hsc2hs
5323
5324              --with-hscolour PATH
5325                     give the path to hscolour
5326
5327              --with-jhc PATH
5328                     give the path to jhc
5329
5330              --with-ld PATH
5331                     give the path to ld
5332
5333              --with-pkg-config PATH
5334                     give the path to pkg-config
5335
5336              --with-runghc PATH
5337                     give the path to runghc
5338
5339              --with-strip PATH
5340                     give the path to strip
5341
5342              --with-tar PATH
5343                     give the path to tar
5344
5345              --with-uhc PATH
5346                     give the path to uhc
5347
5348              --alex-option OPT
5349                     give an extra option to alex (no need  to  quote  options
5350                     containing spaces)
5351
5352              --ar-option OPT
5353                     give an extra option to ar (no need to quote options con‐
5354                     taining spaces)
5355
5356              --c2hs-option OPT
5357                     give an extra option to c2hs (no need  to  quote  options
5358                     containing spaces)
5359
5360              --cpphs-option OPT
5361                     give  an  extra option to cpphs (no need to quote options
5362                     containing spaces)
5363
5364              --doctest-option OPT
5365                     give an extra option to doctest (no need to quote options
5366                     containing spaces)
5367
5368              --gcc-option OPT
5369                     give  an  extra  option  to gcc (no need to quote options
5370                     containing spaces)
5371
5372              --ghc-option OPT
5373                     give an extra option to ghc (no  need  to  quote  options
5374                     containing spaces)
5375
5376              --ghc-pkg-option OPT
5377                     give an extra option to ghc-pkg (no need to quote options
5378                     containing spaces)
5379
5380              --ghcjs-option OPT
5381                     give an extra option to ghcjs (no need to  quote  options
5382                     containing spaces)
5383
5384              --ghcjs-pkg-option OPT
5385                     give  an  extra  option  to  ghcjs-pkg  (no need to quote
5386                     options containing spaces)
5387
5388              --greencard-option OPT
5389                     give an extra option  to  greencard  (no  need  to  quote
5390                     options containing spaces)
5391
5392              --haddock-option OPT
5393                     give an extra option to haddock (no need to quote options
5394                     containing spaces)
5395
5396              --happy-option OPT
5397                     give an extra option to happy (no need to  quote  options
5398                     containing spaces)
5399
5400              --haskell-suite-option OPT
5401                     give  an  extra option to haskell-suite (no need to quote
5402                     options containing spaces)
5403
5404              --haskell-suite-pkg-option OPT
5405                     give an extra option to  haskell-suite-pkg  (no  need  to
5406                     quote options containing spaces)
5407
5408              --hmake-option OPT
5409                     give  an  extra option to hmake (no need to quote options
5410                     containing spaces)
5411
5412              --hpc-option OPT
5413                     give an extra option to hpc (no  need  to  quote  options
5414                     containing spaces)
5415
5416              --hsc2hs-option OPT
5417                     give  an extra option to hsc2hs (no need to quote options
5418                     containing spaces)
5419
5420              --hscolour-option OPT
5421                     give an extra  option  to  hscolour  (no  need  to  quote
5422                     options containing spaces)
5423
5424              --jhc-option OPT
5425                     give  an  extra  option  to jhc (no need to quote options
5426                     containing spaces)
5427
5428              --ld-option OPT
5429                     give an extra option to ld (no need to quote options con‐
5430                     taining spaces)
5431
5432              --pkg-config-option OPT
5433                     give  an  extra  option  to  pkg-config (no need to quote
5434                     options containing spaces)
5435
5436              --runghc-option OPT
5437                     give an extra option to runghc (no need to quote  options
5438                     containing spaces)
5439
5440              --strip-option OPT
5441                     give  an  extra option to strip (no need to quote options
5442                     containing spaces)
5443
5444              --tar-option OPT
5445                     give an extra option to tar (no  need  to  quote  options
5446                     containing spaces)
5447
5448              --uhc-option OPT
5449                     give  an  extra  option  to uhc (no need to quote options
5450                     containing spaces)
5451
5452              --alex-options OPTS
5453                     give extra options to alex
5454
5455              --ar-options OPTS
5456                     give extra options to ar
5457
5458              --c2hs-options OPTS
5459                     give extra options to c2hs
5460
5461              --cpphs-options OPTS
5462                     give extra options to cpphs
5463
5464              --doctest-options OPTS
5465                     give extra options to doctest
5466
5467              --gcc-options OPTS
5468                     give extra options to gcc
5469
5470              --ghc-options OPTS
5471                     give extra options to ghc
5472
5473              --ghc-pkg-options OPTS
5474                     give extra options to ghc-pkg
5475
5476              --ghcjs-options OPTS
5477                     give extra options to ghcjs
5478
5479              --ghcjs-pkg-options OPTS
5480                     give extra options to ghcjs-pkg
5481
5482              --greencard-options OPTS
5483                     give extra options to greencard
5484
5485              --haddock-options OPTS
5486                     give extra options to haddock
5487
5488              --happy-options OPTS
5489                     give extra options to happy
5490
5491              --haskell-suite-options OPTS
5492                     give extra options to haskell-suite
5493
5494              --haskell-suite-pkg-options OPTS
5495                     give extra options to haskell-suite-pkg
5496
5497              --hmake-options OPTS
5498                     give extra options to hmake
5499
5500              --hpc-options OPTS
5501                     give extra options to hpc
5502
5503              --hsc2hs-options OPTS
5504                     give extra options to hsc2hs
5505
5506              --hscolour-options OPTS
5507                     give extra options to hscolour
5508
5509              --jhc-options OPTS
5510                     give extra options to jhc
5511
5512              --ld-options OPTS
5513                     give extra options to ld
5514
5515              --pkg-config-options OPTS
5516                     give extra options to pkg-config
5517
5518              --runghc-options OPTS
5519                     give extra options to runghc
5520
5521              --strip-options OPTS
5522                     give extra options to strip
5523
5524              --tar-options OPTS
5525                     give extra options to tar
5526
5527              --uhc-options OPTS
5528                     give extra options to uhc
5529
5530              --cabal-lib-version VERSION
5531                     Select which version of the Cabal lib  to  use  to  build
5532                     packages (useful for testing).
5533
5534              --constraint CONSTRAINT
5535                     Specify    constraints    on    a    package    (version,
5536                     installed/source, flags)
5537
5538              --preference CONSTRAINT
5539                     Specify preferences (soft constraints) on the version  of
5540                     a package
5541
5542              --solver SOLVER
5543                     Select  dependency  solver  to  use  (default:  modular).
5544                     Choices: modular.
5545
5546              --allow-older [DEPS]
5547                     Ignore lower bounds in all dependencies or DEPS
5548
5549              --allow-newer [DEPS]
5550                     Ignore upper bounds in all dependencies or DEPS
5551
5552              --enable-documentation
5553              --disable-documentation
5554                     building of documentation
5555
5556              --doc-index-file TEMPLATE
5557                     A central index of haddock  API  documentation  (template
5558                     cannot use $pkgid)
5559
5560              --dry-run
5561                     Do  not  install  anything,  only  print  what  would  be
5562                     installed.
5563
5564              --max-backjumps NUM
5565                     Maximum  number  of  backjumps  allowed   while   solving
5566                     (default:  2000).  Use a negative number to enable unlim‐
5567                     ited backtracking. Use 0  to  disable  backtracking  com‐
5568                     pletely.
5569
5570              --reorder-goals
5571              --no-reorder-goals
5572                     Try  to  reorder  goals  according to certain heuristics.
5573                     Slows things down on average, but may  make  backtracking
5574                     faster for some packages.
5575
5576              --count-conflicts
5577              --no-count-conflicts
5578                     Try  to  speed  up  solving  by preferring goals that are
5579                     involved in a lot of conflicts (default).
5580
5581              --independent-goals
5582              --no-independent-goals
5583                     Treat several goals on the command line  as  independent.
5584                     If  several  goals  depend on the same package, different
5585                     versions can be chosen.
5586
5587              --shadow-installed-packages
5588              --no-shadow-installed-packages
5589                     If multiple package instances of  the  same  version  are
5590                     installed, treat all but one as shadowed.
5591
5592              --strong-flags
5593              --no-strong-flags
5594                     Do not defer flag choices (this used to be the default in
5595                     cabal-install <= 1.20).
5596
5597              --allow-boot-library-installs
5598              --no-allow-boot-library-installs
5599                     Allow cabal to install  base,  ghc-prim,  integer-simple,
5600                     integer-gmp, and template-haskell.
5601
5602              --reinstall
5603              --no-reinstall
5604                     Install  even  if  it  means  installing the same version
5605                     again.
5606
5607              --avoid-reinstalls
5608              --no-avoid-reinstalls
5609                     Do not select versions that would destructively overwrite
5610                     installed packages.
5611
5612              --force-reinstalls
5613              --no-force-reinstalls
5614                     Reinstall  packages  even  if they will most likely break
5615                     other installed packages.
5616
5617              --upgrade-dependencies
5618              --no-upgrade-dependencies
5619                     Pick the latest version for all dependencies, rather than
5620                     trying to pick an installed version.
5621
5622              --only-dependencies
5623              --no-only-dependencies
5624                     Install  only  the  dependencies  necessary  to build the
5625                     given packages
5626
5627              --dependencies-only
5628              --no-dependencies-only
5629                     A synonym for --only-dependencies
5630
5631              --index-state STATE
5632                     Use source package index state as it existed at a  previ‐
5633                     ous  time.  Accepts unix-timestamps (e.g. '@1474732068'),
5634                     ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'),  or
5635                     'HEAD' (default: 'HEAD').
5636
5637              --root-cmd COMMAND
5638                     (No longer supported, do not use.)
5639
5640              --symlink-bindir DIR
5641                     Add  symlinks  to  installed executables into this direc‐
5642                     tory.
5643
5644              --build-summary TEMPLATE
5645                     Save build summaries  to  file  (name  template  can  use
5646                     $pkgid, $compiler, $os, $arch)
5647
5648              --build-log TEMPLATE
5649                     Log  all  builds  to  file (name template can use $pkgid,
5650                     $compiler, $os, $arch)
5651
5652              --remote-build-reporting LEVEL
5653                     Generate build reports to send to a remote server  (none,
5654                     anonymous or detailed).
5655
5656              --report-planning-failure
5657                     Generate  build reports when the dependency solver fails.
5658                     This is used by the Hackage build bot.
5659
5660              --enable-per-component
5661              --disable-per-component
5662                     Per-component builds when possible
5663
5664              --one-shot
5665              --no-one-shot
5666                     Do not record the packages in the world file.
5667
5668              --run-tests
5669                     Run package test suites during installation.
5670
5671              -j, --jobs [NUM]
5672                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
5673                     given).
5674
5675              --keep-going
5676                     After a build failure, continue to build other unaffected
5677                     packages.
5678
5679              --offline
5680              --no-offline
5681                     Don't download packages from the Internet.
5682
5683              --project-file FILE
5684                     Set the name of the cabal.project file to search  for  in
5685                     parent directories
5686
5687              --only
5688                     Only installs the package in the current directory.
5689
5690              --haddock-hoogle
5691                     Generate a hoogle database
5692
5693              --haddock-html
5694                     Generate HTML documentation (the default)
5695
5696              --haddock-html-location URL
5697                     Location of HTML documentation for pre-requisite packages
5698
5699              --haddock-for-hackage
5700                     Collection  of  flags  to generate documentation suitable
5701                     for upload to hackage
5702
5703              --haddock-executables
5704                     Run haddock for Executables targets
5705
5706              --haddock-tests
5707                     Run haddock for Test Suite targets
5708
5709              --haddock-benchmarks
5710                     Run haddock for Benchmark targets
5711
5712              --haddock-all
5713                     Run haddock for all targets
5714
5715              --haddock-internal
5716                     Run haddock for internal modules and include all symbols
5717
5718              --haddock-css PATH
5719                     Use PATH as the haddock stylesheet
5720
5721              --haddock-hyperlink-source, --haddock-hyperlink-sources,  --had‐
5722              dock-hyperlinked-source
5723                     Hyperlink the documentation to the source code
5724
5725              --haddock-quickjump
5726                     Generate  an  index for interactive documentation naviga‐
5727                     tion
5728
5729              --haddock-hscolour-css PATH
5730                     Use PATH as the HsColour stylesheet
5731
5732              --haddock-contents-location URL
5733                     Bake URL in as the location for the contents page
5734
5735              --repl-options FLAG
5736                     use this option for the repl
5737
5738              -b, --build-depends DEPENDENCY
5739                     Include an additional package  in  the  environment  pre‐
5740                     sented to GHCi.
5741
5742              --no-transitive-deps
5743                     Don't  automatically  include  transitive dependencies of
5744                     requested packages.
5745
5746              -z, --ignore-project
5747                     Only include explicitly specified packages (and 'base').
5748
5749
5750       cabal new-repl
5751
5752       Usage: cabal new-repl [TARGET] [FLAGS]
5753
5754
5755       Open an interactive session for a component  within  the  project.  The
5756       available targets are the same as for the 'new-build' command: individ‐
5757       ual components within packages in  the  project,  including  libraries,
5758       executables,  test-suites or benchmarks. Packages can also be specified
5759       in which case the library component in the package will be used, or the
5760       (first listed) executable in the package if there is no library.
5761
5762       Dependencies  are  built or rebuilt as necessary. Additional configura‐
5763       tion flags can be specified on the command line and  these  extend  the
5764       project  configuration  from the 'cabal.project', 'cabal.project.local'
5765       and other files.
5766
5767
5768       Examples, open an interactive session:
5769         cabal new-repl
5770           for the default component in the package in the current directory
5771         cabal new-repl pkgname
5772           for the default component in the package named 'pkgname'
5773         cabal new-repl ./pkgfoo
5774           for the default component in the package in the ./pkgfoo directory
5775         cabal new-repl cname
5776           for the component named 'cname'
5777         cabal new-repl pkgname:cname
5778           for the component 'cname' in the package 'pkgname'
5779
5780         cabal new-repl --build-depends lens
5781           add the latest version of the library 'lens' to the default  compo‐
5782       nent (or no componentif there is no project present)
5783         cabal new-repl --build-depends "lens >= 4.15 && < 4.18"
5784           add  a  version  (constrained between 4.15 and 4.18) of the library
5785       'lens' to the default component (or no component if there is no project
5786       present)  Note:  this  command  is part of the new project-based system
5787       (aka nix-style local builds). These features  are  currently  in  beta.
5788       Please  see http://cabal.readthedocs.io/en/latest/nix-local-build-over
5789       view.html for details and advice on what you can expect to work. If you
5790       encounter        problems       please       file       issues       at
5791       https://github.com/haskell/cabal/issues and if you have any time to get
5792       involved  and help with testing, fixing bugs etc then that is very much
5793       appreciated.
5794
5795
5796       Flags:
5797              -v, --verbose [n]
5798                     Control verbosity (n is 0--3, default verbosity level  is
5799                     1)
5800
5801              --builddir, --distdir, --distpref DIR
5802                     The  directory  where  Cabal  puts  generated build files
5803                     (default dist)
5804
5805              -g, --ghc
5806                     compile with GHC
5807
5808              --ghcjs
5809                     compile with GHCJS
5810
5811              --uhc
5812                     compile with UHC
5813
5814              --haskell-suite
5815                     compile with a haskell-suite compiler
5816
5817              --cabal-file PATH
5818                     use this Cabal file
5819
5820              -w, --with-compiler PATH
5821                     give the path to a particular compiler
5822
5823              --with-hc-pkg PATH
5824                     give the path to the package tool
5825
5826              --prefix DIR
5827                     bake this prefix in preparation of installation
5828
5829              --bindir DIR
5830                     installation directory for executables
5831
5832              --libdir DIR
5833                     installation directory for libraries
5834
5835              --libsubdir DIR
5836                     subdirectory of libdir in which libs are installed
5837
5838              --dynlibdir DIR
5839                     installation directory for dynamic libraries
5840
5841              --libexecdir DIR
5842                     installation directory for program executables
5843
5844              --libexecsubdir DIR
5845                     subdirectory of libexecdir in which  private  executables
5846                     are installed
5847
5848              --datadir DIR
5849                     installation directory for read-only data
5850
5851              --datasubdir DIR
5852                     subdirectory of datadir in which data files are installed
5853
5854              --docdir DIR
5855                     installation directory for documentation
5856
5857              --htmldir DIR
5858                     installation directory for HTML documentation
5859
5860              --haddockdir DIR
5861                     installation directory for haddock interfaces
5862
5863              --sysconfdir DIR
5864                     installation directory for configuration files
5865
5866              --program-prefix PREFIX
5867                     prefix to be applied to installed executables
5868
5869              --program-suffix SUFFIX
5870                     suffix to be applied to installed executables
5871
5872              --enable-library-vanilla
5873              --disable-library-vanilla
5874                     Vanilla libraries
5875
5876              -p, --enable-library-profiling
5877              --disable-library-profiling
5878                     Library profiling
5879
5880              --enable-shared
5881              --disable-shared
5882                     Shared library
5883
5884              --enable-static
5885              --disable-static
5886                     Static library
5887
5888              --enable-executable-dynamic
5889              --disable-executable-dynamic
5890                     Executable dynamic linking
5891
5892              --enable-profiling
5893              --disable-profiling
5894                     Executable and library profiling
5895
5896              --enable-executable-profiling
5897              --disable-executable-profiling
5898                     Executable profiling (DEPRECATED)
5899
5900              --profiling-detail level
5901                     Profiling   detail   level  for  executable  and  library
5902                     (default, none,  exported-functions,  toplevel-functions,
5903                     all-functions).
5904
5905              --library-profiling-detail level
5906                     Profiling detail level for libraries only.
5907
5908              -O, --enable-optimization, --enable-optimisation [n]
5909                     Build with optimization (n is 0--2, default is 1)
5910
5911              --disable-optimization, --disable-optimisation
5912                     Build without optimization
5913
5914              --enable-debug-info [n]
5915                     Emit debug info (n is 0--3, default is 0)
5916
5917              --disable-debug-info
5918                     Don't emit debug info
5919
5920              --enable-library-for-ghci
5921              --disable-library-for-ghci
5922                     compile library for use with GHCi
5923
5924              --enable-split-sections
5925              --disable-split-sections
5926                     compile  library  code such that unneeded definitions can
5927                     be dropped from the final executable (GHC 7.8+)
5928
5929              --enable-split-objs
5930              --disable-split-objs
5931                     split library into smaller objects to reduce binary sizes
5932                     (GHC 6.6+)
5933
5934              --enable-executable-stripping
5935              --disable-executable-stripping
5936                     strip  executables  upon  installation  to  reduce binary
5937                     sizes
5938
5939              --enable-library-stripping
5940              --disable-library-stripping
5941                     strip libraries upon installation to reduce binary sizes
5942
5943              --configure-option OPT
5944                     Extra option for configure
5945
5946              --user
5947              --global
5948                     doing a per-user installation
5949
5950              --package-db DB
5951                     Append the given package database to the list of  package
5952                     databases  used  (to  satisfy  dependencies  and register
5953                     into). May be a specific file, 'global'  or  'user'.  The
5954                     initial   list  is  ['global'],  ['global',  'user'],  or
5955                     ['global', $sandbox], depending on context.  Use  'clear'
5956                     to  reset  the  list  to  empty.  See  the user guide for
5957                     details.
5958
5959              -f, --flags FLAGS
5960                     Force values for the given flags in Cabal conditionals in
5961                     the  .cabal  file.  E.g., --flags="debug -usebytestrings"
5962                     forces the flag "debug" to true and  "usebytestrings"  to
5963                     false.
5964
5965              --extra-include-dirs PATH
5966                     A list of directories to search for header files
5967
5968              --enable-deterministic
5969              --disable-deterministic
5970                     Try  to be as deterministic as possible (used by the test
5971                     suite)
5972
5973              --ipid IPID
5974                     Installed package ID to compile this package as
5975
5976              --cid CID
5977                     Installed component ID to compile this component as
5978
5979              --extra-lib-dirs PATH
5980                     A list of directories to search for external libraries
5981
5982              --extra-framework-dirs PATH
5983                     A list of directories to search for  external  frameworks
5984                     (OS X only)
5985
5986              --extra-prog-path PATH
5987                     A list of directories to search for required programs (in
5988                     addition to the normal search locations)
5989
5990              --instantiate-with NAME=MOD
5991                     A mapping of signature names to concrete module instanti‐
5992                     ations.
5993
5994              --enable-tests
5995              --disable-tests
5996                     dependency  checking  and  compilation  for  test  suites
5997                     listed in the package description file.
5998
5999              --enable-coverage
6000              --disable-coverage
6001                     build package with Haskell Program Coverage. (GHC only)
6002
6003              --enable-library-coverage
6004              --disable-library-coverage
6005                     build package with Haskell Program Coverage.  (GHC  only)
6006                     (DEPRECATED)
6007
6008              --enable-benchmarks
6009              --disable-benchmarks
6010                     dependency checking and compilation for benchmarks listed
6011                     in the package description file.
6012
6013              --enable-relocatable
6014              --disable-relocatable
6015                     building a package that is relocatable. (GHC only)
6016
6017              --disable-response-files
6018                     enable workaround for old versions of programs like  "ar"
6019                     that do not support @file arguments
6020
6021              --with-alex PATH
6022                     give the path to alex
6023
6024              --with-ar PATH
6025                     give the path to ar
6026
6027              --with-c2hs PATH
6028                     give the path to c2hs
6029
6030              --with-cpphs PATH
6031                     give the path to cpphs
6032
6033              --with-doctest PATH
6034                     give the path to doctest
6035
6036              --with-gcc PATH
6037                     give the path to gcc
6038
6039              --with-ghc PATH
6040                     give the path to ghc
6041
6042              --with-ghc-pkg PATH
6043                     give the path to ghc-pkg
6044
6045              --with-ghcjs PATH
6046                     give the path to ghcjs
6047
6048              --with-ghcjs-pkg PATH
6049                     give the path to ghcjs-pkg
6050
6051              --with-greencard PATH
6052                     give the path to greencard
6053
6054              --with-haddock PATH
6055                     give the path to haddock
6056
6057              --with-happy PATH
6058                     give the path to happy
6059
6060              --with-haskell-suite PATH
6061                     give the path to haskell-suite
6062
6063              --with-haskell-suite-pkg PATH
6064                     give the path to haskell-suite-pkg
6065
6066              --with-hmake PATH
6067                     give the path to hmake
6068
6069              --with-hpc PATH
6070                     give the path to hpc
6071
6072              --with-hsc2hs PATH
6073                     give the path to hsc2hs
6074
6075              --with-hscolour PATH
6076                     give the path to hscolour
6077
6078              --with-jhc PATH
6079                     give the path to jhc
6080
6081              --with-ld PATH
6082                     give the path to ld
6083
6084              --with-pkg-config PATH
6085                     give the path to pkg-config
6086
6087              --with-runghc PATH
6088                     give the path to runghc
6089
6090              --with-strip PATH
6091                     give the path to strip
6092
6093              --with-tar PATH
6094                     give the path to tar
6095
6096              --with-uhc PATH
6097                     give the path to uhc
6098
6099              --alex-option OPT
6100                     give  an  extra  option to alex (no need to quote options
6101                     containing spaces)
6102
6103              --ar-option OPT
6104                     give an extra option to ar (no need to quote options con‐
6105                     taining spaces)
6106
6107              --c2hs-option OPT
6108                     give  an  extra  option to c2hs (no need to quote options
6109                     containing spaces)
6110
6111              --cpphs-option OPT
6112                     give an extra option to cpphs (no need to  quote  options
6113                     containing spaces)
6114
6115              --doctest-option OPT
6116                     give an extra option to doctest (no need to quote options
6117                     containing spaces)
6118
6119              --gcc-option OPT
6120                     give an extra option to gcc (no  need  to  quote  options
6121                     containing spaces)
6122
6123              --ghc-option OPT
6124                     give  an  extra  option  to ghc (no need to quote options
6125                     containing spaces)
6126
6127              --ghc-pkg-option OPT
6128                     give an extra option to ghc-pkg (no need to quote options
6129                     containing spaces)
6130
6131              --ghcjs-option OPT
6132                     give  an  extra option to ghcjs (no need to quote options
6133                     containing spaces)
6134
6135              --ghcjs-pkg-option OPT
6136                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
6137                     options containing spaces)
6138
6139              --greencard-option OPT
6140                     give  an  extra  option  to  greencard  (no need to quote
6141                     options containing spaces)
6142
6143              --haddock-option OPT
6144                     give an extra option to haddock (no need to quote options
6145                     containing spaces)
6146
6147              --happy-option OPT
6148                     give  an  extra option to happy (no need to quote options
6149                     containing spaces)
6150
6151              --haskell-suite-option OPT
6152                     give an extra option to haskell-suite (no need  to  quote
6153                     options containing spaces)
6154
6155              --haskell-suite-pkg-option OPT
6156                     give  an  extra  option  to haskell-suite-pkg (no need to
6157                     quote options containing spaces)
6158
6159              --hmake-option OPT
6160                     give an extra option to hmake (no need to  quote  options
6161                     containing spaces)
6162
6163              --hpc-option OPT
6164                     give  an  extra  option  to hpc (no need to quote options
6165                     containing spaces)
6166
6167              --hsc2hs-option OPT
6168                     give an extra option to hsc2hs (no need to quote  options
6169                     containing spaces)
6170
6171              --hscolour-option OPT
6172                     give  an  extra  option  to  hscolour  (no  need to quote
6173                     options containing spaces)
6174
6175              --jhc-option OPT
6176                     give an extra option to jhc (no  need  to  quote  options
6177                     containing spaces)
6178
6179              --ld-option OPT
6180                     give an extra option to ld (no need to quote options con‐
6181                     taining spaces)
6182
6183              --pkg-config-option OPT
6184                     give an extra option to  pkg-config  (no  need  to  quote
6185                     options containing spaces)
6186
6187              --runghc-option OPT
6188                     give  an extra option to runghc (no need to quote options
6189                     containing spaces)
6190
6191              --strip-option OPT
6192                     give an extra option to strip (no need to  quote  options
6193                     containing spaces)
6194
6195              --tar-option OPT
6196                     give  an  extra  option  to tar (no need to quote options
6197                     containing spaces)
6198
6199              --uhc-option OPT
6200                     give an extra option to uhc (no  need  to  quote  options
6201                     containing spaces)
6202
6203              --alex-options OPTS
6204                     give extra options to alex
6205
6206              --ar-options OPTS
6207                     give extra options to ar
6208
6209              --c2hs-options OPTS
6210                     give extra options to c2hs
6211
6212              --cpphs-options OPTS
6213                     give extra options to cpphs
6214
6215              --doctest-options OPTS
6216                     give extra options to doctest
6217
6218              --gcc-options OPTS
6219                     give extra options to gcc
6220
6221              --ghc-options OPTS
6222                     give extra options to ghc
6223
6224              --ghc-pkg-options OPTS
6225                     give extra options to ghc-pkg
6226
6227              --ghcjs-options OPTS
6228                     give extra options to ghcjs
6229
6230              --ghcjs-pkg-options OPTS
6231                     give extra options to ghcjs-pkg
6232
6233              --greencard-options OPTS
6234                     give extra options to greencard
6235
6236              --haddock-options OPTS
6237                     give extra options to haddock
6238
6239              --happy-options OPTS
6240                     give extra options to happy
6241
6242              --haskell-suite-options OPTS
6243                     give extra options to haskell-suite
6244
6245              --haskell-suite-pkg-options OPTS
6246                     give extra options to haskell-suite-pkg
6247
6248              --hmake-options OPTS
6249                     give extra options to hmake
6250
6251              --hpc-options OPTS
6252                     give extra options to hpc
6253
6254              --hsc2hs-options OPTS
6255                     give extra options to hsc2hs
6256
6257              --hscolour-options OPTS
6258                     give extra options to hscolour
6259
6260              --jhc-options OPTS
6261                     give extra options to jhc
6262
6263              --ld-options OPTS
6264                     give extra options to ld
6265
6266              --pkg-config-options OPTS
6267                     give extra options to pkg-config
6268
6269              --runghc-options OPTS
6270                     give extra options to runghc
6271
6272              --strip-options OPTS
6273                     give extra options to strip
6274
6275              --tar-options OPTS
6276                     give extra options to tar
6277
6278              --uhc-options OPTS
6279                     give extra options to uhc
6280
6281              --cabal-lib-version VERSION
6282                     Select  which  version  of  the Cabal lib to use to build
6283                     packages (useful for testing).
6284
6285              --constraint CONSTRAINT
6286                     Specify    constraints    on    a    package    (version,
6287                     installed/source, flags)
6288
6289              --preference CONSTRAINT
6290                     Specify  preferences (soft constraints) on the version of
6291                     a package
6292
6293              --solver SOLVER
6294                     Select  dependency  solver  to  use  (default:  modular).
6295                     Choices: modular.
6296
6297              --allow-older [DEPS]
6298                     Ignore lower bounds in all dependencies or DEPS
6299
6300              --allow-newer [DEPS]
6301                     Ignore upper bounds in all dependencies or DEPS
6302
6303              --enable-documentation
6304              --disable-documentation
6305                     building of documentation
6306
6307              --doc-index-file TEMPLATE
6308                     A  central  index  of haddock API documentation (template
6309                     cannot use $pkgid)
6310
6311              --dry-run
6312                     Do  not  install  anything,  only  print  what  would  be
6313                     installed.
6314
6315              --max-backjumps NUM
6316                     Maximum   number   of  backjumps  allowed  while  solving
6317                     (default: 2000). Use a negative number to  enable  unlim‐
6318                     ited  backtracking.  Use  0  to disable backtracking com‐
6319                     pletely.
6320
6321              --reorder-goals
6322              --no-reorder-goals
6323                     Try to reorder goals  according  to  certain  heuristics.
6324                     Slows  things  down on average, but may make backtracking
6325                     faster for some packages.
6326
6327              --count-conflicts
6328              --no-count-conflicts
6329                     Try to speed up solving  by  preferring  goals  that  are
6330                     involved in a lot of conflicts (default).
6331
6332              --independent-goals
6333              --no-independent-goals
6334                     Treat  several  goals on the command line as independent.
6335                     If several goals depend on the  same  package,  different
6336                     versions can be chosen.
6337
6338              --shadow-installed-packages
6339              --no-shadow-installed-packages
6340                     If  multiple  package  instances  of the same version are
6341                     installed, treat all but one as shadowed.
6342
6343              --strong-flags
6344              --no-strong-flags
6345                     Do not defer flag choices (this used to be the default in
6346                     cabal-install <= 1.20).
6347
6348              --allow-boot-library-installs
6349              --no-allow-boot-library-installs
6350                     Allow  cabal  to  install base, ghc-prim, integer-simple,
6351                     integer-gmp, and template-haskell.
6352
6353              --reinstall
6354              --no-reinstall
6355                     Install even if it  means  installing  the  same  version
6356                     again.
6357
6358              --avoid-reinstalls
6359              --no-avoid-reinstalls
6360                     Do not select versions that would destructively overwrite
6361                     installed packages.
6362
6363              --force-reinstalls
6364              --no-force-reinstalls
6365                     Reinstall packages even if they will  most  likely  break
6366                     other installed packages.
6367
6368              --upgrade-dependencies
6369              --no-upgrade-dependencies
6370                     Pick the latest version for all dependencies, rather than
6371                     trying to pick an installed version.
6372
6373              --only-dependencies
6374              --no-only-dependencies
6375                     Install only the  dependencies  necessary  to  build  the
6376                     given packages
6377
6378              --dependencies-only
6379              --no-dependencies-only
6380                     A synonym for --only-dependencies
6381
6382              --index-state STATE
6383                     Use  source package index state as it existed at a previ‐
6384                     ous time. Accepts unix-timestamps  (e.g.  '@1474732068'),
6385                     ISO8601  UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or
6386                     'HEAD' (default: 'HEAD').
6387
6388              --root-cmd COMMAND
6389                     (No longer supported, do not use.)
6390
6391              --symlink-bindir DIR
6392                     Add symlinks to installed executables  into  this  direc‐
6393                     tory.
6394
6395              --build-summary TEMPLATE
6396                     Save  build  summaries  to  file  (name  template can use
6397                     $pkgid, $compiler, $os, $arch)
6398
6399              --build-log TEMPLATE
6400                     Log all builds to file (name  template  can  use  $pkgid,
6401                     $compiler, $os, $arch)
6402
6403              --remote-build-reporting LEVEL
6404                     Generate  build reports to send to a remote server (none,
6405                     anonymous or detailed).
6406
6407              --report-planning-failure
6408                     Generate build reports when the dependency solver  fails.
6409                     This is used by the Hackage build bot.
6410
6411              --enable-per-component
6412              --disable-per-component
6413                     Per-component builds when possible
6414
6415              --one-shot
6416              --no-one-shot
6417                     Do not record the packages in the world file.
6418
6419              --run-tests
6420                     Run package test suites during installation.
6421
6422              -j, --jobs [NUM]
6423                     Run  NUM  jobs  simultaneously  (or '$ncpus' if no NUM is
6424                     given).
6425
6426              --keep-going
6427                     After a build failure, continue to build other unaffected
6428                     packages.
6429
6430              --offline
6431              --no-offline
6432                     Don't download packages from the Internet.
6433
6434              --project-file FILE
6435                     Set  the  name of the cabal.project file to search for in
6436                     parent directories
6437
6438              --only
6439                     Only installs the package in the current directory.
6440
6441              --haddock-hoogle
6442                     Generate a hoogle database
6443
6444              --haddock-html
6445                     Generate HTML documentation (the default)
6446
6447              --haddock-html-location URL
6448                     Location of HTML documentation for pre-requisite packages
6449
6450              --haddock-for-hackage
6451                     Collection of flags to  generate  documentation  suitable
6452                     for upload to hackage
6453
6454              --haddock-executables
6455                     Run haddock for Executables targets
6456
6457              --haddock-tests
6458                     Run haddock for Test Suite targets
6459
6460              --haddock-benchmarks
6461                     Run haddock for Benchmark targets
6462
6463              --haddock-all
6464                     Run haddock for all targets
6465
6466              --haddock-internal
6467                     Run haddock for internal modules and include all symbols
6468
6469              --haddock-css PATH
6470                     Use PATH as the haddock stylesheet
6471
6472              --haddock-hyperlink-source,  --haddock-hyperlink-sources, --had‐
6473              dock-hyperlinked-source
6474                     Hyperlink the documentation to the source code
6475
6476              --haddock-quickjump
6477                     Generate an index for interactive  documentation  naviga‐
6478                     tion
6479
6480              --haddock-hscolour-css PATH
6481                     Use PATH as the HsColour stylesheet
6482
6483              --haddock-contents-location URL
6484                     Bake URL in as the location for the contents page
6485
6486              --repl-options FLAG
6487                     use this option for the repl
6488
6489              -b, --build-depends DEPENDENCY
6490                     Include  an  additional  package  in the environment pre‐
6491                     sented to GHCi.
6492
6493              --no-transitive-deps
6494                     Don't automatically include  transitive  dependencies  of
6495                     requested packages.
6496
6497              -z, --ignore-project
6498                     Only include explicitly specified packages (and 'base').
6499
6500
6501       cabal v2-freeze
6502
6503       Usage: cabal v2-freeze [FLAGS]
6504
6505
6506       The  project configuration is frozen so that it will be reproducible in
6507       future.
6508
6509       The precise dependency configuration for the project is written to  the
6510       specified).    This   file   extends   the   configuration   from   the
6511       'cabal.project' file and thus is used as the project configuration  for
6512       all other commands (such as
6513
6514       The  freeze  file  can be kept in source control. To make small adjust‐
6515       ments it may be edited manually, or to make bigger changes you may wish
6516       to  delete the file and re-freeze. For more control, one approach is to
6517       try variations using once you have a satisfactory solution to freeze it
6518       using the 'v2-freeze' command with the same set of flags.
6519
6520
6521       The  project configuration is frozen so that it will be reproducible in
6522       future.
6523
6524       The precise dependency configuration for the project is written to  the
6525       specified).    This   file   extends   the   configuration   from   the
6526       'cabal.project' file and thus is used as the project configuration  for
6527       all other commands (such as
6528
6529       The  freeze  file  can be kept in source control. To make small adjust‐
6530       ments it may be edited manually, or to make bigger changes you may wish
6531       to  delete the file and re-freeze. For more control, one approach is to
6532       try variations using once you have a satisfactory solution to freeze it
6533       using the 'v2-freeze' command with the same set of flags.
6534
6535
6536       Flags:
6537              -v, --verbose [n]
6538                     Control  verbosity (n is 0--3, default verbosity level is
6539                     1)
6540
6541              --builddir, --distdir, --distpref DIR
6542                     The directory where  Cabal  puts  generated  build  files
6543                     (default dist)
6544
6545              -g, --ghc
6546                     compile with GHC
6547
6548              --ghcjs
6549                     compile with GHCJS
6550
6551              --uhc
6552                     compile with UHC
6553
6554              --haskell-suite
6555                     compile with a haskell-suite compiler
6556
6557              --cabal-file PATH
6558                     use this Cabal file
6559
6560              -w, --with-compiler PATH
6561                     give the path to a particular compiler
6562
6563              --with-hc-pkg PATH
6564                     give the path to the package tool
6565
6566              --prefix DIR
6567                     bake this prefix in preparation of installation
6568
6569              --bindir DIR
6570                     installation directory for executables
6571
6572              --libdir DIR
6573                     installation directory for libraries
6574
6575              --libsubdir DIR
6576                     subdirectory of libdir in which libs are installed
6577
6578              --dynlibdir DIR
6579                     installation directory for dynamic libraries
6580
6581              --libexecdir DIR
6582                     installation directory for program executables
6583
6584              --libexecsubdir DIR
6585                     subdirectory  of  libexecdir in which private executables
6586                     are installed
6587
6588              --datadir DIR
6589                     installation directory for read-only data
6590
6591              --datasubdir DIR
6592                     subdirectory of datadir in which data files are installed
6593
6594              --docdir DIR
6595                     installation directory for documentation
6596
6597              --htmldir DIR
6598                     installation directory for HTML documentation
6599
6600              --haddockdir DIR
6601                     installation directory for haddock interfaces
6602
6603              --sysconfdir DIR
6604                     installation directory for configuration files
6605
6606              --program-prefix PREFIX
6607                     prefix to be applied to installed executables
6608
6609              --program-suffix SUFFIX
6610                     suffix to be applied to installed executables
6611
6612              --enable-library-vanilla
6613              --disable-library-vanilla
6614                     Vanilla libraries
6615
6616              -p, --enable-library-profiling
6617              --disable-library-profiling
6618                     Library profiling
6619
6620              --enable-shared
6621              --disable-shared
6622                     Shared library
6623
6624              --enable-static
6625              --disable-static
6626                     Static library
6627
6628              --enable-executable-dynamic
6629              --disable-executable-dynamic
6630                     Executable dynamic linking
6631
6632              --enable-profiling
6633              --disable-profiling
6634                     Executable and library profiling
6635
6636              --enable-executable-profiling
6637              --disable-executable-profiling
6638                     Executable profiling (DEPRECATED)
6639
6640              --profiling-detail level
6641                     Profiling  detail  level  for  executable   and   library
6642                     (default,  none,  exported-functions, toplevel-functions,
6643                     all-functions).
6644
6645              --library-profiling-detail level
6646                     Profiling detail level for libraries only.
6647
6648              -O, --enable-optimization, --enable-optimisation [n]
6649                     Build with optimization (n is 0--2, default is 1)
6650
6651              --disable-optimization, --disable-optimisation
6652                     Build without optimization
6653
6654              --enable-debug-info [n]
6655                     Emit debug info (n is 0--3, default is 0)
6656
6657              --disable-debug-info
6658                     Don't emit debug info
6659
6660              --enable-library-for-ghci
6661              --disable-library-for-ghci
6662                     compile library for use with GHCi
6663
6664              --enable-split-sections
6665              --disable-split-sections
6666                     compile library code such that unneeded  definitions  can
6667                     be dropped from the final executable (GHC 7.8+)
6668
6669              --enable-split-objs
6670              --disable-split-objs
6671                     split library into smaller objects to reduce binary sizes
6672                     (GHC 6.6+)
6673
6674              --enable-executable-stripping
6675              --disable-executable-stripping
6676                     strip executables  upon  installation  to  reduce  binary
6677                     sizes
6678
6679              --enable-library-stripping
6680              --disable-library-stripping
6681                     strip libraries upon installation to reduce binary sizes
6682
6683              --configure-option OPT
6684                     Extra option for configure
6685
6686              --user
6687              --global
6688                     doing a per-user installation
6689
6690              --package-db DB
6691                     Append  the given package database to the list of package
6692                     databases used  (to  satisfy  dependencies  and  register
6693                     into).  May  be  a specific file, 'global' or 'user'. The
6694                     initial  list  is  ['global'],  ['global',  'user'],   or
6695                     ['global',  $sandbox],  depending on context. Use 'clear'
6696                     to reset the list  to  empty.  See  the  user  guide  for
6697                     details.
6698
6699              -f, --flags FLAGS
6700                     Force values for the given flags in Cabal conditionals in
6701                     the .cabal file.  E.g.,  --flags="debug  -usebytestrings"
6702                     forces  the  flag "debug" to true and "usebytestrings" to
6703                     false.
6704
6705              --extra-include-dirs PATH
6706                     A list of directories to search for header files
6707
6708              --enable-deterministic
6709              --disable-deterministic
6710                     Try to be as deterministic as possible (used by the  test
6711                     suite)
6712
6713              --ipid IPID
6714                     Installed package ID to compile this package as
6715
6716              --cid CID
6717                     Installed component ID to compile this component as
6718
6719              --extra-lib-dirs PATH
6720                     A list of directories to search for external libraries
6721
6722              --extra-framework-dirs PATH
6723                     A  list  of directories to search for external frameworks
6724                     (OS X only)
6725
6726              --extra-prog-path PATH
6727                     A list of directories to search for required programs (in
6728                     addition to the normal search locations)
6729
6730              --instantiate-with NAME=MOD
6731                     A mapping of signature names to concrete module instanti‐
6732                     ations.
6733
6734              --enable-tests
6735              --disable-tests
6736                     dependency  checking  and  compilation  for  test  suites
6737                     listed in the package description file.
6738
6739              --enable-coverage
6740              --disable-coverage
6741                     build package with Haskell Program Coverage. (GHC only)
6742
6743              --enable-library-coverage
6744              --disable-library-coverage
6745                     build  package  with Haskell Program Coverage. (GHC only)
6746                     (DEPRECATED)
6747
6748              --enable-benchmarks
6749              --disable-benchmarks
6750                     dependency checking and compilation for benchmarks listed
6751                     in the package description file.
6752
6753              --enable-relocatable
6754              --disable-relocatable
6755                     building a package that is relocatable. (GHC only)
6756
6757              --disable-response-files
6758                     enable  workaround for old versions of programs like "ar"
6759                     that do not support @file arguments
6760
6761              --with-alex PATH
6762                     give the path to alex
6763
6764              --with-ar PATH
6765                     give the path to ar
6766
6767              --with-c2hs PATH
6768                     give the path to c2hs
6769
6770              --with-cpphs PATH
6771                     give the path to cpphs
6772
6773              --with-doctest PATH
6774                     give the path to doctest
6775
6776              --with-gcc PATH
6777                     give the path to gcc
6778
6779              --with-ghc PATH
6780                     give the path to ghc
6781
6782              --with-ghc-pkg PATH
6783                     give the path to ghc-pkg
6784
6785              --with-ghcjs PATH
6786                     give the path to ghcjs
6787
6788              --with-ghcjs-pkg PATH
6789                     give the path to ghcjs-pkg
6790
6791              --with-greencard PATH
6792                     give the path to greencard
6793
6794              --with-haddock PATH
6795                     give the path to haddock
6796
6797              --with-happy PATH
6798                     give the path to happy
6799
6800              --with-haskell-suite PATH
6801                     give the path to haskell-suite
6802
6803              --with-haskell-suite-pkg PATH
6804                     give the path to haskell-suite-pkg
6805
6806              --with-hmake PATH
6807                     give the path to hmake
6808
6809              --with-hpc PATH
6810                     give the path to hpc
6811
6812              --with-hsc2hs PATH
6813                     give the path to hsc2hs
6814
6815              --with-hscolour PATH
6816                     give the path to hscolour
6817
6818              --with-jhc PATH
6819                     give the path to jhc
6820
6821              --with-ld PATH
6822                     give the path to ld
6823
6824              --with-pkg-config PATH
6825                     give the path to pkg-config
6826
6827              --with-runghc PATH
6828                     give the path to runghc
6829
6830              --with-strip PATH
6831                     give the path to strip
6832
6833              --with-tar PATH
6834                     give the path to tar
6835
6836              --with-uhc PATH
6837                     give the path to uhc
6838
6839              --alex-option OPT
6840                     give an extra option to alex (no need  to  quote  options
6841                     containing spaces)
6842
6843              --ar-option OPT
6844                     give an extra option to ar (no need to quote options con‐
6845                     taining spaces)
6846
6847              --c2hs-option OPT
6848                     give an extra option to c2hs (no need  to  quote  options
6849                     containing spaces)
6850
6851              --cpphs-option OPT
6852                     give  an  extra option to cpphs (no need to quote options
6853                     containing spaces)
6854
6855              --doctest-option OPT
6856                     give an extra option to doctest (no need to quote options
6857                     containing spaces)
6858
6859              --gcc-option OPT
6860                     give  an  extra  option  to gcc (no need to quote options
6861                     containing spaces)
6862
6863              --ghc-option OPT
6864                     give an extra option to ghc (no  need  to  quote  options
6865                     containing spaces)
6866
6867              --ghc-pkg-option OPT
6868                     give an extra option to ghc-pkg (no need to quote options
6869                     containing spaces)
6870
6871              --ghcjs-option OPT
6872                     give an extra option to ghcjs (no need to  quote  options
6873                     containing spaces)
6874
6875              --ghcjs-pkg-option OPT
6876                     give  an  extra  option  to  ghcjs-pkg  (no need to quote
6877                     options containing spaces)
6878
6879              --greencard-option OPT
6880                     give an extra option  to  greencard  (no  need  to  quote
6881                     options containing spaces)
6882
6883              --haddock-option OPT
6884                     give an extra option to haddock (no need to quote options
6885                     containing spaces)
6886
6887              --happy-option OPT
6888                     give an extra option to happy (no need to  quote  options
6889                     containing spaces)
6890
6891              --haskell-suite-option OPT
6892                     give  an  extra option to haskell-suite (no need to quote
6893                     options containing spaces)
6894
6895              --haskell-suite-pkg-option OPT
6896                     give an extra option to  haskell-suite-pkg  (no  need  to
6897                     quote options containing spaces)
6898
6899              --hmake-option OPT
6900                     give  an  extra option to hmake (no need to quote options
6901                     containing spaces)
6902
6903              --hpc-option OPT
6904                     give an extra option to hpc (no  need  to  quote  options
6905                     containing spaces)
6906
6907              --hsc2hs-option OPT
6908                     give  an extra option to hsc2hs (no need to quote options
6909                     containing spaces)
6910
6911              --hscolour-option OPT
6912                     give an extra  option  to  hscolour  (no  need  to  quote
6913                     options containing spaces)
6914
6915              --jhc-option OPT
6916                     give  an  extra  option  to jhc (no need to quote options
6917                     containing spaces)
6918
6919              --ld-option OPT
6920                     give an extra option to ld (no need to quote options con‐
6921                     taining spaces)
6922
6923              --pkg-config-option OPT
6924                     give  an  extra  option  to  pkg-config (no need to quote
6925                     options containing spaces)
6926
6927              --runghc-option OPT
6928                     give an extra option to runghc (no need to quote  options
6929                     containing spaces)
6930
6931              --strip-option OPT
6932                     give  an  extra option to strip (no need to quote options
6933                     containing spaces)
6934
6935              --tar-option OPT
6936                     give an extra option to tar (no  need  to  quote  options
6937                     containing spaces)
6938
6939              --uhc-option OPT
6940                     give  an  extra  option  to uhc (no need to quote options
6941                     containing spaces)
6942
6943              --alex-options OPTS
6944                     give extra options to alex
6945
6946              --ar-options OPTS
6947                     give extra options to ar
6948
6949              --c2hs-options OPTS
6950                     give extra options to c2hs
6951
6952              --cpphs-options OPTS
6953                     give extra options to cpphs
6954
6955              --doctest-options OPTS
6956                     give extra options to doctest
6957
6958              --gcc-options OPTS
6959                     give extra options to gcc
6960
6961              --ghc-options OPTS
6962                     give extra options to ghc
6963
6964              --ghc-pkg-options OPTS
6965                     give extra options to ghc-pkg
6966
6967              --ghcjs-options OPTS
6968                     give extra options to ghcjs
6969
6970              --ghcjs-pkg-options OPTS
6971                     give extra options to ghcjs-pkg
6972
6973              --greencard-options OPTS
6974                     give extra options to greencard
6975
6976              --haddock-options OPTS
6977                     give extra options to haddock
6978
6979              --happy-options OPTS
6980                     give extra options to happy
6981
6982              --haskell-suite-options OPTS
6983                     give extra options to haskell-suite
6984
6985              --haskell-suite-pkg-options OPTS
6986                     give extra options to haskell-suite-pkg
6987
6988              --hmake-options OPTS
6989                     give extra options to hmake
6990
6991              --hpc-options OPTS
6992                     give extra options to hpc
6993
6994              --hsc2hs-options OPTS
6995                     give extra options to hsc2hs
6996
6997              --hscolour-options OPTS
6998                     give extra options to hscolour
6999
7000              --jhc-options OPTS
7001                     give extra options to jhc
7002
7003              --ld-options OPTS
7004                     give extra options to ld
7005
7006              --pkg-config-options OPTS
7007                     give extra options to pkg-config
7008
7009              --runghc-options OPTS
7010                     give extra options to runghc
7011
7012              --strip-options OPTS
7013                     give extra options to strip
7014
7015              --tar-options OPTS
7016                     give extra options to tar
7017
7018              --uhc-options OPTS
7019                     give extra options to uhc
7020
7021              --cabal-lib-version VERSION
7022                     Select which version of the Cabal lib  to  use  to  build
7023                     packages (useful for testing).
7024
7025              --constraint CONSTRAINT
7026                     Specify    constraints    on    a    package    (version,
7027                     installed/source, flags)
7028
7029              --preference CONSTRAINT
7030                     Specify preferences (soft constraints) on the version  of
7031                     a package
7032
7033              --solver SOLVER
7034                     Select  dependency  solver  to  use  (default:  modular).
7035                     Choices: modular.
7036
7037              --allow-older [DEPS]
7038                     Ignore lower bounds in all dependencies or DEPS
7039
7040              --allow-newer [DEPS]
7041                     Ignore upper bounds in all dependencies or DEPS
7042
7043              --enable-documentation
7044              --disable-documentation
7045                     building of documentation
7046
7047              --doc-index-file TEMPLATE
7048                     A central index of haddock  API  documentation  (template
7049                     cannot use $pkgid)
7050
7051              --dry-run
7052                     Do  not  install  anything,  only  print  what  would  be
7053                     installed.
7054
7055              --max-backjumps NUM
7056                     Maximum  number  of  backjumps  allowed   while   solving
7057                     (default:  2000).  Use a negative number to enable unlim‐
7058                     ited backtracking. Use 0  to  disable  backtracking  com‐
7059                     pletely.
7060
7061              --reorder-goals
7062              --no-reorder-goals
7063                     Try  to  reorder  goals  according to certain heuristics.
7064                     Slows things down on average, but may  make  backtracking
7065                     faster for some packages.
7066
7067              --count-conflicts
7068              --no-count-conflicts
7069                     Try  to  speed  up  solving  by preferring goals that are
7070                     involved in a lot of conflicts (default).
7071
7072              --independent-goals
7073              --no-independent-goals
7074                     Treat several goals on the command line  as  independent.
7075                     If  several  goals  depend on the same package, different
7076                     versions can be chosen.
7077
7078              --shadow-installed-packages
7079              --no-shadow-installed-packages
7080                     If multiple package instances of  the  same  version  are
7081                     installed, treat all but one as shadowed.
7082
7083              --strong-flags
7084              --no-strong-flags
7085                     Do not defer flag choices (this used to be the default in
7086                     cabal-install <= 1.20).
7087
7088              --allow-boot-library-installs
7089              --no-allow-boot-library-installs
7090                     Allow cabal to install  base,  ghc-prim,  integer-simple,
7091                     integer-gmp, and template-haskell.
7092
7093              --reinstall
7094              --no-reinstall
7095                     Install  even  if  it  means  installing the same version
7096                     again.
7097
7098              --avoid-reinstalls
7099              --no-avoid-reinstalls
7100                     Do not select versions that would destructively overwrite
7101                     installed packages.
7102
7103              --force-reinstalls
7104              --no-force-reinstalls
7105                     Reinstall  packages  even  if they will most likely break
7106                     other installed packages.
7107
7108              --upgrade-dependencies
7109              --no-upgrade-dependencies
7110                     Pick the latest version for all dependencies, rather than
7111                     trying to pick an installed version.
7112
7113              --only-dependencies
7114              --no-only-dependencies
7115                     Install  only  the  dependencies  necessary  to build the
7116                     given packages
7117
7118              --dependencies-only
7119              --no-dependencies-only
7120                     A synonym for --only-dependencies
7121
7122              --index-state STATE
7123                     Use source package index state as it existed at a  previ‐
7124                     ous  time.  Accepts unix-timestamps (e.g. '@1474732068'),
7125                     ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'),  or
7126                     'HEAD' (default: 'HEAD').
7127
7128              --root-cmd COMMAND
7129                     (No longer supported, do not use.)
7130
7131              --symlink-bindir DIR
7132                     Add  symlinks  to  installed executables into this direc‐
7133                     tory.
7134
7135              --build-summary TEMPLATE
7136                     Save build summaries  to  file  (name  template  can  use
7137                     $pkgid, $compiler, $os, $arch)
7138
7139              --build-log TEMPLATE
7140                     Log  all  builds  to  file (name template can use $pkgid,
7141                     $compiler, $os, $arch)
7142
7143              --remote-build-reporting LEVEL
7144                     Generate build reports to send to a remote server  (none,
7145                     anonymous or detailed).
7146
7147              --report-planning-failure
7148                     Generate  build reports when the dependency solver fails.
7149                     This is used by the Hackage build bot.
7150
7151              --enable-per-component
7152              --disable-per-component
7153                     Per-component builds when possible
7154
7155              --one-shot
7156              --no-one-shot
7157                     Do not record the packages in the world file.
7158
7159              --run-tests
7160                     Run package test suites during installation.
7161
7162              -j, --jobs [NUM]
7163                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
7164                     given).
7165
7166              --keep-going
7167                     After a build failure, continue to build other unaffected
7168                     packages.
7169
7170              --offline
7171              --no-offline
7172                     Don't download packages from the Internet.
7173
7174              --project-file FILE
7175                     Set the name of the cabal.project file to search  for  in
7176                     parent directories
7177
7178              --only
7179                     Only installs the package in the current directory.
7180
7181              --haddock-hoogle
7182                     Generate a hoogle database
7183
7184              --haddock-html
7185                     Generate HTML documentation (the default)
7186
7187              --haddock-html-location URL
7188                     Location of HTML documentation for pre-requisite packages
7189
7190              --haddock-for-hackage
7191                     Collection  of  flags  to generate documentation suitable
7192                     for upload to hackage
7193
7194              --haddock-executables
7195                     Run haddock for Executables targets
7196
7197              --haddock-tests
7198                     Run haddock for Test Suite targets
7199
7200              --haddock-benchmarks
7201                     Run haddock for Benchmark targets
7202
7203              --haddock-all
7204                     Run haddock for all targets
7205
7206              --haddock-internal
7207                     Run haddock for internal modules and include all symbols
7208
7209              --haddock-css PATH
7210                     Use PATH as the haddock stylesheet
7211
7212              --haddock-hyperlink-source, --haddock-hyperlink-sources,  --had‐
7213              dock-hyperlinked-source
7214                     Hyperlink the documentation to the source code
7215
7216              --haddock-quickjump
7217                     Generate  an  index for interactive documentation naviga‐
7218                     tion
7219
7220              --haddock-hscolour-css PATH
7221                     Use PATH as the HsColour stylesheet
7222
7223              --haddock-contents-location URL
7224                     Bake URL in as the location for the contents page
7225
7226
7227       cabal new-freeze
7228
7229       Usage: cabal new-freeze [FLAGS]
7230
7231
7232       The project configuration is frozen so that it will be reproducible  in
7233       future.
7234
7235       The  precise dependency configuration for the project is written to the
7236       specified).   This   file   extends   the   configuration   from    the
7237       'cabal.project'  file and thus is used as the project configuration for
7238       all other commands (such as
7239
7240       The freeze file can be kept in source control. To  make  small  adjust‐
7241       ments it may be edited manually, or to make bigger changes you may wish
7242       to delete the file and re-freeze. For more control, one approach is  to
7243       try variations using once you have a satisfactory solution to freeze it
7244       using the 'new-freeze' command with the same set of flags.
7245
7246
7247       Examples:
7248         cabal new-freeze
7249           Freeze the configuration of the current project
7250
7251         cabal new-build --dry-run --constraint="aeson < 1"
7252           Check what a solution with the given constraints would look like
7253         cabal new-freeze --constraint="aeson < 1"
7254           Freeze a solution using the given constraints
7255
7256       Note: this command is part of the new project-based  system  (aka  nix-
7257       style  local  builds). These features are currently in beta. Please see
7258       http://cabal.readthedocs.io/en/latest/nix-local-build-overview.html for
7259       details  and  advice  on  what you can expect to work. If you encounter
7260       problems please file issues at  https://github.com/haskell/cabal/issues
7261       and  if you have any time to get involved and help with testing, fixing
7262       bugs etc then that is very much appreciated.
7263
7264
7265       Flags:
7266              -v, --verbose [n]
7267                     Control verbosity (n is 0--3, default verbosity level  is
7268                     1)
7269
7270              --builddir, --distdir, --distpref DIR
7271                     The  directory  where  Cabal  puts  generated build files
7272                     (default dist)
7273
7274              -g, --ghc
7275                     compile with GHC
7276
7277              --ghcjs
7278                     compile with GHCJS
7279
7280              --uhc
7281                     compile with UHC
7282
7283              --haskell-suite
7284                     compile with a haskell-suite compiler
7285
7286              --cabal-file PATH
7287                     use this Cabal file
7288
7289              -w, --with-compiler PATH
7290                     give the path to a particular compiler
7291
7292              --with-hc-pkg PATH
7293                     give the path to the package tool
7294
7295              --prefix DIR
7296                     bake this prefix in preparation of installation
7297
7298              --bindir DIR
7299                     installation directory for executables
7300
7301              --libdir DIR
7302                     installation directory for libraries
7303
7304              --libsubdir DIR
7305                     subdirectory of libdir in which libs are installed
7306
7307              --dynlibdir DIR
7308                     installation directory for dynamic libraries
7309
7310              --libexecdir DIR
7311                     installation directory for program executables
7312
7313              --libexecsubdir DIR
7314                     subdirectory of libexecdir in which  private  executables
7315                     are installed
7316
7317              --datadir DIR
7318                     installation directory for read-only data
7319
7320              --datasubdir DIR
7321                     subdirectory of datadir in which data files are installed
7322
7323              --docdir DIR
7324                     installation directory for documentation
7325
7326              --htmldir DIR
7327                     installation directory for HTML documentation
7328
7329              --haddockdir DIR
7330                     installation directory for haddock interfaces
7331
7332              --sysconfdir DIR
7333                     installation directory for configuration files
7334
7335              --program-prefix PREFIX
7336                     prefix to be applied to installed executables
7337
7338              --program-suffix SUFFIX
7339                     suffix to be applied to installed executables
7340
7341              --enable-library-vanilla
7342              --disable-library-vanilla
7343                     Vanilla libraries
7344
7345              -p, --enable-library-profiling
7346              --disable-library-profiling
7347                     Library profiling
7348
7349              --enable-shared
7350              --disable-shared
7351                     Shared library
7352
7353              --enable-static
7354              --disable-static
7355                     Static library
7356
7357              --enable-executable-dynamic
7358              --disable-executable-dynamic
7359                     Executable dynamic linking
7360
7361              --enable-profiling
7362              --disable-profiling
7363                     Executable and library profiling
7364
7365              --enable-executable-profiling
7366              --disable-executable-profiling
7367                     Executable profiling (DEPRECATED)
7368
7369              --profiling-detail level
7370                     Profiling   detail   level  for  executable  and  library
7371                     (default, none,  exported-functions,  toplevel-functions,
7372                     all-functions).
7373
7374              --library-profiling-detail level
7375                     Profiling detail level for libraries only.
7376
7377              -O, --enable-optimization, --enable-optimisation [n]
7378                     Build with optimization (n is 0--2, default is 1)
7379
7380              --disable-optimization, --disable-optimisation
7381                     Build without optimization
7382
7383              --enable-debug-info [n]
7384                     Emit debug info (n is 0--3, default is 0)
7385
7386              --disable-debug-info
7387                     Don't emit debug info
7388
7389              --enable-library-for-ghci
7390              --disable-library-for-ghci
7391                     compile library for use with GHCi
7392
7393              --enable-split-sections
7394              --disable-split-sections
7395                     compile  library  code such that unneeded definitions can
7396                     be dropped from the final executable (GHC 7.8+)
7397
7398              --enable-split-objs
7399              --disable-split-objs
7400                     split library into smaller objects to reduce binary sizes
7401                     (GHC 6.6+)
7402
7403              --enable-executable-stripping
7404              --disable-executable-stripping
7405                     strip  executables  upon  installation  to  reduce binary
7406                     sizes
7407
7408              --enable-library-stripping
7409              --disable-library-stripping
7410                     strip libraries upon installation to reduce binary sizes
7411
7412              --configure-option OPT
7413                     Extra option for configure
7414
7415              --user
7416              --global
7417                     doing a per-user installation
7418
7419              --package-db DB
7420                     Append the given package database to the list of  package
7421                     databases  used  (to  satisfy  dependencies  and register
7422                     into). May be a specific file, 'global'  or  'user'.  The
7423                     initial   list  is  ['global'],  ['global',  'user'],  or
7424                     ['global', $sandbox], depending on context.  Use  'clear'
7425                     to  reset  the  list  to  empty.  See  the user guide for
7426                     details.
7427
7428              -f, --flags FLAGS
7429                     Force values for the given flags in Cabal conditionals in
7430                     the  .cabal  file.  E.g., --flags="debug -usebytestrings"
7431                     forces the flag "debug" to true and  "usebytestrings"  to
7432                     false.
7433
7434              --extra-include-dirs PATH
7435                     A list of directories to search for header files
7436
7437              --enable-deterministic
7438              --disable-deterministic
7439                     Try  to be as deterministic as possible (used by the test
7440                     suite)
7441
7442              --ipid IPID
7443                     Installed package ID to compile this package as
7444
7445              --cid CID
7446                     Installed component ID to compile this component as
7447
7448              --extra-lib-dirs PATH
7449                     A list of directories to search for external libraries
7450
7451              --extra-framework-dirs PATH
7452                     A list of directories to search for  external  frameworks
7453                     (OS X only)
7454
7455              --extra-prog-path PATH
7456                     A list of directories to search for required programs (in
7457                     addition to the normal search locations)
7458
7459              --instantiate-with NAME=MOD
7460                     A mapping of signature names to concrete module instanti‐
7461                     ations.
7462
7463              --enable-tests
7464              --disable-tests
7465                     dependency  checking  and  compilation  for  test  suites
7466                     listed in the package description file.
7467
7468              --enable-coverage
7469              --disable-coverage
7470                     build package with Haskell Program Coverage. (GHC only)
7471
7472              --enable-library-coverage
7473              --disable-library-coverage
7474                     build package with Haskell Program Coverage.  (GHC  only)
7475                     (DEPRECATED)
7476
7477              --enable-benchmarks
7478              --disable-benchmarks
7479                     dependency checking and compilation for benchmarks listed
7480                     in the package description file.
7481
7482              --enable-relocatable
7483              --disable-relocatable
7484                     building a package that is relocatable. (GHC only)
7485
7486              --disable-response-files
7487                     enable workaround for old versions of programs like  "ar"
7488                     that do not support @file arguments
7489
7490              --with-alex PATH
7491                     give the path to alex
7492
7493              --with-ar PATH
7494                     give the path to ar
7495
7496              --with-c2hs PATH
7497                     give the path to c2hs
7498
7499              --with-cpphs PATH
7500                     give the path to cpphs
7501
7502              --with-doctest PATH
7503                     give the path to doctest
7504
7505              --with-gcc PATH
7506                     give the path to gcc
7507
7508              --with-ghc PATH
7509                     give the path to ghc
7510
7511              --with-ghc-pkg PATH
7512                     give the path to ghc-pkg
7513
7514              --with-ghcjs PATH
7515                     give the path to ghcjs
7516
7517              --with-ghcjs-pkg PATH
7518                     give the path to ghcjs-pkg
7519
7520              --with-greencard PATH
7521                     give the path to greencard
7522
7523              --with-haddock PATH
7524                     give the path to haddock
7525
7526              --with-happy PATH
7527                     give the path to happy
7528
7529              --with-haskell-suite PATH
7530                     give the path to haskell-suite
7531
7532              --with-haskell-suite-pkg PATH
7533                     give the path to haskell-suite-pkg
7534
7535              --with-hmake PATH
7536                     give the path to hmake
7537
7538              --with-hpc PATH
7539                     give the path to hpc
7540
7541              --with-hsc2hs PATH
7542                     give the path to hsc2hs
7543
7544              --with-hscolour PATH
7545                     give the path to hscolour
7546
7547              --with-jhc PATH
7548                     give the path to jhc
7549
7550              --with-ld PATH
7551                     give the path to ld
7552
7553              --with-pkg-config PATH
7554                     give the path to pkg-config
7555
7556              --with-runghc PATH
7557                     give the path to runghc
7558
7559              --with-strip PATH
7560                     give the path to strip
7561
7562              --with-tar PATH
7563                     give the path to tar
7564
7565              --with-uhc PATH
7566                     give the path to uhc
7567
7568              --alex-option OPT
7569                     give  an  extra  option to alex (no need to quote options
7570                     containing spaces)
7571
7572              --ar-option OPT
7573                     give an extra option to ar (no need to quote options con‐
7574                     taining spaces)
7575
7576              --c2hs-option OPT
7577                     give  an  extra  option to c2hs (no need to quote options
7578                     containing spaces)
7579
7580              --cpphs-option OPT
7581                     give an extra option to cpphs (no need to  quote  options
7582                     containing spaces)
7583
7584              --doctest-option OPT
7585                     give an extra option to doctest (no need to quote options
7586                     containing spaces)
7587
7588              --gcc-option OPT
7589                     give an extra option to gcc (no  need  to  quote  options
7590                     containing spaces)
7591
7592              --ghc-option OPT
7593                     give  an  extra  option  to ghc (no need to quote options
7594                     containing spaces)
7595
7596              --ghc-pkg-option OPT
7597                     give an extra option to ghc-pkg (no need to quote options
7598                     containing spaces)
7599
7600              --ghcjs-option OPT
7601                     give  an  extra option to ghcjs (no need to quote options
7602                     containing spaces)
7603
7604              --ghcjs-pkg-option OPT
7605                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
7606                     options containing spaces)
7607
7608              --greencard-option OPT
7609                     give  an  extra  option  to  greencard  (no need to quote
7610                     options containing spaces)
7611
7612              --haddock-option OPT
7613                     give an extra option to haddock (no need to quote options
7614                     containing spaces)
7615
7616              --happy-option OPT
7617                     give  an  extra option to happy (no need to quote options
7618                     containing spaces)
7619
7620              --haskell-suite-option OPT
7621                     give an extra option to haskell-suite (no need  to  quote
7622                     options containing spaces)
7623
7624              --haskell-suite-pkg-option OPT
7625                     give  an  extra  option  to haskell-suite-pkg (no need to
7626                     quote options containing spaces)
7627
7628              --hmake-option OPT
7629                     give an extra option to hmake (no need to  quote  options
7630                     containing spaces)
7631
7632              --hpc-option OPT
7633                     give  an  extra  option  to hpc (no need to quote options
7634                     containing spaces)
7635
7636              --hsc2hs-option OPT
7637                     give an extra option to hsc2hs (no need to quote  options
7638                     containing spaces)
7639
7640              --hscolour-option OPT
7641                     give  an  extra  option  to  hscolour  (no  need to quote
7642                     options containing spaces)
7643
7644              --jhc-option OPT
7645                     give an extra option to jhc (no  need  to  quote  options
7646                     containing spaces)
7647
7648              --ld-option OPT
7649                     give an extra option to ld (no need to quote options con‐
7650                     taining spaces)
7651
7652              --pkg-config-option OPT
7653                     give an extra option to  pkg-config  (no  need  to  quote
7654                     options containing spaces)
7655
7656              --runghc-option OPT
7657                     give  an extra option to runghc (no need to quote options
7658                     containing spaces)
7659
7660              --strip-option OPT
7661                     give an extra option to strip (no need to  quote  options
7662                     containing spaces)
7663
7664              --tar-option OPT
7665                     give  an  extra  option  to tar (no need to quote options
7666                     containing spaces)
7667
7668              --uhc-option OPT
7669                     give an extra option to uhc (no  need  to  quote  options
7670                     containing spaces)
7671
7672              --alex-options OPTS
7673                     give extra options to alex
7674
7675              --ar-options OPTS
7676                     give extra options to ar
7677
7678              --c2hs-options OPTS
7679                     give extra options to c2hs
7680
7681              --cpphs-options OPTS
7682                     give extra options to cpphs
7683
7684              --doctest-options OPTS
7685                     give extra options to doctest
7686
7687              --gcc-options OPTS
7688                     give extra options to gcc
7689
7690              --ghc-options OPTS
7691                     give extra options to ghc
7692
7693              --ghc-pkg-options OPTS
7694                     give extra options to ghc-pkg
7695
7696              --ghcjs-options OPTS
7697                     give extra options to ghcjs
7698
7699              --ghcjs-pkg-options OPTS
7700                     give extra options to ghcjs-pkg
7701
7702              --greencard-options OPTS
7703                     give extra options to greencard
7704
7705              --haddock-options OPTS
7706                     give extra options to haddock
7707
7708              --happy-options OPTS
7709                     give extra options to happy
7710
7711              --haskell-suite-options OPTS
7712                     give extra options to haskell-suite
7713
7714              --haskell-suite-pkg-options OPTS
7715                     give extra options to haskell-suite-pkg
7716
7717              --hmake-options OPTS
7718                     give extra options to hmake
7719
7720              --hpc-options OPTS
7721                     give extra options to hpc
7722
7723              --hsc2hs-options OPTS
7724                     give extra options to hsc2hs
7725
7726              --hscolour-options OPTS
7727                     give extra options to hscolour
7728
7729              --jhc-options OPTS
7730                     give extra options to jhc
7731
7732              --ld-options OPTS
7733                     give extra options to ld
7734
7735              --pkg-config-options OPTS
7736                     give extra options to pkg-config
7737
7738              --runghc-options OPTS
7739                     give extra options to runghc
7740
7741              --strip-options OPTS
7742                     give extra options to strip
7743
7744              --tar-options OPTS
7745                     give extra options to tar
7746
7747              --uhc-options OPTS
7748                     give extra options to uhc
7749
7750              --cabal-lib-version VERSION
7751                     Select  which  version  of  the Cabal lib to use to build
7752                     packages (useful for testing).
7753
7754              --constraint CONSTRAINT
7755                     Specify    constraints    on    a    package    (version,
7756                     installed/source, flags)
7757
7758              --preference CONSTRAINT
7759                     Specify  preferences (soft constraints) on the version of
7760                     a package
7761
7762              --solver SOLVER
7763                     Select  dependency  solver  to  use  (default:  modular).
7764                     Choices: modular.
7765
7766              --allow-older [DEPS]
7767                     Ignore lower bounds in all dependencies or DEPS
7768
7769              --allow-newer [DEPS]
7770                     Ignore upper bounds in all dependencies or DEPS
7771
7772              --enable-documentation
7773              --disable-documentation
7774                     building of documentation
7775
7776              --doc-index-file TEMPLATE
7777                     A  central  index  of haddock API documentation (template
7778                     cannot use $pkgid)
7779
7780              --dry-run
7781                     Do  not  install  anything,  only  print  what  would  be
7782                     installed.
7783
7784              --max-backjumps NUM
7785                     Maximum   number   of  backjumps  allowed  while  solving
7786                     (default: 2000). Use a negative number to  enable  unlim‐
7787                     ited  backtracking.  Use  0  to disable backtracking com‐
7788                     pletely.
7789
7790              --reorder-goals
7791              --no-reorder-goals
7792                     Try to reorder goals  according  to  certain  heuristics.
7793                     Slows  things  down on average, but may make backtracking
7794                     faster for some packages.
7795
7796              --count-conflicts
7797              --no-count-conflicts
7798                     Try to speed up solving  by  preferring  goals  that  are
7799                     involved in a lot of conflicts (default).
7800
7801              --independent-goals
7802              --no-independent-goals
7803                     Treat  several  goals on the command line as independent.
7804                     If several goals depend on the  same  package,  different
7805                     versions can be chosen.
7806
7807              --shadow-installed-packages
7808              --no-shadow-installed-packages
7809                     If  multiple  package  instances  of the same version are
7810                     installed, treat all but one as shadowed.
7811
7812              --strong-flags
7813              --no-strong-flags
7814                     Do not defer flag choices (this used to be the default in
7815                     cabal-install <= 1.20).
7816
7817              --allow-boot-library-installs
7818              --no-allow-boot-library-installs
7819                     Allow  cabal  to  install base, ghc-prim, integer-simple,
7820                     integer-gmp, and template-haskell.
7821
7822              --reinstall
7823              --no-reinstall
7824                     Install even if it  means  installing  the  same  version
7825                     again.
7826
7827              --avoid-reinstalls
7828              --no-avoid-reinstalls
7829                     Do not select versions that would destructively overwrite
7830                     installed packages.
7831
7832              --force-reinstalls
7833              --no-force-reinstalls
7834                     Reinstall packages even if they will  most  likely  break
7835                     other installed packages.
7836
7837              --upgrade-dependencies
7838              --no-upgrade-dependencies
7839                     Pick the latest version for all dependencies, rather than
7840                     trying to pick an installed version.
7841
7842              --only-dependencies
7843              --no-only-dependencies
7844                     Install only the  dependencies  necessary  to  build  the
7845                     given packages
7846
7847              --dependencies-only
7848              --no-dependencies-only
7849                     A synonym for --only-dependencies
7850
7851              --index-state STATE
7852                     Use  source package index state as it existed at a previ‐
7853                     ous time. Accepts unix-timestamps  (e.g.  '@1474732068'),
7854                     ISO8601  UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or
7855                     'HEAD' (default: 'HEAD').
7856
7857              --root-cmd COMMAND
7858                     (No longer supported, do not use.)
7859
7860              --symlink-bindir DIR
7861                     Add symlinks to installed executables  into  this  direc‐
7862                     tory.
7863
7864              --build-summary TEMPLATE
7865                     Save  build  summaries  to  file  (name  template can use
7866                     $pkgid, $compiler, $os, $arch)
7867
7868              --build-log TEMPLATE
7869                     Log all builds to file (name  template  can  use  $pkgid,
7870                     $compiler, $os, $arch)
7871
7872              --remote-build-reporting LEVEL
7873                     Generate  build reports to send to a remote server (none,
7874                     anonymous or detailed).
7875
7876              --report-planning-failure
7877                     Generate build reports when the dependency solver  fails.
7878                     This is used by the Hackage build bot.
7879
7880              --enable-per-component
7881              --disable-per-component
7882                     Per-component builds when possible
7883
7884              --one-shot
7885              --no-one-shot
7886                     Do not record the packages in the world file.
7887
7888              --run-tests
7889                     Run package test suites during installation.
7890
7891              -j, --jobs [NUM]
7892                     Run  NUM  jobs  simultaneously  (or '$ncpus' if no NUM is
7893                     given).
7894
7895              --keep-going
7896                     After a build failure, continue to build other unaffected
7897                     packages.
7898
7899              --offline
7900              --no-offline
7901                     Don't download packages from the Internet.
7902
7903              --project-file FILE
7904                     Set  the  name of the cabal.project file to search for in
7905                     parent directories
7906
7907              --only
7908                     Only installs the package in the current directory.
7909
7910              --haddock-hoogle
7911                     Generate a hoogle database
7912
7913              --haddock-html
7914                     Generate HTML documentation (the default)
7915
7916              --haddock-html-location URL
7917                     Location of HTML documentation for pre-requisite packages
7918
7919              --haddock-for-hackage
7920                     Collection of flags to  generate  documentation  suitable
7921                     for upload to hackage
7922
7923              --haddock-executables
7924                     Run haddock for Executables targets
7925
7926              --haddock-tests
7927                     Run haddock for Test Suite targets
7928
7929              --haddock-benchmarks
7930                     Run haddock for Benchmark targets
7931
7932              --haddock-all
7933                     Run haddock for all targets
7934
7935              --haddock-internal
7936                     Run haddock for internal modules and include all symbols
7937
7938              --haddock-css PATH
7939                     Use PATH as the haddock stylesheet
7940
7941              --haddock-hyperlink-source,  --haddock-hyperlink-sources, --had‐
7942              dock-hyperlinked-source
7943                     Hyperlink the documentation to the source code
7944
7945              --haddock-quickjump
7946                     Generate an index for interactive  documentation  naviga‐
7947                     tion
7948
7949              --haddock-hscolour-css PATH
7950                     Use PATH as the HsColour stylesheet
7951
7952              --haddock-contents-location URL
7953                     Bake URL in as the location for the contents page
7954
7955
7956       cabal v2-haddock
7957
7958       Usage: cabal v2-haddock [FLAGS] TARGET
7959
7960
7961       Build  Haddock  documentation  for  the  specified  packages within the
7962       project.
7963
7964       Any package in the project can be specified. If no  package  is  speci‐
7965       fied,  the default is to build the documentation for the package in the
7966       current directory. The default behaviour is to build documentation  for
7967       the  exposed  modules  of  the  library component (if any). This can be
7968       changed with the
7969
7970       Currently, documentation for dependencies is NOT built.  This  behavior
7971       may change in future.
7972
7973       Additional configuration flags can be specified on the command line and
7974       these extend the project configuration from the 'cabal.project',
7975
7976
7977       Build Haddock documentation  for  the  specified  packages  within  the
7978       project.
7979
7980       Any  package  in  the project can be specified. If no package is speci‐
7981       fied, the default is to build the documentation for the package in  the
7982       current  directory. The default behaviour is to build documentation for
7983       the exposed modules of the library component  (if  any).  This  can  be
7984       changed with the
7985
7986       Currently,  documentation  for dependencies is NOT built. This behavior
7987       may change in future.
7988
7989       Additional configuration flags can be specified on the command line and
7990       these extend the project configuration from the 'cabal.project',
7991
7992
7993       Flags:
7994              -v, --verbose [n]
7995                     Control  verbosity (n is 0--3, default verbosity level is
7996                     1)
7997
7998              --builddir, --distdir, --distpref DIR
7999                     The directory where  Cabal  puts  generated  build  files
8000                     (default dist)
8001
8002              -g, --ghc
8003                     compile with GHC
8004
8005              --ghcjs
8006                     compile with GHCJS
8007
8008              --uhc
8009                     compile with UHC
8010
8011              --haskell-suite
8012                     compile with a haskell-suite compiler
8013
8014              --cabal-file PATH
8015                     use this Cabal file
8016
8017              -w, --with-compiler PATH
8018                     give the path to a particular compiler
8019
8020              --with-hc-pkg PATH
8021                     give the path to the package tool
8022
8023              --prefix DIR
8024                     bake this prefix in preparation of installation
8025
8026              --bindir DIR
8027                     installation directory for executables
8028
8029              --libdir DIR
8030                     installation directory for libraries
8031
8032              --libsubdir DIR
8033                     subdirectory of libdir in which libs are installed
8034
8035              --dynlibdir DIR
8036                     installation directory for dynamic libraries
8037
8038              --libexecdir DIR
8039                     installation directory for program executables
8040
8041              --libexecsubdir DIR
8042                     subdirectory  of  libexecdir in which private executables
8043                     are installed
8044
8045              --datadir DIR
8046                     installation directory for read-only data
8047
8048              --datasubdir DIR
8049                     subdirectory of datadir in which data files are installed
8050
8051              --docdir DIR
8052                     installation directory for documentation
8053
8054              --htmldir DIR
8055                     installation directory for HTML documentation
8056
8057              --haddockdir DIR
8058                     installation directory for haddock interfaces
8059
8060              --sysconfdir DIR
8061                     installation directory for configuration files
8062
8063              --program-prefix PREFIX
8064                     prefix to be applied to installed executables
8065
8066              --program-suffix SUFFIX
8067                     suffix to be applied to installed executables
8068
8069              --enable-library-vanilla
8070              --disable-library-vanilla
8071                     Vanilla libraries
8072
8073              -p, --enable-library-profiling
8074              --disable-library-profiling
8075                     Library profiling
8076
8077              --enable-shared
8078              --disable-shared
8079                     Shared library
8080
8081              --enable-static
8082              --disable-static
8083                     Static library
8084
8085              --enable-executable-dynamic
8086              --disable-executable-dynamic
8087                     Executable dynamic linking
8088
8089              --enable-profiling
8090              --disable-profiling
8091                     Executable and library profiling
8092
8093              --enable-executable-profiling
8094              --disable-executable-profiling
8095                     Executable profiling (DEPRECATED)
8096
8097              --profiling-detail level
8098                     Profiling  detail  level  for  executable   and   library
8099                     (default,  none,  exported-functions, toplevel-functions,
8100                     all-functions).
8101
8102              --library-profiling-detail level
8103                     Profiling detail level for libraries only.
8104
8105              -O, --enable-optimization, --enable-optimisation [n]
8106                     Build with optimization (n is 0--2, default is 1)
8107
8108              --disable-optimization, --disable-optimisation
8109                     Build without optimization
8110
8111              --enable-debug-info [n]
8112                     Emit debug info (n is 0--3, default is 0)
8113
8114              --disable-debug-info
8115                     Don't emit debug info
8116
8117              --enable-library-for-ghci
8118              --disable-library-for-ghci
8119                     compile library for use with GHCi
8120
8121              --enable-split-sections
8122              --disable-split-sections
8123                     compile library code such that unneeded  definitions  can
8124                     be dropped from the final executable (GHC 7.8+)
8125
8126              --enable-split-objs
8127              --disable-split-objs
8128                     split library into smaller objects to reduce binary sizes
8129                     (GHC 6.6+)
8130
8131              --enable-executable-stripping
8132              --disable-executable-stripping
8133                     strip executables  upon  installation  to  reduce  binary
8134                     sizes
8135
8136              --enable-library-stripping
8137              --disable-library-stripping
8138                     strip libraries upon installation to reduce binary sizes
8139
8140              --configure-option OPT
8141                     Extra option for configure
8142
8143              --user
8144              --global
8145                     doing a per-user installation
8146
8147              --package-db DB
8148                     Append  the given package database to the list of package
8149                     databases used  (to  satisfy  dependencies  and  register
8150                     into).  May  be  a specific file, 'global' or 'user'. The
8151                     initial  list  is  ['global'],  ['global',  'user'],   or
8152                     ['global',  $sandbox],  depending on context. Use 'clear'
8153                     to reset the list  to  empty.  See  the  user  guide  for
8154                     details.
8155
8156              -f, --flags FLAGS
8157                     Force values for the given flags in Cabal conditionals in
8158                     the .cabal file.  E.g.,  --flags="debug  -usebytestrings"
8159                     forces  the  flag "debug" to true and "usebytestrings" to
8160                     false.
8161
8162              --extra-include-dirs PATH
8163                     A list of directories to search for header files
8164
8165              --enable-deterministic
8166              --disable-deterministic
8167                     Try to be as deterministic as possible (used by the  test
8168                     suite)
8169
8170              --ipid IPID
8171                     Installed package ID to compile this package as
8172
8173              --cid CID
8174                     Installed component ID to compile this component as
8175
8176              --extra-lib-dirs PATH
8177                     A list of directories to search for external libraries
8178
8179              --extra-framework-dirs PATH
8180                     A  list  of directories to search for external frameworks
8181                     (OS X only)
8182
8183              --extra-prog-path PATH
8184                     A list of directories to search for required programs (in
8185                     addition to the normal search locations)
8186
8187              --instantiate-with NAME=MOD
8188                     A mapping of signature names to concrete module instanti‐
8189                     ations.
8190
8191              --enable-tests
8192              --disable-tests
8193                     dependency  checking  and  compilation  for  test  suites
8194                     listed in the package description file.
8195
8196              --enable-coverage
8197              --disable-coverage
8198                     build package with Haskell Program Coverage. (GHC only)
8199
8200              --enable-library-coverage
8201              --disable-library-coverage
8202                     build  package  with Haskell Program Coverage. (GHC only)
8203                     (DEPRECATED)
8204
8205              --enable-benchmarks
8206              --disable-benchmarks
8207                     dependency checking and compilation for benchmarks listed
8208                     in the package description file.
8209
8210              --enable-relocatable
8211              --disable-relocatable
8212                     building a package that is relocatable. (GHC only)
8213
8214              --disable-response-files
8215                     enable  workaround for old versions of programs like "ar"
8216                     that do not support @file arguments
8217
8218              --with-alex PATH
8219                     give the path to alex
8220
8221              --with-ar PATH
8222                     give the path to ar
8223
8224              --with-c2hs PATH
8225                     give the path to c2hs
8226
8227              --with-cpphs PATH
8228                     give the path to cpphs
8229
8230              --with-doctest PATH
8231                     give the path to doctest
8232
8233              --with-gcc PATH
8234                     give the path to gcc
8235
8236              --with-ghc PATH
8237                     give the path to ghc
8238
8239              --with-ghc-pkg PATH
8240                     give the path to ghc-pkg
8241
8242              --with-ghcjs PATH
8243                     give the path to ghcjs
8244
8245              --with-ghcjs-pkg PATH
8246                     give the path to ghcjs-pkg
8247
8248              --with-greencard PATH
8249                     give the path to greencard
8250
8251              --with-haddock PATH
8252                     give the path to haddock
8253
8254              --with-happy PATH
8255                     give the path to happy
8256
8257              --with-haskell-suite PATH
8258                     give the path to haskell-suite
8259
8260              --with-haskell-suite-pkg PATH
8261                     give the path to haskell-suite-pkg
8262
8263              --with-hmake PATH
8264                     give the path to hmake
8265
8266              --with-hpc PATH
8267                     give the path to hpc
8268
8269              --with-hsc2hs PATH
8270                     give the path to hsc2hs
8271
8272              --with-hscolour PATH
8273                     give the path to hscolour
8274
8275              --with-jhc PATH
8276                     give the path to jhc
8277
8278              --with-ld PATH
8279                     give the path to ld
8280
8281              --with-pkg-config PATH
8282                     give the path to pkg-config
8283
8284              --with-runghc PATH
8285                     give the path to runghc
8286
8287              --with-strip PATH
8288                     give the path to strip
8289
8290              --with-tar PATH
8291                     give the path to tar
8292
8293              --with-uhc PATH
8294                     give the path to uhc
8295
8296              --alex-option OPT
8297                     give an extra option to alex (no need  to  quote  options
8298                     containing spaces)
8299
8300              --ar-option OPT
8301                     give an extra option to ar (no need to quote options con‐
8302                     taining spaces)
8303
8304              --c2hs-option OPT
8305                     give an extra option to c2hs (no need  to  quote  options
8306                     containing spaces)
8307
8308              --cpphs-option OPT
8309                     give  an  extra option to cpphs (no need to quote options
8310                     containing spaces)
8311
8312              --doctest-option OPT
8313                     give an extra option to doctest (no need to quote options
8314                     containing spaces)
8315
8316              --gcc-option OPT
8317                     give  an  extra  option  to gcc (no need to quote options
8318                     containing spaces)
8319
8320              --ghc-option OPT
8321                     give an extra option to ghc (no  need  to  quote  options
8322                     containing spaces)
8323
8324              --ghc-pkg-option OPT
8325                     give an extra option to ghc-pkg (no need to quote options
8326                     containing spaces)
8327
8328              --ghcjs-option OPT
8329                     give an extra option to ghcjs (no need to  quote  options
8330                     containing spaces)
8331
8332              --ghcjs-pkg-option OPT
8333                     give  an  extra  option  to  ghcjs-pkg  (no need to quote
8334                     options containing spaces)
8335
8336              --greencard-option OPT
8337                     give an extra option  to  greencard  (no  need  to  quote
8338                     options containing spaces)
8339
8340              --haddock-option OPT
8341                     give an extra option to haddock (no need to quote options
8342                     containing spaces)
8343
8344              --happy-option OPT
8345                     give an extra option to happy (no need to  quote  options
8346                     containing spaces)
8347
8348              --haskell-suite-option OPT
8349                     give  an  extra option to haskell-suite (no need to quote
8350                     options containing spaces)
8351
8352              --haskell-suite-pkg-option OPT
8353                     give an extra option to  haskell-suite-pkg  (no  need  to
8354                     quote options containing spaces)
8355
8356              --hmake-option OPT
8357                     give  an  extra option to hmake (no need to quote options
8358                     containing spaces)
8359
8360              --hpc-option OPT
8361                     give an extra option to hpc (no  need  to  quote  options
8362                     containing spaces)
8363
8364              --hsc2hs-option OPT
8365                     give  an extra option to hsc2hs (no need to quote options
8366                     containing spaces)
8367
8368              --hscolour-option OPT
8369                     give an extra  option  to  hscolour  (no  need  to  quote
8370                     options containing spaces)
8371
8372              --jhc-option OPT
8373                     give  an  extra  option  to jhc (no need to quote options
8374                     containing spaces)
8375
8376              --ld-option OPT
8377                     give an extra option to ld (no need to quote options con‐
8378                     taining spaces)
8379
8380              --pkg-config-option OPT
8381                     give  an  extra  option  to  pkg-config (no need to quote
8382                     options containing spaces)
8383
8384              --runghc-option OPT
8385                     give an extra option to runghc (no need to quote  options
8386                     containing spaces)
8387
8388              --strip-option OPT
8389                     give  an  extra option to strip (no need to quote options
8390                     containing spaces)
8391
8392              --tar-option OPT
8393                     give an extra option to tar (no  need  to  quote  options
8394                     containing spaces)
8395
8396              --uhc-option OPT
8397                     give  an  extra  option  to uhc (no need to quote options
8398                     containing spaces)
8399
8400              --alex-options OPTS
8401                     give extra options to alex
8402
8403              --ar-options OPTS
8404                     give extra options to ar
8405
8406              --c2hs-options OPTS
8407                     give extra options to c2hs
8408
8409              --cpphs-options OPTS
8410                     give extra options to cpphs
8411
8412              --doctest-options OPTS
8413                     give extra options to doctest
8414
8415              --gcc-options OPTS
8416                     give extra options to gcc
8417
8418              --ghc-options OPTS
8419                     give extra options to ghc
8420
8421              --ghc-pkg-options OPTS
8422                     give extra options to ghc-pkg
8423
8424              --ghcjs-options OPTS
8425                     give extra options to ghcjs
8426
8427              --ghcjs-pkg-options OPTS
8428                     give extra options to ghcjs-pkg
8429
8430              --greencard-options OPTS
8431                     give extra options to greencard
8432
8433              --haddock-options OPTS
8434                     give extra options to haddock
8435
8436              --happy-options OPTS
8437                     give extra options to happy
8438
8439              --haskell-suite-options OPTS
8440                     give extra options to haskell-suite
8441
8442              --haskell-suite-pkg-options OPTS
8443                     give extra options to haskell-suite-pkg
8444
8445              --hmake-options OPTS
8446                     give extra options to hmake
8447
8448              --hpc-options OPTS
8449                     give extra options to hpc
8450
8451              --hsc2hs-options OPTS
8452                     give extra options to hsc2hs
8453
8454              --hscolour-options OPTS
8455                     give extra options to hscolour
8456
8457              --jhc-options OPTS
8458                     give extra options to jhc
8459
8460              --ld-options OPTS
8461                     give extra options to ld
8462
8463              --pkg-config-options OPTS
8464                     give extra options to pkg-config
8465
8466              --runghc-options OPTS
8467                     give extra options to runghc
8468
8469              --strip-options OPTS
8470                     give extra options to strip
8471
8472              --tar-options OPTS
8473                     give extra options to tar
8474
8475              --uhc-options OPTS
8476                     give extra options to uhc
8477
8478              --cabal-lib-version VERSION
8479                     Select which version of the Cabal lib  to  use  to  build
8480                     packages (useful for testing).
8481
8482              --constraint CONSTRAINT
8483                     Specify    constraints    on    a    package    (version,
8484                     installed/source, flags)
8485
8486              --preference CONSTRAINT
8487                     Specify preferences (soft constraints) on the version  of
8488                     a package
8489
8490              --solver SOLVER
8491                     Select  dependency  solver  to  use  (default:  modular).
8492                     Choices: modular.
8493
8494              --allow-older [DEPS]
8495                     Ignore lower bounds in all dependencies or DEPS
8496
8497              --allow-newer [DEPS]
8498                     Ignore upper bounds in all dependencies or DEPS
8499
8500              --enable-documentation
8501              --disable-documentation
8502                     building of documentation
8503
8504              --doc-index-file TEMPLATE
8505                     A central index of haddock  API  documentation  (template
8506                     cannot use $pkgid)
8507
8508              --dry-run
8509                     Do  not  install  anything,  only  print  what  would  be
8510                     installed.
8511
8512              --max-backjumps NUM
8513                     Maximum  number  of  backjumps  allowed   while   solving
8514                     (default:  2000).  Use a negative number to enable unlim‐
8515                     ited backtracking. Use 0  to  disable  backtracking  com‐
8516                     pletely.
8517
8518              --reorder-goals
8519              --no-reorder-goals
8520                     Try  to  reorder  goals  according to certain heuristics.
8521                     Slows things down on average, but may  make  backtracking
8522                     faster for some packages.
8523
8524              --count-conflicts
8525              --no-count-conflicts
8526                     Try  to  speed  up  solving  by preferring goals that are
8527                     involved in a lot of conflicts (default).
8528
8529              --independent-goals
8530              --no-independent-goals
8531                     Treat several goals on the command line  as  independent.
8532                     If  several  goals  depend on the same package, different
8533                     versions can be chosen.
8534
8535              --shadow-installed-packages
8536              --no-shadow-installed-packages
8537                     If multiple package instances of  the  same  version  are
8538                     installed, treat all but one as shadowed.
8539
8540              --strong-flags
8541              --no-strong-flags
8542                     Do not defer flag choices (this used to be the default in
8543                     cabal-install <= 1.20).
8544
8545              --allow-boot-library-installs
8546              --no-allow-boot-library-installs
8547                     Allow cabal to install  base,  ghc-prim,  integer-simple,
8548                     integer-gmp, and template-haskell.
8549
8550              --reinstall
8551              --no-reinstall
8552                     Install  even  if  it  means  installing the same version
8553                     again.
8554
8555              --avoid-reinstalls
8556              --no-avoid-reinstalls
8557                     Do not select versions that would destructively overwrite
8558                     installed packages.
8559
8560              --force-reinstalls
8561              --no-force-reinstalls
8562                     Reinstall  packages  even  if they will most likely break
8563                     other installed packages.
8564
8565              --upgrade-dependencies
8566              --no-upgrade-dependencies
8567                     Pick the latest version for all dependencies, rather than
8568                     trying to pick an installed version.
8569
8570              --only-dependencies
8571              --no-only-dependencies
8572                     Install  only  the  dependencies  necessary  to build the
8573                     given packages
8574
8575              --dependencies-only
8576              --no-dependencies-only
8577                     A synonym for --only-dependencies
8578
8579              --index-state STATE
8580                     Use source package index state as it existed at a  previ‐
8581                     ous  time.  Accepts unix-timestamps (e.g. '@1474732068'),
8582                     ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'),  or
8583                     'HEAD' (default: 'HEAD').
8584
8585              --root-cmd COMMAND
8586                     (No longer supported, do not use.)
8587
8588              --symlink-bindir DIR
8589                     Add  symlinks  to  installed executables into this direc‐
8590                     tory.
8591
8592              --build-summary TEMPLATE
8593                     Save build summaries  to  file  (name  template  can  use
8594                     $pkgid, $compiler, $os, $arch)
8595
8596              --build-log TEMPLATE
8597                     Log  all  builds  to  file (name template can use $pkgid,
8598                     $compiler, $os, $arch)
8599
8600              --remote-build-reporting LEVEL
8601                     Generate build reports to send to a remote server  (none,
8602                     anonymous or detailed).
8603
8604              --report-planning-failure
8605                     Generate  build reports when the dependency solver fails.
8606                     This is used by the Hackage build bot.
8607
8608              --enable-per-component
8609              --disable-per-component
8610                     Per-component builds when possible
8611
8612              --one-shot
8613              --no-one-shot
8614                     Do not record the packages in the world file.
8615
8616              --run-tests
8617                     Run package test suites during installation.
8618
8619              -j, --jobs [NUM]
8620                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
8621                     given).
8622
8623              --keep-going
8624                     After a build failure, continue to build other unaffected
8625                     packages.
8626
8627              --offline
8628              --no-offline
8629                     Don't download packages from the Internet.
8630
8631              --project-file FILE
8632                     Set the name of the cabal.project file to search  for  in
8633                     parent directories
8634
8635              --only
8636                     Only installs the package in the current directory.
8637
8638              --haddock-hoogle
8639                     Generate a hoogle database
8640
8641              --haddock-html
8642                     Generate HTML documentation (the default)
8643
8644              --haddock-html-location URL
8645                     Location of HTML documentation for pre-requisite packages
8646
8647              --haddock-for-hackage
8648                     Collection  of  flags  to generate documentation suitable
8649                     for upload to hackage
8650
8651              --haddock-executables
8652                     Run haddock for Executables targets
8653
8654              --haddock-tests
8655                     Run haddock for Test Suite targets
8656
8657              --haddock-benchmarks
8658                     Run haddock for Benchmark targets
8659
8660              --haddock-all
8661                     Run haddock for all targets
8662
8663              --haddock-internal
8664                     Run haddock for internal modules and include all symbols
8665
8666              --haddock-css PATH
8667                     Use PATH as the haddock stylesheet
8668
8669              --haddock-hyperlink-source, --haddock-hyperlink-sources,  --had‐
8670              dock-hyperlinked-source
8671                     Hyperlink the documentation to the source code
8672
8673              --haddock-quickjump
8674                     Generate  an  index for interactive documentation naviga‐
8675                     tion
8676
8677              --haddock-hscolour-css PATH
8678                     Use PATH as the HsColour stylesheet
8679
8680              --haddock-contents-location URL
8681                     Bake URL in as the location for the contents page
8682
8683
8684       cabal new-haddock
8685
8686       Usage: cabal new-haddock [FLAGS] TARGET
8687
8688
8689       Build Haddock documentation  for  the  specified  packages  within  the
8690       project.
8691
8692       Any  package  in  the project can be specified. If no package is speci‐
8693       fied, the default is to build the documentation for the package in  the
8694       current  directory. The default behaviour is to build documentation for
8695       the exposed modules of the library component  (if  any).  This  can  be
8696       changed with the
8697
8698       Currently,  documentation  for dependencies is NOT built. This behavior
8699       may change in future.
8700
8701       Additional configuration flags can be specified on the command line and
8702       these extend the project configuration from the 'cabal.project',
8703
8704
8705       Examples:
8706         cabal  new-haddock  pkgname     Build  documentation  for the package
8707       named pkgname
8708
8709       Note: this command is part of the new project-based  system  (aka  nix-
8710       style  local  builds). These features are currently in beta. Please see
8711       http://cabal.readthedocs.io/en/latest/nix-local-build-overview.html for
8712       details  and  advice  on  what you can expect to work. If you encounter
8713       problems please file issues at  https://github.com/haskell/cabal/issues
8714       and  if you have any time to get involved and help with testing, fixing
8715       bugs etc then that is very much appreciated.
8716
8717
8718       Flags:
8719              -v, --verbose [n]
8720                     Control verbosity (n is 0--3, default verbosity level  is
8721                     1)
8722
8723              --builddir, --distdir, --distpref DIR
8724                     The  directory  where  Cabal  puts  generated build files
8725                     (default dist)
8726
8727              -g, --ghc
8728                     compile with GHC
8729
8730              --ghcjs
8731                     compile with GHCJS
8732
8733              --uhc
8734                     compile with UHC
8735
8736              --haskell-suite
8737                     compile with a haskell-suite compiler
8738
8739              --cabal-file PATH
8740                     use this Cabal file
8741
8742              -w, --with-compiler PATH
8743                     give the path to a particular compiler
8744
8745              --with-hc-pkg PATH
8746                     give the path to the package tool
8747
8748              --prefix DIR
8749                     bake this prefix in preparation of installation
8750
8751              --bindir DIR
8752                     installation directory for executables
8753
8754              --libdir DIR
8755                     installation directory for libraries
8756
8757              --libsubdir DIR
8758                     subdirectory of libdir in which libs are installed
8759
8760              --dynlibdir DIR
8761                     installation directory for dynamic libraries
8762
8763              --libexecdir DIR
8764                     installation directory for program executables
8765
8766              --libexecsubdir DIR
8767                     subdirectory of libexecdir in which  private  executables
8768                     are installed
8769
8770              --datadir DIR
8771                     installation directory for read-only data
8772
8773              --datasubdir DIR
8774                     subdirectory of datadir in which data files are installed
8775
8776              --docdir DIR
8777                     installation directory for documentation
8778
8779              --htmldir DIR
8780                     installation directory for HTML documentation
8781
8782              --haddockdir DIR
8783                     installation directory for haddock interfaces
8784
8785              --sysconfdir DIR
8786                     installation directory for configuration files
8787
8788              --program-prefix PREFIX
8789                     prefix to be applied to installed executables
8790
8791              --program-suffix SUFFIX
8792                     suffix to be applied to installed executables
8793
8794              --enable-library-vanilla
8795              --disable-library-vanilla
8796                     Vanilla libraries
8797
8798              -p, --enable-library-profiling
8799              --disable-library-profiling
8800                     Library profiling
8801
8802              --enable-shared
8803              --disable-shared
8804                     Shared library
8805
8806              --enable-static
8807              --disable-static
8808                     Static library
8809
8810              --enable-executable-dynamic
8811              --disable-executable-dynamic
8812                     Executable dynamic linking
8813
8814              --enable-profiling
8815              --disable-profiling
8816                     Executable and library profiling
8817
8818              --enable-executable-profiling
8819              --disable-executable-profiling
8820                     Executable profiling (DEPRECATED)
8821
8822              --profiling-detail level
8823                     Profiling   detail   level  for  executable  and  library
8824                     (default, none,  exported-functions,  toplevel-functions,
8825                     all-functions).
8826
8827              --library-profiling-detail level
8828                     Profiling detail level for libraries only.
8829
8830              -O, --enable-optimization, --enable-optimisation [n]
8831                     Build with optimization (n is 0--2, default is 1)
8832
8833              --disable-optimization, --disable-optimisation
8834                     Build without optimization
8835
8836              --enable-debug-info [n]
8837                     Emit debug info (n is 0--3, default is 0)
8838
8839              --disable-debug-info
8840                     Don't emit debug info
8841
8842              --enable-library-for-ghci
8843              --disable-library-for-ghci
8844                     compile library for use with GHCi
8845
8846              --enable-split-sections
8847              --disable-split-sections
8848                     compile  library  code such that unneeded definitions can
8849                     be dropped from the final executable (GHC 7.8+)
8850
8851              --enable-split-objs
8852              --disable-split-objs
8853                     split library into smaller objects to reduce binary sizes
8854                     (GHC 6.6+)
8855
8856              --enable-executable-stripping
8857              --disable-executable-stripping
8858                     strip  executables  upon  installation  to  reduce binary
8859                     sizes
8860
8861              --enable-library-stripping
8862              --disable-library-stripping
8863                     strip libraries upon installation to reduce binary sizes
8864
8865              --configure-option OPT
8866                     Extra option for configure
8867
8868              --user
8869              --global
8870                     doing a per-user installation
8871
8872              --package-db DB
8873                     Append the given package database to the list of  package
8874                     databases  used  (to  satisfy  dependencies  and register
8875                     into). May be a specific file, 'global'  or  'user'.  The
8876                     initial   list  is  ['global'],  ['global',  'user'],  or
8877                     ['global', $sandbox], depending on context.  Use  'clear'
8878                     to  reset  the  list  to  empty.  See  the user guide for
8879                     details.
8880
8881              -f, --flags FLAGS
8882                     Force values for the given flags in Cabal conditionals in
8883                     the  .cabal  file.  E.g., --flags="debug -usebytestrings"
8884                     forces the flag "debug" to true and  "usebytestrings"  to
8885                     false.
8886
8887              --extra-include-dirs PATH
8888                     A list of directories to search for header files
8889
8890              --enable-deterministic
8891              --disable-deterministic
8892                     Try  to be as deterministic as possible (used by the test
8893                     suite)
8894
8895              --ipid IPID
8896                     Installed package ID to compile this package as
8897
8898              --cid CID
8899                     Installed component ID to compile this component as
8900
8901              --extra-lib-dirs PATH
8902                     A list of directories to search for external libraries
8903
8904              --extra-framework-dirs PATH
8905                     A list of directories to search for  external  frameworks
8906                     (OS X only)
8907
8908              --extra-prog-path PATH
8909                     A list of directories to search for required programs (in
8910                     addition to the normal search locations)
8911
8912              --instantiate-with NAME=MOD
8913                     A mapping of signature names to concrete module instanti‐
8914                     ations.
8915
8916              --enable-tests
8917              --disable-tests
8918                     dependency  checking  and  compilation  for  test  suites
8919                     listed in the package description file.
8920
8921              --enable-coverage
8922              --disable-coverage
8923                     build package with Haskell Program Coverage. (GHC only)
8924
8925              --enable-library-coverage
8926              --disable-library-coverage
8927                     build package with Haskell Program Coverage.  (GHC  only)
8928                     (DEPRECATED)
8929
8930              --enable-benchmarks
8931              --disable-benchmarks
8932                     dependency checking and compilation for benchmarks listed
8933                     in the package description file.
8934
8935              --enable-relocatable
8936              --disable-relocatable
8937                     building a package that is relocatable. (GHC only)
8938
8939              --disable-response-files
8940                     enable workaround for old versions of programs like  "ar"
8941                     that do not support @file arguments
8942
8943              --with-alex PATH
8944                     give the path to alex
8945
8946              --with-ar PATH
8947                     give the path to ar
8948
8949              --with-c2hs PATH
8950                     give the path to c2hs
8951
8952              --with-cpphs PATH
8953                     give the path to cpphs
8954
8955              --with-doctest PATH
8956                     give the path to doctest
8957
8958              --with-gcc PATH
8959                     give the path to gcc
8960
8961              --with-ghc PATH
8962                     give the path to ghc
8963
8964              --with-ghc-pkg PATH
8965                     give the path to ghc-pkg
8966
8967              --with-ghcjs PATH
8968                     give the path to ghcjs
8969
8970              --with-ghcjs-pkg PATH
8971                     give the path to ghcjs-pkg
8972
8973              --with-greencard PATH
8974                     give the path to greencard
8975
8976              --with-haddock PATH
8977                     give the path to haddock
8978
8979              --with-happy PATH
8980                     give the path to happy
8981
8982              --with-haskell-suite PATH
8983                     give the path to haskell-suite
8984
8985              --with-haskell-suite-pkg PATH
8986                     give the path to haskell-suite-pkg
8987
8988              --with-hmake PATH
8989                     give the path to hmake
8990
8991              --with-hpc PATH
8992                     give the path to hpc
8993
8994              --with-hsc2hs PATH
8995                     give the path to hsc2hs
8996
8997              --with-hscolour PATH
8998                     give the path to hscolour
8999
9000              --with-jhc PATH
9001                     give the path to jhc
9002
9003              --with-ld PATH
9004                     give the path to ld
9005
9006              --with-pkg-config PATH
9007                     give the path to pkg-config
9008
9009              --with-runghc PATH
9010                     give the path to runghc
9011
9012              --with-strip PATH
9013                     give the path to strip
9014
9015              --with-tar PATH
9016                     give the path to tar
9017
9018              --with-uhc PATH
9019                     give the path to uhc
9020
9021              --alex-option OPT
9022                     give  an  extra  option to alex (no need to quote options
9023                     containing spaces)
9024
9025              --ar-option OPT
9026                     give an extra option to ar (no need to quote options con‐
9027                     taining spaces)
9028
9029              --c2hs-option OPT
9030                     give  an  extra  option to c2hs (no need to quote options
9031                     containing spaces)
9032
9033              --cpphs-option OPT
9034                     give an extra option to cpphs (no need to  quote  options
9035                     containing spaces)
9036
9037              --doctest-option OPT
9038                     give an extra option to doctest (no need to quote options
9039                     containing spaces)
9040
9041              --gcc-option OPT
9042                     give an extra option to gcc (no  need  to  quote  options
9043                     containing spaces)
9044
9045              --ghc-option OPT
9046                     give  an  extra  option  to ghc (no need to quote options
9047                     containing spaces)
9048
9049              --ghc-pkg-option OPT
9050                     give an extra option to ghc-pkg (no need to quote options
9051                     containing spaces)
9052
9053              --ghcjs-option OPT
9054                     give  an  extra option to ghcjs (no need to quote options
9055                     containing spaces)
9056
9057              --ghcjs-pkg-option OPT
9058                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
9059                     options containing spaces)
9060
9061              --greencard-option OPT
9062                     give  an  extra  option  to  greencard  (no need to quote
9063                     options containing spaces)
9064
9065              --haddock-option OPT
9066                     give an extra option to haddock (no need to quote options
9067                     containing spaces)
9068
9069              --happy-option OPT
9070                     give  an  extra option to happy (no need to quote options
9071                     containing spaces)
9072
9073              --haskell-suite-option OPT
9074                     give an extra option to haskell-suite (no need  to  quote
9075                     options containing spaces)
9076
9077              --haskell-suite-pkg-option OPT
9078                     give  an  extra  option  to haskell-suite-pkg (no need to
9079                     quote options containing spaces)
9080
9081              --hmake-option OPT
9082                     give an extra option to hmake (no need to  quote  options
9083                     containing spaces)
9084
9085              --hpc-option OPT
9086                     give  an  extra  option  to hpc (no need to quote options
9087                     containing spaces)
9088
9089              --hsc2hs-option OPT
9090                     give an extra option to hsc2hs (no need to quote  options
9091                     containing spaces)
9092
9093              --hscolour-option OPT
9094                     give  an  extra  option  to  hscolour  (no  need to quote
9095                     options containing spaces)
9096
9097              --jhc-option OPT
9098                     give an extra option to jhc (no  need  to  quote  options
9099                     containing spaces)
9100
9101              --ld-option OPT
9102                     give an extra option to ld (no need to quote options con‐
9103                     taining spaces)
9104
9105              --pkg-config-option OPT
9106                     give an extra option to  pkg-config  (no  need  to  quote
9107                     options containing spaces)
9108
9109              --runghc-option OPT
9110                     give  an extra option to runghc (no need to quote options
9111                     containing spaces)
9112
9113              --strip-option OPT
9114                     give an extra option to strip (no need to  quote  options
9115                     containing spaces)
9116
9117              --tar-option OPT
9118                     give  an  extra  option  to tar (no need to quote options
9119                     containing spaces)
9120
9121              --uhc-option OPT
9122                     give an extra option to uhc (no  need  to  quote  options
9123                     containing spaces)
9124
9125              --alex-options OPTS
9126                     give extra options to alex
9127
9128              --ar-options OPTS
9129                     give extra options to ar
9130
9131              --c2hs-options OPTS
9132                     give extra options to c2hs
9133
9134              --cpphs-options OPTS
9135                     give extra options to cpphs
9136
9137              --doctest-options OPTS
9138                     give extra options to doctest
9139
9140              --gcc-options OPTS
9141                     give extra options to gcc
9142
9143              --ghc-options OPTS
9144                     give extra options to ghc
9145
9146              --ghc-pkg-options OPTS
9147                     give extra options to ghc-pkg
9148
9149              --ghcjs-options OPTS
9150                     give extra options to ghcjs
9151
9152              --ghcjs-pkg-options OPTS
9153                     give extra options to ghcjs-pkg
9154
9155              --greencard-options OPTS
9156                     give extra options to greencard
9157
9158              --haddock-options OPTS
9159                     give extra options to haddock
9160
9161              --happy-options OPTS
9162                     give extra options to happy
9163
9164              --haskell-suite-options OPTS
9165                     give extra options to haskell-suite
9166
9167              --haskell-suite-pkg-options OPTS
9168                     give extra options to haskell-suite-pkg
9169
9170              --hmake-options OPTS
9171                     give extra options to hmake
9172
9173              --hpc-options OPTS
9174                     give extra options to hpc
9175
9176              --hsc2hs-options OPTS
9177                     give extra options to hsc2hs
9178
9179              --hscolour-options OPTS
9180                     give extra options to hscolour
9181
9182              --jhc-options OPTS
9183                     give extra options to jhc
9184
9185              --ld-options OPTS
9186                     give extra options to ld
9187
9188              --pkg-config-options OPTS
9189                     give extra options to pkg-config
9190
9191              --runghc-options OPTS
9192                     give extra options to runghc
9193
9194              --strip-options OPTS
9195                     give extra options to strip
9196
9197              --tar-options OPTS
9198                     give extra options to tar
9199
9200              --uhc-options OPTS
9201                     give extra options to uhc
9202
9203              --cabal-lib-version VERSION
9204                     Select  which  version  of  the Cabal lib to use to build
9205                     packages (useful for testing).
9206
9207              --constraint CONSTRAINT
9208                     Specify    constraints    on    a    package    (version,
9209                     installed/source, flags)
9210
9211              --preference CONSTRAINT
9212                     Specify  preferences (soft constraints) on the version of
9213                     a package
9214
9215              --solver SOLVER
9216                     Select  dependency  solver  to  use  (default:  modular).
9217                     Choices: modular.
9218
9219              --allow-older [DEPS]
9220                     Ignore lower bounds in all dependencies or DEPS
9221
9222              --allow-newer [DEPS]
9223                     Ignore upper bounds in all dependencies or DEPS
9224
9225              --enable-documentation
9226              --disable-documentation
9227                     building of documentation
9228
9229              --doc-index-file TEMPLATE
9230                     A  central  index  of haddock API documentation (template
9231                     cannot use $pkgid)
9232
9233              --dry-run
9234                     Do  not  install  anything,  only  print  what  would  be
9235                     installed.
9236
9237              --max-backjumps NUM
9238                     Maximum   number   of  backjumps  allowed  while  solving
9239                     (default: 2000). Use a negative number to  enable  unlim‐
9240                     ited  backtracking.  Use  0  to disable backtracking com‐
9241                     pletely.
9242
9243              --reorder-goals
9244              --no-reorder-goals
9245                     Try to reorder goals  according  to  certain  heuristics.
9246                     Slows  things  down on average, but may make backtracking
9247                     faster for some packages.
9248
9249              --count-conflicts
9250              --no-count-conflicts
9251                     Try to speed up solving  by  preferring  goals  that  are
9252                     involved in a lot of conflicts (default).
9253
9254              --independent-goals
9255              --no-independent-goals
9256                     Treat  several  goals on the command line as independent.
9257                     If several goals depend on the  same  package,  different
9258                     versions can be chosen.
9259
9260              --shadow-installed-packages
9261              --no-shadow-installed-packages
9262                     If  multiple  package  instances  of the same version are
9263                     installed, treat all but one as shadowed.
9264
9265              --strong-flags
9266              --no-strong-flags
9267                     Do not defer flag choices (this used to be the default in
9268                     cabal-install <= 1.20).
9269
9270              --allow-boot-library-installs
9271              --no-allow-boot-library-installs
9272                     Allow  cabal  to  install base, ghc-prim, integer-simple,
9273                     integer-gmp, and template-haskell.
9274
9275              --reinstall
9276              --no-reinstall
9277                     Install even if it  means  installing  the  same  version
9278                     again.
9279
9280              --avoid-reinstalls
9281              --no-avoid-reinstalls
9282                     Do not select versions that would destructively overwrite
9283                     installed packages.
9284
9285              --force-reinstalls
9286              --no-force-reinstalls
9287                     Reinstall packages even if they will  most  likely  break
9288                     other installed packages.
9289
9290              --upgrade-dependencies
9291              --no-upgrade-dependencies
9292                     Pick the latest version for all dependencies, rather than
9293                     trying to pick an installed version.
9294
9295              --only-dependencies
9296              --no-only-dependencies
9297                     Install only the  dependencies  necessary  to  build  the
9298                     given packages
9299
9300              --dependencies-only
9301              --no-dependencies-only
9302                     A synonym for --only-dependencies
9303
9304              --index-state STATE
9305                     Use  source package index state as it existed at a previ‐
9306                     ous time. Accepts unix-timestamps  (e.g.  '@1474732068'),
9307                     ISO8601  UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or
9308                     'HEAD' (default: 'HEAD').
9309
9310              --root-cmd COMMAND
9311                     (No longer supported, do not use.)
9312
9313              --symlink-bindir DIR
9314                     Add symlinks to installed executables  into  this  direc‐
9315                     tory.
9316
9317              --build-summary TEMPLATE
9318                     Save  build  summaries  to  file  (name  template can use
9319                     $pkgid, $compiler, $os, $arch)
9320
9321              --build-log TEMPLATE
9322                     Log all builds to file (name  template  can  use  $pkgid,
9323                     $compiler, $os, $arch)
9324
9325              --remote-build-reporting LEVEL
9326                     Generate  build reports to send to a remote server (none,
9327                     anonymous or detailed).
9328
9329              --report-planning-failure
9330                     Generate build reports when the dependency solver  fails.
9331                     This is used by the Hackage build bot.
9332
9333              --enable-per-component
9334              --disable-per-component
9335                     Per-component builds when possible
9336
9337              --one-shot
9338              --no-one-shot
9339                     Do not record the packages in the world file.
9340
9341              --run-tests
9342                     Run package test suites during installation.
9343
9344              -j, --jobs [NUM]
9345                     Run  NUM  jobs  simultaneously  (or '$ncpus' if no NUM is
9346                     given).
9347
9348              --keep-going
9349                     After a build failure, continue to build other unaffected
9350                     packages.
9351
9352              --offline
9353              --no-offline
9354                     Don't download packages from the Internet.
9355
9356              --project-file FILE
9357                     Set  the  name of the cabal.project file to search for in
9358                     parent directories
9359
9360              --only
9361                     Only installs the package in the current directory.
9362
9363              --haddock-hoogle
9364                     Generate a hoogle database
9365
9366              --haddock-html
9367                     Generate HTML documentation (the default)
9368
9369              --haddock-html-location URL
9370                     Location of HTML documentation for pre-requisite packages
9371
9372              --haddock-for-hackage
9373                     Collection of flags to  generate  documentation  suitable
9374                     for upload to hackage
9375
9376              --haddock-executables
9377                     Run haddock for Executables targets
9378
9379              --haddock-tests
9380                     Run haddock for Test Suite targets
9381
9382              --haddock-benchmarks
9383                     Run haddock for Benchmark targets
9384
9385              --haddock-all
9386                     Run haddock for all targets
9387
9388              --haddock-internal
9389                     Run haddock for internal modules and include all symbols
9390
9391              --haddock-css PATH
9392                     Use PATH as the haddock stylesheet
9393
9394              --haddock-hyperlink-source,  --haddock-hyperlink-sources, --had‐
9395              dock-hyperlinked-source
9396                     Hyperlink the documentation to the source code
9397
9398              --haddock-quickjump
9399                     Generate an index for interactive  documentation  naviga‐
9400                     tion
9401
9402              --haddock-hscolour-css PATH
9403                     Use PATH as the HsColour stylesheet
9404
9405              --haddock-contents-location URL
9406                     Bake URL in as the location for the contents page
9407
9408
9409       cabal v2-install
9410
9411       Usage: cabal v2-install [TARGETS] [FLAGS]
9412
9413
9414       Installs  one  or more packages. This is done by installing them in the
9415       store and symlinking the executables in the directory specified by  the
9416       --symlink-bindir  flag  (`~/.cabal/bin/`  by  default). If you want the
9417       installed executables to be available globally, make sure that the PATH
9418       environment variable contains that directory.
9419
9420       If  TARGET  is  a  library, it will be added to the global environment.
9421       When doing this, cabal will try to build a plan that includes  all  the
9422       previously installed libraries. This is currently not implemented.
9423
9424
9425       Installs  one  or more packages. This is done by installing them in the
9426       store and symlinking the executables in the directory specified by  the
9427       --symlink-bindir  flag  (`~/.cabal/bin/`  by  default). If you want the
9428       installed executables to be available globally, make sure that the PATH
9429       environment variable contains that directory.
9430
9431       If  TARGET  is  a  library, it will be added to the global environment.
9432       When doing this, cabal will try to build a plan that includes  all  the
9433       previously installed libraries. This is currently not implemented.
9434
9435
9436       Flags:
9437              -v, --verbose [n]
9438                     Control  verbosity (n is 0--3, default verbosity level is
9439                     1)
9440
9441              --builddir, --distdir, --distpref DIR
9442                     The directory where  Cabal  puts  generated  build  files
9443                     (default dist)
9444
9445              -g, --ghc
9446                     compile with GHC
9447
9448              --ghcjs
9449                     compile with GHCJS
9450
9451              --uhc
9452                     compile with UHC
9453
9454              --haskell-suite
9455                     compile with a haskell-suite compiler
9456
9457              --cabal-file PATH
9458                     use this Cabal file
9459
9460              -w, --with-compiler PATH
9461                     give the path to a particular compiler
9462
9463              --with-hc-pkg PATH
9464                     give the path to the package tool
9465
9466              --prefix DIR
9467                     bake this prefix in preparation of installation
9468
9469              --bindir DIR
9470                     installation directory for executables
9471
9472              --libdir DIR
9473                     installation directory for libraries
9474
9475              --libsubdir DIR
9476                     subdirectory of libdir in which libs are installed
9477
9478              --dynlibdir DIR
9479                     installation directory for dynamic libraries
9480
9481              --libexecdir DIR
9482                     installation directory for program executables
9483
9484              --libexecsubdir DIR
9485                     subdirectory  of  libexecdir in which private executables
9486                     are installed
9487
9488              --datadir DIR
9489                     installation directory for read-only data
9490
9491              --datasubdir DIR
9492                     subdirectory of datadir in which data files are installed
9493
9494              --docdir DIR
9495                     installation directory for documentation
9496
9497              --htmldir DIR
9498                     installation directory for HTML documentation
9499
9500              --haddockdir DIR
9501                     installation directory for haddock interfaces
9502
9503              --sysconfdir DIR
9504                     installation directory for configuration files
9505
9506              --program-prefix PREFIX
9507                     prefix to be applied to installed executables
9508
9509              --program-suffix SUFFIX
9510                     suffix to be applied to installed executables
9511
9512              --enable-library-vanilla
9513              --disable-library-vanilla
9514                     Vanilla libraries
9515
9516              -p, --enable-library-profiling
9517              --disable-library-profiling
9518                     Library profiling
9519
9520              --enable-shared
9521              --disable-shared
9522                     Shared library
9523
9524              --enable-static
9525              --disable-static
9526                     Static library
9527
9528              --enable-executable-dynamic
9529              --disable-executable-dynamic
9530                     Executable dynamic linking
9531
9532              --enable-profiling
9533              --disable-profiling
9534                     Executable and library profiling
9535
9536              --enable-executable-profiling
9537              --disable-executable-profiling
9538                     Executable profiling (DEPRECATED)
9539
9540              --profiling-detail level
9541                     Profiling  detail  level  for  executable   and   library
9542                     (default,  none,  exported-functions, toplevel-functions,
9543                     all-functions).
9544
9545              --library-profiling-detail level
9546                     Profiling detail level for libraries only.
9547
9548              -O, --enable-optimization, --enable-optimisation [n]
9549                     Build with optimization (n is 0--2, default is 1)
9550
9551              --disable-optimization, --disable-optimisation
9552                     Build without optimization
9553
9554              --enable-debug-info [n]
9555                     Emit debug info (n is 0--3, default is 0)
9556
9557              --disable-debug-info
9558                     Don't emit debug info
9559
9560              --enable-library-for-ghci
9561              --disable-library-for-ghci
9562                     compile library for use with GHCi
9563
9564              --enable-split-sections
9565              --disable-split-sections
9566                     compile library code such that unneeded  definitions  can
9567                     be dropped from the final executable (GHC 7.8+)
9568
9569              --enable-split-objs
9570              --disable-split-objs
9571                     split library into smaller objects to reduce binary sizes
9572                     (GHC 6.6+)
9573
9574              --enable-executable-stripping
9575              --disable-executable-stripping
9576                     strip executables  upon  installation  to  reduce  binary
9577                     sizes
9578
9579              --enable-library-stripping
9580              --disable-library-stripping
9581                     strip libraries upon installation to reduce binary sizes
9582
9583              --configure-option OPT
9584                     Extra option for configure
9585
9586              --user
9587              --global
9588                     doing a per-user installation
9589
9590              --package-db DB
9591                     Append  the given package database to the list of package
9592                     databases used  (to  satisfy  dependencies  and  register
9593                     into).  May  be  a specific file, 'global' or 'user'. The
9594                     initial  list  is  ['global'],  ['global',  'user'],   or
9595                     ['global',  $sandbox],  depending on context. Use 'clear'
9596                     to reset the list  to  empty.  See  the  user  guide  for
9597                     details.
9598
9599              -f, --flags FLAGS
9600                     Force values for the given flags in Cabal conditionals in
9601                     the .cabal file.  E.g.,  --flags="debug  -usebytestrings"
9602                     forces  the  flag "debug" to true and "usebytestrings" to
9603                     false.
9604
9605              --extra-include-dirs PATH
9606                     A list of directories to search for header files
9607
9608              --enable-deterministic
9609              --disable-deterministic
9610                     Try to be as deterministic as possible (used by the  test
9611                     suite)
9612
9613              --ipid IPID
9614                     Installed package ID to compile this package as
9615
9616              --cid CID
9617                     Installed component ID to compile this component as
9618
9619              --extra-lib-dirs PATH
9620                     A list of directories to search for external libraries
9621
9622              --extra-framework-dirs PATH
9623                     A  list  of directories to search for external frameworks
9624                     (OS X only)
9625
9626              --extra-prog-path PATH
9627                     A list of directories to search for required programs (in
9628                     addition to the normal search locations)
9629
9630              --instantiate-with NAME=MOD
9631                     A mapping of signature names to concrete module instanti‐
9632                     ations.
9633
9634              --enable-tests
9635              --disable-tests
9636                     dependency  checking  and  compilation  for  test  suites
9637                     listed in the package description file.
9638
9639              --enable-coverage
9640              --disable-coverage
9641                     build package with Haskell Program Coverage. (GHC only)
9642
9643              --enable-library-coverage
9644              --disable-library-coverage
9645                     build  package  with Haskell Program Coverage. (GHC only)
9646                     (DEPRECATED)
9647
9648              --enable-benchmarks
9649              --disable-benchmarks
9650                     dependency checking and compilation for benchmarks listed
9651                     in the package description file.
9652
9653              --enable-relocatable
9654              --disable-relocatable
9655                     building a package that is relocatable. (GHC only)
9656
9657              --disable-response-files
9658                     enable  workaround for old versions of programs like "ar"
9659                     that do not support @file arguments
9660
9661              --cabal-lib-version VERSION
9662                     Select which version of the Cabal lib  to  use  to  build
9663                     packages (useful for testing).
9664
9665              --constraint CONSTRAINT
9666                     Specify    constraints    on    a    package    (version,
9667                     installed/source, flags)
9668
9669              --preference CONSTRAINT
9670                     Specify preferences (soft constraints) on the version  of
9671                     a package
9672
9673              --solver SOLVER
9674                     Select  dependency  solver  to  use  (default:  modular).
9675                     Choices: modular.
9676
9677              --allow-older [DEPS]
9678                     Ignore lower bounds in all dependencies or DEPS
9679
9680              --allow-newer [DEPS]
9681                     Ignore upper bounds in all dependencies or DEPS
9682
9683              --enable-documentation
9684              --disable-documentation
9685                     building of documentation
9686
9687              --doc-index-file TEMPLATE
9688                     A central index of haddock  API  documentation  (template
9689                     cannot use $pkgid)
9690
9691              --dry-run
9692                     Do  not  install  anything,  only  print  what  would  be
9693                     installed.
9694
9695              --max-backjumps NUM
9696                     Maximum  number  of  backjumps  allowed   while   solving
9697                     (default:  2000).  Use a negative number to enable unlim‐
9698                     ited backtracking. Use 0  to  disable  backtracking  com‐
9699                     pletely.
9700
9701              --reorder-goals
9702              --no-reorder-goals
9703                     Try  to  reorder  goals  according to certain heuristics.
9704                     Slows things down on average, but may  make  backtracking
9705                     faster for some packages.
9706
9707              --count-conflicts
9708              --no-count-conflicts
9709                     Try  to  speed  up  solving  by preferring goals that are
9710                     involved in a lot of conflicts (default).
9711
9712              --independent-goals
9713              --no-independent-goals
9714                     Treat several goals on the command line  as  independent.
9715                     If  several  goals  depend on the same package, different
9716                     versions can be chosen.
9717
9718              --shadow-installed-packages
9719              --no-shadow-installed-packages
9720                     If multiple package instances of  the  same  version  are
9721                     installed, treat all but one as shadowed.
9722
9723              --strong-flags
9724              --no-strong-flags
9725                     Do not defer flag choices (this used to be the default in
9726                     cabal-install <= 1.20).
9727
9728              --allow-boot-library-installs
9729              --no-allow-boot-library-installs
9730                     Allow cabal to install  base,  ghc-prim,  integer-simple,
9731                     integer-gmp, and template-haskell.
9732
9733              --reinstall
9734              --no-reinstall
9735                     Install  even  if  it  means  installing the same version
9736                     again.
9737
9738              --avoid-reinstalls
9739              --no-avoid-reinstalls
9740                     Do not select versions that would destructively overwrite
9741                     installed packages.
9742
9743              --force-reinstalls
9744              --no-force-reinstalls
9745                     Reinstall  packages  even  if they will most likely break
9746                     other installed packages.
9747
9748              --upgrade-dependencies
9749              --no-upgrade-dependencies
9750                     Pick the latest version for all dependencies, rather than
9751                     trying to pick an installed version.
9752
9753              --only-dependencies
9754              --no-only-dependencies
9755                     Install  only  the  dependencies  necessary  to build the
9756                     given packages
9757
9758              --dependencies-only
9759              --no-dependencies-only
9760                     A synonym for --only-dependencies
9761
9762              --index-state STATE
9763                     Use source package index state as it existed at a  previ‐
9764                     ous  time.  Accepts unix-timestamps (e.g. '@1474732068'),
9765                     ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'),  or
9766                     'HEAD' (default: 'HEAD').
9767
9768              --root-cmd COMMAND
9769                     (No longer supported, do not use.)
9770
9771              --symlink-bindir DIR
9772                     Add  symlinks  to  installed executables into this direc‐
9773                     tory.
9774
9775              --build-summary TEMPLATE
9776                     Save build summaries  to  file  (name  template  can  use
9777                     $pkgid, $compiler, $os, $arch)
9778
9779              --build-log TEMPLATE
9780                     Log  all  builds  to  file (name template can use $pkgid,
9781                     $compiler, $os, $arch)
9782
9783              --remote-build-reporting LEVEL
9784                     Generate build reports to send to a remote server  (none,
9785                     anonymous or detailed).
9786
9787              --report-planning-failure
9788                     Generate  build reports when the dependency solver fails.
9789                     This is used by the Hackage build bot.
9790
9791              --enable-per-component
9792              --disable-per-component
9793                     Per-component builds when possible
9794
9795              --one-shot
9796              --no-one-shot
9797                     Do not record the packages in the world file.
9798
9799              --run-tests
9800                     Run package test suites during installation.
9801
9802              -j, --jobs [NUM]
9803                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
9804                     given).
9805
9806              --keep-going
9807                     After a build failure, continue to build other unaffected
9808                     packages.
9809
9810              --offline
9811              --no-offline
9812                     Don't download packages from the Internet.
9813
9814              --project-file FILE
9815                     Set the name of the cabal.project file to search  for  in
9816                     parent directories
9817
9818              --only
9819                     Only installs the package in the current directory.
9820
9821              --builddir, --distdir, --distpref DIR
9822                     The  directory  where  Cabal  puts  generated build files
9823                     (default dist)
9824
9825              --keep-temp-files
9826                     Keep temporary files
9827
9828              --hoogle
9829                     Generate a hoogle database
9830
9831              --html
9832                     Generate HTML documentation (the default)
9833
9834              --html-location URL
9835                     Location of HTML documentation for pre-requisite packages
9836
9837              --for-hackage
9838                     Collection of flags to  generate  documentation  suitable
9839                     for upload to hackage
9840
9841              --executables
9842                     Run haddock for Executables targets
9843
9844              --tests
9845                     Run haddock for Test Suite targets
9846
9847              --benchmarks
9848                     Run haddock for Benchmark targets
9849
9850              --foreign-libraries
9851                     Run haddock for Foreign Library targets
9852
9853              --all
9854                     Run haddock for all targets
9855
9856              --internal
9857                     Run haddock for internal modules and include all symbols
9858
9859              --css PATH
9860                     Use PATH as the haddock stylesheet
9861
9862              --hyperlink-source, --hyperlink-sources, --hyperlinked-source
9863                     Hyperlink the documentation to the source code
9864
9865              --quickjump
9866                     Generate  an  index for interactive documentation naviga‐
9867                     tion
9868
9869              --hscolour-css PATH
9870                     Use PATH as the HsColour stylesheet
9871
9872              --contents-location URL
9873                     Bake URL in as the location for the contents page
9874
9875              --lib
9876                     Install libraries rather than executables from the target
9877                     package.
9878
9879              --package-env, --env ENV
9880                     Set the environment file that may be modified.
9881
9882
9883       cabal new-install
9884
9885       Usage: cabal new-install [TARGETS] [FLAGS]
9886
9887
9888       Installs  one  or more packages. This is done by installing them in the
9889       store and symlinking the executables in the directory specified by  the
9890       --symlink-bindir  flag  (`~/.cabal/bin/`  by  default). If you want the
9891       installed executables to be available globally, make sure that the PATH
9892       environment variable contains that directory.
9893
9894       If  TARGET  is  a  library, it will be added to the global environment.
9895       When doing this, cabal will try to build a plan that includes  all  the
9896       previously installed libraries. This is currently not implemented.
9897
9898
9899       Examples:
9900         cabal new-install
9901           Install the package in the current directory
9902         cabal new-install pkgname
9903           Install the package named pkgname (fetching it from hackage if nec‐
9904       essary)
9905         cabal new-install ./pkgfoo
9906           Install the package in the ./pkgfoo directory Note: this command is
9907       part  of  the  new  project-based  system (aka nix-style local builds).
9908       These features are currently in beta. Please see  http://cabal.readthe
9909       docs.io/en/latest/nix-local-build-overview.html  for details and advice
9910       on what you can expect to work. If you encounter problems  please  file
9911       issues  at  https://github.com/haskell/cabal/issues and if you have any
9912       time to get involved and help with testing, fixing bugs etc  then  that
9913       is very much appreciated.
9914
9915
9916       Flags:
9917              -v, --verbose [n]
9918                     Control  verbosity (n is 0--3, default verbosity level is
9919                     1)
9920
9921              --builddir, --distdir, --distpref DIR
9922                     The directory where  Cabal  puts  generated  build  files
9923                     (default dist)
9924
9925              -g, --ghc
9926                     compile with GHC
9927
9928              --ghcjs
9929                     compile with GHCJS
9930
9931              --uhc
9932                     compile with UHC
9933
9934              --haskell-suite
9935                     compile with a haskell-suite compiler
9936
9937              --cabal-file PATH
9938                     use this Cabal file
9939
9940              -w, --with-compiler PATH
9941                     give the path to a particular compiler
9942
9943              --with-hc-pkg PATH
9944                     give the path to the package tool
9945
9946              --prefix DIR
9947                     bake this prefix in preparation of installation
9948
9949              --bindir DIR
9950                     installation directory for executables
9951
9952              --libdir DIR
9953                     installation directory for libraries
9954
9955              --libsubdir DIR
9956                     subdirectory of libdir in which libs are installed
9957
9958              --dynlibdir DIR
9959                     installation directory for dynamic libraries
9960
9961              --libexecdir DIR
9962                     installation directory for program executables
9963
9964              --libexecsubdir DIR
9965                     subdirectory  of  libexecdir in which private executables
9966                     are installed
9967
9968              --datadir DIR
9969                     installation directory for read-only data
9970
9971              --datasubdir DIR
9972                     subdirectory of datadir in which data files are installed
9973
9974              --docdir DIR
9975                     installation directory for documentation
9976
9977              --htmldir DIR
9978                     installation directory for HTML documentation
9979
9980              --haddockdir DIR
9981                     installation directory for haddock interfaces
9982
9983              --sysconfdir DIR
9984                     installation directory for configuration files
9985
9986              --program-prefix PREFIX
9987                     prefix to be applied to installed executables
9988
9989              --program-suffix SUFFIX
9990                     suffix to be applied to installed executables
9991
9992              --enable-library-vanilla
9993              --disable-library-vanilla
9994                     Vanilla libraries
9995
9996              -p, --enable-library-profiling
9997              --disable-library-profiling
9998                     Library profiling
9999
10000              --enable-shared
10001              --disable-shared
10002                     Shared library
10003
10004              --enable-static
10005              --disable-static
10006                     Static library
10007
10008              --enable-executable-dynamic
10009              --disable-executable-dynamic
10010                     Executable dynamic linking
10011
10012              --enable-profiling
10013              --disable-profiling
10014                     Executable and library profiling
10015
10016              --enable-executable-profiling
10017              --disable-executable-profiling
10018                     Executable profiling (DEPRECATED)
10019
10020              --profiling-detail level
10021                     Profiling  detail  level  for  executable   and   library
10022                     (default,  none,  exported-functions, toplevel-functions,
10023                     all-functions).
10024
10025              --library-profiling-detail level
10026                     Profiling detail level for libraries only.
10027
10028              -O, --enable-optimization, --enable-optimisation [n]
10029                     Build with optimization (n is 0--2, default is 1)
10030
10031              --disable-optimization, --disable-optimisation
10032                     Build without optimization
10033
10034              --enable-debug-info [n]
10035                     Emit debug info (n is 0--3, default is 0)
10036
10037              --disable-debug-info
10038                     Don't emit debug info
10039
10040              --enable-library-for-ghci
10041              --disable-library-for-ghci
10042                     compile library for use with GHCi
10043
10044              --enable-split-sections
10045              --disable-split-sections
10046                     compile library code such that unneeded  definitions  can
10047                     be dropped from the final executable (GHC 7.8+)
10048
10049              --enable-split-objs
10050              --disable-split-objs
10051                     split library into smaller objects to reduce binary sizes
10052                     (GHC 6.6+)
10053
10054              --enable-executable-stripping
10055              --disable-executable-stripping
10056                     strip executables  upon  installation  to  reduce  binary
10057                     sizes
10058
10059              --enable-library-stripping
10060              --disable-library-stripping
10061                     strip libraries upon installation to reduce binary sizes
10062
10063              --configure-option OPT
10064                     Extra option for configure
10065
10066              --user
10067              --global
10068                     doing a per-user installation
10069
10070              --package-db DB
10071                     Append  the given package database to the list of package
10072                     databases used  (to  satisfy  dependencies  and  register
10073                     into).  May  be  a specific file, 'global' or 'user'. The
10074                     initial  list  is  ['global'],  ['global',  'user'],   or
10075                     ['global',  $sandbox],  depending on context. Use 'clear'
10076                     to reset the list  to  empty.  See  the  user  guide  for
10077                     details.
10078
10079              -f, --flags FLAGS
10080                     Force values for the given flags in Cabal conditionals in
10081                     the .cabal file.  E.g.,  --flags="debug  -usebytestrings"
10082                     forces  the  flag "debug" to true and "usebytestrings" to
10083                     false.
10084
10085              --extra-include-dirs PATH
10086                     A list of directories to search for header files
10087
10088              --enable-deterministic
10089              --disable-deterministic
10090                     Try to be as deterministic as possible (used by the  test
10091                     suite)
10092
10093              --ipid IPID
10094                     Installed package ID to compile this package as
10095
10096              --cid CID
10097                     Installed component ID to compile this component as
10098
10099              --extra-lib-dirs PATH
10100                     A list of directories to search for external libraries
10101
10102              --extra-framework-dirs PATH
10103                     A  list  of directories to search for external frameworks
10104                     (OS X only)
10105
10106              --extra-prog-path PATH
10107                     A list of directories to search for required programs (in
10108                     addition to the normal search locations)
10109
10110              --instantiate-with NAME=MOD
10111                     A mapping of signature names to concrete module instanti‐
10112                     ations.
10113
10114              --enable-tests
10115              --disable-tests
10116                     dependency  checking  and  compilation  for  test  suites
10117                     listed in the package description file.
10118
10119              --enable-coverage
10120              --disable-coverage
10121                     build package with Haskell Program Coverage. (GHC only)
10122
10123              --enable-library-coverage
10124              --disable-library-coverage
10125                     build  package  with Haskell Program Coverage. (GHC only)
10126                     (DEPRECATED)
10127
10128              --enable-benchmarks
10129              --disable-benchmarks
10130                     dependency checking and compilation for benchmarks listed
10131                     in the package description file.
10132
10133              --enable-relocatable
10134              --disable-relocatable
10135                     building a package that is relocatable. (GHC only)
10136
10137              --disable-response-files
10138                     enable  workaround for old versions of programs like "ar"
10139                     that do not support @file arguments
10140
10141              --cabal-lib-version VERSION
10142                     Select which version of the Cabal lib  to  use  to  build
10143                     packages (useful for testing).
10144
10145              --constraint CONSTRAINT
10146                     Specify    constraints    on    a    package    (version,
10147                     installed/source, flags)
10148
10149              --preference CONSTRAINT
10150                     Specify preferences (soft constraints) on the version  of
10151                     a package
10152
10153              --solver SOLVER
10154                     Select  dependency  solver  to  use  (default:  modular).
10155                     Choices: modular.
10156
10157              --allow-older [DEPS]
10158                     Ignore lower bounds in all dependencies or DEPS
10159
10160              --allow-newer [DEPS]
10161                     Ignore upper bounds in all dependencies or DEPS
10162
10163              --enable-documentation
10164              --disable-documentation
10165                     building of documentation
10166
10167              --doc-index-file TEMPLATE
10168                     A central index of haddock  API  documentation  (template
10169                     cannot use $pkgid)
10170
10171              --dry-run
10172                     Do  not  install  anything,  only  print  what  would  be
10173                     installed.
10174
10175              --max-backjumps NUM
10176                     Maximum  number  of  backjumps  allowed   while   solving
10177                     (default:  2000).  Use a negative number to enable unlim‐
10178                     ited backtracking. Use 0  to  disable  backtracking  com‐
10179                     pletely.
10180
10181              --reorder-goals
10182              --no-reorder-goals
10183                     Try  to  reorder  goals  according to certain heuristics.
10184                     Slows things down on average, but may  make  backtracking
10185                     faster for some packages.
10186
10187              --count-conflicts
10188              --no-count-conflicts
10189                     Try  to  speed  up  solving  by preferring goals that are
10190                     involved in a lot of conflicts (default).
10191
10192              --independent-goals
10193              --no-independent-goals
10194                     Treat several goals on the command line  as  independent.
10195                     If  several  goals  depend on the same package, different
10196                     versions can be chosen.
10197
10198              --shadow-installed-packages
10199              --no-shadow-installed-packages
10200                     If multiple package instances of  the  same  version  are
10201                     installed, treat all but one as shadowed.
10202
10203              --strong-flags
10204              --no-strong-flags
10205                     Do not defer flag choices (this used to be the default in
10206                     cabal-install <= 1.20).
10207
10208              --allow-boot-library-installs
10209              --no-allow-boot-library-installs
10210                     Allow cabal to install  base,  ghc-prim,  integer-simple,
10211                     integer-gmp, and template-haskell.
10212
10213              --reinstall
10214              --no-reinstall
10215                     Install  even  if  it  means  installing the same version
10216                     again.
10217
10218              --avoid-reinstalls
10219              --no-avoid-reinstalls
10220                     Do not select versions that would destructively overwrite
10221                     installed packages.
10222
10223              --force-reinstalls
10224              --no-force-reinstalls
10225                     Reinstall  packages  even  if they will most likely break
10226                     other installed packages.
10227
10228              --upgrade-dependencies
10229              --no-upgrade-dependencies
10230                     Pick the latest version for all dependencies, rather than
10231                     trying to pick an installed version.
10232
10233              --only-dependencies
10234              --no-only-dependencies
10235                     Install  only  the  dependencies  necessary  to build the
10236                     given packages
10237
10238              --dependencies-only
10239              --no-dependencies-only
10240                     A synonym for --only-dependencies
10241
10242              --index-state STATE
10243                     Use source package index state as it existed at a  previ‐
10244                     ous  time.  Accepts unix-timestamps (e.g. '@1474732068'),
10245                     ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'),  or
10246                     'HEAD' (default: 'HEAD').
10247
10248              --root-cmd COMMAND
10249                     (No longer supported, do not use.)
10250
10251              --symlink-bindir DIR
10252                     Add  symlinks  to  installed executables into this direc‐
10253                     tory.
10254
10255              --build-summary TEMPLATE
10256                     Save build summaries  to  file  (name  template  can  use
10257                     $pkgid, $compiler, $os, $arch)
10258
10259              --build-log TEMPLATE
10260                     Log  all  builds  to  file (name template can use $pkgid,
10261                     $compiler, $os, $arch)
10262
10263              --remote-build-reporting LEVEL
10264                     Generate build reports to send to a remote server  (none,
10265                     anonymous or detailed).
10266
10267              --report-planning-failure
10268                     Generate  build reports when the dependency solver fails.
10269                     This is used by the Hackage build bot.
10270
10271              --enable-per-component
10272              --disable-per-component
10273                     Per-component builds when possible
10274
10275              --one-shot
10276              --no-one-shot
10277                     Do not record the packages in the world file.
10278
10279              --run-tests
10280                     Run package test suites during installation.
10281
10282              -j, --jobs [NUM]
10283                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
10284                     given).
10285
10286              --keep-going
10287                     After a build failure, continue to build other unaffected
10288                     packages.
10289
10290              --offline
10291              --no-offline
10292                     Don't download packages from the Internet.
10293
10294              --project-file FILE
10295                     Set the name of the cabal.project file to search  for  in
10296                     parent directories
10297
10298              --only
10299                     Only installs the package in the current directory.
10300
10301              --builddir, --distdir, --distpref DIR
10302                     The  directory  where  Cabal  puts  generated build files
10303                     (default dist)
10304
10305              --keep-temp-files
10306                     Keep temporary files
10307
10308              --hoogle
10309                     Generate a hoogle database
10310
10311              --html
10312                     Generate HTML documentation (the default)
10313
10314              --html-location URL
10315                     Location of HTML documentation for pre-requisite packages
10316
10317              --for-hackage
10318                     Collection of flags to  generate  documentation  suitable
10319                     for upload to hackage
10320
10321              --executables
10322                     Run haddock for Executables targets
10323
10324              --tests
10325                     Run haddock for Test Suite targets
10326
10327              --benchmarks
10328                     Run haddock for Benchmark targets
10329
10330              --foreign-libraries
10331                     Run haddock for Foreign Library targets
10332
10333              --all
10334                     Run haddock for all targets
10335
10336              --internal
10337                     Run haddock for internal modules and include all symbols
10338
10339              --css PATH
10340                     Use PATH as the haddock stylesheet
10341
10342              --hyperlink-source, --hyperlink-sources, --hyperlinked-source
10343                     Hyperlink the documentation to the source code
10344
10345              --quickjump
10346                     Generate  an  index for interactive documentation naviga‐
10347                     tion
10348
10349              --hscolour-css PATH
10350                     Use PATH as the HsColour stylesheet
10351
10352              --contents-location URL
10353                     Bake URL in as the location for the contents page
10354
10355              --lib
10356                     Install libraries rather than executables from the target
10357                     package.
10358
10359              --package-env, --env ENV
10360                     Set the environment file that may be modified.
10361
10362
10363       cabal v2-run
10364
10365       Usage: cabal v2-run [TARGET] [FLAGS] [-- EXECUTABLE_FLAGS]
10366
10367
10368       Runs the specified executable-like component (an executable, a test, or
10369       a benchmark), first ensuring it is up to date.
10370
10371       Any executable-like component in any package  in  the  project  can  be
10372       specified.  A package can be specified if contains just one executable-
10373       like. The default is to use the package in the current directory if  it
10374       contains just one executable-like.
10375
10376       Extra  arguments can be passed to the program, but use '--' to separate
10377       arguments for the program from arguments for cabal. The  executable  is
10378       run  in  an environment where it can find its data files inplace in the
10379       build tree.
10380
10381       Dependencies are built or rebuilt as necessary.  Additional  configura‐
10382       tion  flags  can  be specified on the command line and these extend the
10383       project configuration from the  'cabal.project',  'cabal.project.local'
10384       and other files.
10385
10386
10387       Runs the specified executable-like component (an executable, a test, or
10388       a benchmark), first ensuring it is up to date.
10389
10390       Any executable-like component in any package  in  the  project  can  be
10391       specified.  A package can be specified if contains just one executable-
10392       like. The default is to use the package in the current directory if  it
10393       contains just one executable-like.
10394
10395       Extra  arguments can be passed to the program, but use '--' to separate
10396       arguments for the program from arguments for cabal. The  executable  is
10397       run  in  an environment where it can find its data files inplace in the
10398       build tree.
10399
10400       Dependencies are built or rebuilt as necessary.  Additional  configura‐
10401       tion  flags  can  be specified on the command line and these extend the
10402       project configuration from the  'cabal.project',  'cabal.project.local'
10403       and other files.
10404
10405
10406       Flags:
10407              -v, --verbose [n]
10408                     Control  verbosity (n is 0--3, default verbosity level is
10409                     1)
10410
10411              --builddir, --distdir, --distpref DIR
10412                     The directory where  Cabal  puts  generated  build  files
10413                     (default dist)
10414
10415              -g, --ghc
10416                     compile with GHC
10417
10418              --ghcjs
10419                     compile with GHCJS
10420
10421              --uhc
10422                     compile with UHC
10423
10424              --haskell-suite
10425                     compile with a haskell-suite compiler
10426
10427              --cabal-file PATH
10428                     use this Cabal file
10429
10430              -w, --with-compiler PATH
10431                     give the path to a particular compiler
10432
10433              --with-hc-pkg PATH
10434                     give the path to the package tool
10435
10436              --prefix DIR
10437                     bake this prefix in preparation of installation
10438
10439              --bindir DIR
10440                     installation directory for executables
10441
10442              --libdir DIR
10443                     installation directory for libraries
10444
10445              --libsubdir DIR
10446                     subdirectory of libdir in which libs are installed
10447
10448              --dynlibdir DIR
10449                     installation directory for dynamic libraries
10450
10451              --libexecdir DIR
10452                     installation directory for program executables
10453
10454              --libexecsubdir DIR
10455                     subdirectory  of  libexecdir in which private executables
10456                     are installed
10457
10458              --datadir DIR
10459                     installation directory for read-only data
10460
10461              --datasubdir DIR
10462                     subdirectory of datadir in which data files are installed
10463
10464              --docdir DIR
10465                     installation directory for documentation
10466
10467              --htmldir DIR
10468                     installation directory for HTML documentation
10469
10470              --haddockdir DIR
10471                     installation directory for haddock interfaces
10472
10473              --sysconfdir DIR
10474                     installation directory for configuration files
10475
10476              --program-prefix PREFIX
10477                     prefix to be applied to installed executables
10478
10479              --program-suffix SUFFIX
10480                     suffix to be applied to installed executables
10481
10482              --enable-library-vanilla
10483              --disable-library-vanilla
10484                     Vanilla libraries
10485
10486              -p, --enable-library-profiling
10487              --disable-library-profiling
10488                     Library profiling
10489
10490              --enable-shared
10491              --disable-shared
10492                     Shared library
10493
10494              --enable-static
10495              --disable-static
10496                     Static library
10497
10498              --enable-executable-dynamic
10499              --disable-executable-dynamic
10500                     Executable dynamic linking
10501
10502              --enable-profiling
10503              --disable-profiling
10504                     Executable and library profiling
10505
10506              --enable-executable-profiling
10507              --disable-executable-profiling
10508                     Executable profiling (DEPRECATED)
10509
10510              --profiling-detail level
10511                     Profiling  detail  level  for  executable   and   library
10512                     (default,  none,  exported-functions, toplevel-functions,
10513                     all-functions).
10514
10515              --library-profiling-detail level
10516                     Profiling detail level for libraries only.
10517
10518              -O, --enable-optimization, --enable-optimisation [n]
10519                     Build with optimization (n is 0--2, default is 1)
10520
10521              --disable-optimization, --disable-optimisation
10522                     Build without optimization
10523
10524              --enable-debug-info [n]
10525                     Emit debug info (n is 0--3, default is 0)
10526
10527              --disable-debug-info
10528                     Don't emit debug info
10529
10530              --enable-library-for-ghci
10531              --disable-library-for-ghci
10532                     compile library for use with GHCi
10533
10534              --enable-split-sections
10535              --disable-split-sections
10536                     compile library code such that unneeded  definitions  can
10537                     be dropped from the final executable (GHC 7.8+)
10538
10539              --enable-split-objs
10540              --disable-split-objs
10541                     split library into smaller objects to reduce binary sizes
10542                     (GHC 6.6+)
10543
10544              --enable-executable-stripping
10545              --disable-executable-stripping
10546                     strip executables  upon  installation  to  reduce  binary
10547                     sizes
10548
10549              --enable-library-stripping
10550              --disable-library-stripping
10551                     strip libraries upon installation to reduce binary sizes
10552
10553              --configure-option OPT
10554                     Extra option for configure
10555
10556              --user
10557              --global
10558                     doing a per-user installation
10559
10560              --package-db DB
10561                     Append  the given package database to the list of package
10562                     databases used  (to  satisfy  dependencies  and  register
10563                     into).  May  be  a specific file, 'global' or 'user'. The
10564                     initial  list  is  ['global'],  ['global',  'user'],   or
10565                     ['global',  $sandbox],  depending on context. Use 'clear'
10566                     to reset the list  to  empty.  See  the  user  guide  for
10567                     details.
10568
10569              -f, --flags FLAGS
10570                     Force values for the given flags in Cabal conditionals in
10571                     the .cabal file.  E.g.,  --flags="debug  -usebytestrings"
10572                     forces  the  flag "debug" to true and "usebytestrings" to
10573                     false.
10574
10575              --extra-include-dirs PATH
10576                     A list of directories to search for header files
10577
10578              --enable-deterministic
10579              --disable-deterministic
10580                     Try to be as deterministic as possible (used by the  test
10581                     suite)
10582
10583              --ipid IPID
10584                     Installed package ID to compile this package as
10585
10586              --cid CID
10587                     Installed component ID to compile this component as
10588
10589              --extra-lib-dirs PATH
10590                     A list of directories to search for external libraries
10591
10592              --extra-framework-dirs PATH
10593                     A  list  of directories to search for external frameworks
10594                     (OS X only)
10595
10596              --extra-prog-path PATH
10597                     A list of directories to search for required programs (in
10598                     addition to the normal search locations)
10599
10600              --instantiate-with NAME=MOD
10601                     A mapping of signature names to concrete module instanti‐
10602                     ations.
10603
10604              --enable-tests
10605              --disable-tests
10606                     dependency  checking  and  compilation  for  test  suites
10607                     listed in the package description file.
10608
10609              --enable-coverage
10610              --disable-coverage
10611                     build package with Haskell Program Coverage. (GHC only)
10612
10613              --enable-library-coverage
10614              --disable-library-coverage
10615                     build  package  with Haskell Program Coverage. (GHC only)
10616                     (DEPRECATED)
10617
10618              --enable-benchmarks
10619              --disable-benchmarks
10620                     dependency checking and compilation for benchmarks listed
10621                     in the package description file.
10622
10623              --enable-relocatable
10624              --disable-relocatable
10625                     building a package that is relocatable. (GHC only)
10626
10627              --disable-response-files
10628                     enable  workaround for old versions of programs like "ar"
10629                     that do not support @file arguments
10630
10631              --with-alex PATH
10632                     give the path to alex
10633
10634              --with-ar PATH
10635                     give the path to ar
10636
10637              --with-c2hs PATH
10638                     give the path to c2hs
10639
10640              --with-cpphs PATH
10641                     give the path to cpphs
10642
10643              --with-doctest PATH
10644                     give the path to doctest
10645
10646              --with-gcc PATH
10647                     give the path to gcc
10648
10649              --with-ghc PATH
10650                     give the path to ghc
10651
10652              --with-ghc-pkg PATH
10653                     give the path to ghc-pkg
10654
10655              --with-ghcjs PATH
10656                     give the path to ghcjs
10657
10658              --with-ghcjs-pkg PATH
10659                     give the path to ghcjs-pkg
10660
10661              --with-greencard PATH
10662                     give the path to greencard
10663
10664              --with-haddock PATH
10665                     give the path to haddock
10666
10667              --with-happy PATH
10668                     give the path to happy
10669
10670              --with-haskell-suite PATH
10671                     give the path to haskell-suite
10672
10673              --with-haskell-suite-pkg PATH
10674                     give the path to haskell-suite-pkg
10675
10676              --with-hmake PATH
10677                     give the path to hmake
10678
10679              --with-hpc PATH
10680                     give the path to hpc
10681
10682              --with-hsc2hs PATH
10683                     give the path to hsc2hs
10684
10685              --with-hscolour PATH
10686                     give the path to hscolour
10687
10688              --with-jhc PATH
10689                     give the path to jhc
10690
10691              --with-ld PATH
10692                     give the path to ld
10693
10694              --with-pkg-config PATH
10695                     give the path to pkg-config
10696
10697              --with-runghc PATH
10698                     give the path to runghc
10699
10700              --with-strip PATH
10701                     give the path to strip
10702
10703              --with-tar PATH
10704                     give the path to tar
10705
10706              --with-uhc PATH
10707                     give the path to uhc
10708
10709              --alex-option OPT
10710                     give an extra option to alex (no need  to  quote  options
10711                     containing spaces)
10712
10713              --ar-option OPT
10714                     give an extra option to ar (no need to quote options con‐
10715                     taining spaces)
10716
10717              --c2hs-option OPT
10718                     give an extra option to c2hs (no need  to  quote  options
10719                     containing spaces)
10720
10721              --cpphs-option OPT
10722                     give  an  extra option to cpphs (no need to quote options
10723                     containing spaces)
10724
10725              --doctest-option OPT
10726                     give an extra option to doctest (no need to quote options
10727                     containing spaces)
10728
10729              --gcc-option OPT
10730                     give  an  extra  option  to gcc (no need to quote options
10731                     containing spaces)
10732
10733              --ghc-option OPT
10734                     give an extra option to ghc (no  need  to  quote  options
10735                     containing spaces)
10736
10737              --ghc-pkg-option OPT
10738                     give an extra option to ghc-pkg (no need to quote options
10739                     containing spaces)
10740
10741              --ghcjs-option OPT
10742                     give an extra option to ghcjs (no need to  quote  options
10743                     containing spaces)
10744
10745              --ghcjs-pkg-option OPT
10746                     give  an  extra  option  to  ghcjs-pkg  (no need to quote
10747                     options containing spaces)
10748
10749              --greencard-option OPT
10750                     give an extra option  to  greencard  (no  need  to  quote
10751                     options containing spaces)
10752
10753              --haddock-option OPT
10754                     give an extra option to haddock (no need to quote options
10755                     containing spaces)
10756
10757              --happy-option OPT
10758                     give an extra option to happy (no need to  quote  options
10759                     containing spaces)
10760
10761              --haskell-suite-option OPT
10762                     give  an  extra option to haskell-suite (no need to quote
10763                     options containing spaces)
10764
10765              --haskell-suite-pkg-option OPT
10766                     give an extra option to  haskell-suite-pkg  (no  need  to
10767                     quote options containing spaces)
10768
10769              --hmake-option OPT
10770                     give  an  extra option to hmake (no need to quote options
10771                     containing spaces)
10772
10773              --hpc-option OPT
10774                     give an extra option to hpc (no  need  to  quote  options
10775                     containing spaces)
10776
10777              --hsc2hs-option OPT
10778                     give  an extra option to hsc2hs (no need to quote options
10779                     containing spaces)
10780
10781              --hscolour-option OPT
10782                     give an extra  option  to  hscolour  (no  need  to  quote
10783                     options containing spaces)
10784
10785              --jhc-option OPT
10786                     give  an  extra  option  to jhc (no need to quote options
10787                     containing spaces)
10788
10789              --ld-option OPT
10790                     give an extra option to ld (no need to quote options con‐
10791                     taining spaces)
10792
10793              --pkg-config-option OPT
10794                     give  an  extra  option  to  pkg-config (no need to quote
10795                     options containing spaces)
10796
10797              --runghc-option OPT
10798                     give an extra option to runghc (no need to quote  options
10799                     containing spaces)
10800
10801              --strip-option OPT
10802                     give  an  extra option to strip (no need to quote options
10803                     containing spaces)
10804
10805              --tar-option OPT
10806                     give an extra option to tar (no  need  to  quote  options
10807                     containing spaces)
10808
10809              --uhc-option OPT
10810                     give  an  extra  option  to uhc (no need to quote options
10811                     containing spaces)
10812
10813              --alex-options OPTS
10814                     give extra options to alex
10815
10816              --ar-options OPTS
10817                     give extra options to ar
10818
10819              --c2hs-options OPTS
10820                     give extra options to c2hs
10821
10822              --cpphs-options OPTS
10823                     give extra options to cpphs
10824
10825              --doctest-options OPTS
10826                     give extra options to doctest
10827
10828              --gcc-options OPTS
10829                     give extra options to gcc
10830
10831              --ghc-options OPTS
10832                     give extra options to ghc
10833
10834              --ghc-pkg-options OPTS
10835                     give extra options to ghc-pkg
10836
10837              --ghcjs-options OPTS
10838                     give extra options to ghcjs
10839
10840              --ghcjs-pkg-options OPTS
10841                     give extra options to ghcjs-pkg
10842
10843              --greencard-options OPTS
10844                     give extra options to greencard
10845
10846              --haddock-options OPTS
10847                     give extra options to haddock
10848
10849              --happy-options OPTS
10850                     give extra options to happy
10851
10852              --haskell-suite-options OPTS
10853                     give extra options to haskell-suite
10854
10855              --haskell-suite-pkg-options OPTS
10856                     give extra options to haskell-suite-pkg
10857
10858              --hmake-options OPTS
10859                     give extra options to hmake
10860
10861              --hpc-options OPTS
10862                     give extra options to hpc
10863
10864              --hsc2hs-options OPTS
10865                     give extra options to hsc2hs
10866
10867              --hscolour-options OPTS
10868                     give extra options to hscolour
10869
10870              --jhc-options OPTS
10871                     give extra options to jhc
10872
10873              --ld-options OPTS
10874                     give extra options to ld
10875
10876              --pkg-config-options OPTS
10877                     give extra options to pkg-config
10878
10879              --runghc-options OPTS
10880                     give extra options to runghc
10881
10882              --strip-options OPTS
10883                     give extra options to strip
10884
10885              --tar-options OPTS
10886                     give extra options to tar
10887
10888              --uhc-options OPTS
10889                     give extra options to uhc
10890
10891              --cabal-lib-version VERSION
10892                     Select which version of the Cabal lib  to  use  to  build
10893                     packages (useful for testing).
10894
10895              --constraint CONSTRAINT
10896                     Specify    constraints    on    a    package    (version,
10897                     installed/source, flags)
10898
10899              --preference CONSTRAINT
10900                     Specify preferences (soft constraints) on the version  of
10901                     a package
10902
10903              --solver SOLVER
10904                     Select  dependency  solver  to  use  (default:  modular).
10905                     Choices: modular.
10906
10907              --allow-older [DEPS]
10908                     Ignore lower bounds in all dependencies or DEPS
10909
10910              --allow-newer [DEPS]
10911                     Ignore upper bounds in all dependencies or DEPS
10912
10913              --enable-documentation
10914              --disable-documentation
10915                     building of documentation
10916
10917              --doc-index-file TEMPLATE
10918                     A central index of haddock  API  documentation  (template
10919                     cannot use $pkgid)
10920
10921              --dry-run
10922                     Do  not  install  anything,  only  print  what  would  be
10923                     installed.
10924
10925              --max-backjumps NUM
10926                     Maximum  number  of  backjumps  allowed   while   solving
10927                     (default:  2000).  Use a negative number to enable unlim‐
10928                     ited backtracking. Use 0  to  disable  backtracking  com‐
10929                     pletely.
10930
10931              --reorder-goals
10932              --no-reorder-goals
10933                     Try  to  reorder  goals  according to certain heuristics.
10934                     Slows things down on average, but may  make  backtracking
10935                     faster for some packages.
10936
10937              --count-conflicts
10938              --no-count-conflicts
10939                     Try  to  speed  up  solving  by preferring goals that are
10940                     involved in a lot of conflicts (default).
10941
10942              --independent-goals
10943              --no-independent-goals
10944                     Treat several goals on the command line  as  independent.
10945                     If  several  goals  depend on the same package, different
10946                     versions can be chosen.
10947
10948              --shadow-installed-packages
10949              --no-shadow-installed-packages
10950                     If multiple package instances of  the  same  version  are
10951                     installed, treat all but one as shadowed.
10952
10953              --strong-flags
10954              --no-strong-flags
10955                     Do not defer flag choices (this used to be the default in
10956                     cabal-install <= 1.20).
10957
10958              --allow-boot-library-installs
10959              --no-allow-boot-library-installs
10960                     Allow cabal to install  base,  ghc-prim,  integer-simple,
10961                     integer-gmp, and template-haskell.
10962
10963              --reinstall
10964              --no-reinstall
10965                     Install  even  if  it  means  installing the same version
10966                     again.
10967
10968              --avoid-reinstalls
10969              --no-avoid-reinstalls
10970                     Do not select versions that would destructively overwrite
10971                     installed packages.
10972
10973              --force-reinstalls
10974              --no-force-reinstalls
10975                     Reinstall  packages  even  if they will most likely break
10976                     other installed packages.
10977
10978              --upgrade-dependencies
10979              --no-upgrade-dependencies
10980                     Pick the latest version for all dependencies, rather than
10981                     trying to pick an installed version.
10982
10983              --only-dependencies
10984              --no-only-dependencies
10985                     Install  only  the  dependencies  necessary  to build the
10986                     given packages
10987
10988              --dependencies-only
10989              --no-dependencies-only
10990                     A synonym for --only-dependencies
10991
10992              --index-state STATE
10993                     Use source package index state as it existed at a  previ‐
10994                     ous  time.  Accepts unix-timestamps (e.g. '@1474732068'),
10995                     ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'),  or
10996                     'HEAD' (default: 'HEAD').
10997
10998              --root-cmd COMMAND
10999                     (No longer supported, do not use.)
11000
11001              --symlink-bindir DIR
11002                     Add  symlinks  to  installed executables into this direc‐
11003                     tory.
11004
11005              --build-summary TEMPLATE
11006                     Save build summaries  to  file  (name  template  can  use
11007                     $pkgid, $compiler, $os, $arch)
11008
11009              --build-log TEMPLATE
11010                     Log  all  builds  to  file (name template can use $pkgid,
11011                     $compiler, $os, $arch)
11012
11013              --remote-build-reporting LEVEL
11014                     Generate build reports to send to a remote server  (none,
11015                     anonymous or detailed).
11016
11017              --report-planning-failure
11018                     Generate  build reports when the dependency solver fails.
11019                     This is used by the Hackage build bot.
11020
11021              --enable-per-component
11022              --disable-per-component
11023                     Per-component builds when possible
11024
11025              --one-shot
11026              --no-one-shot
11027                     Do not record the packages in the world file.
11028
11029              --run-tests
11030                     Run package test suites during installation.
11031
11032              -j, --jobs [NUM]
11033                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
11034                     given).
11035
11036              --keep-going
11037                     After a build failure, continue to build other unaffected
11038                     packages.
11039
11040              --offline
11041              --no-offline
11042                     Don't download packages from the Internet.
11043
11044              --project-file FILE
11045                     Set the name of the cabal.project file to search  for  in
11046                     parent directories
11047
11048              --only
11049                     Only installs the package in the current directory.
11050
11051              --haddock-hoogle
11052                     Generate a hoogle database
11053
11054              --haddock-html
11055                     Generate HTML documentation (the default)
11056
11057              --haddock-html-location URL
11058                     Location of HTML documentation for pre-requisite packages
11059
11060              --haddock-for-hackage
11061                     Collection  of  flags  to generate documentation suitable
11062                     for upload to hackage
11063
11064              --haddock-executables
11065                     Run haddock for Executables targets
11066
11067              --haddock-tests
11068                     Run haddock for Test Suite targets
11069
11070              --haddock-benchmarks
11071                     Run haddock for Benchmark targets
11072
11073              --haddock-all
11074                     Run haddock for all targets
11075
11076              --haddock-internal
11077                     Run haddock for internal modules and include all symbols
11078
11079              --haddock-css PATH
11080                     Use PATH as the haddock stylesheet
11081
11082              --haddock-hyperlink-source, --haddock-hyperlink-sources,  --had‐
11083              dock-hyperlinked-source
11084                     Hyperlink the documentation to the source code
11085
11086              --haddock-quickjump
11087                     Generate  an  index for interactive documentation naviga‐
11088                     tion
11089
11090              --haddock-hscolour-css PATH
11091                     Use PATH as the HsColour stylesheet
11092
11093              --haddock-contents-location URL
11094                     Bake URL in as the location for the contents page
11095
11096
11097       cabal new-run
11098
11099       Usage: cabal new-run [TARGET] [FLAGS] [-- EXECUTABLE_FLAGS]
11100
11101
11102       Runs the specified executable-like component (an executable, a test, or
11103       a benchmark), first ensuring it is up to date.
11104
11105       Any  executable-like  component  in  any  package in the project can be
11106       specified.  A package can be specified if contains just one executable-
11107       like.  The default is to use the package in the current directory if it
11108       contains just one executable-like.
11109
11110       Extra arguments can be passed to the program, but use '--' to  separate
11111       arguments  for  the program from arguments for cabal. The executable is
11112       run in an environment where it can find its data files inplace  in  the
11113       build tree.
11114
11115       Dependencies  are  built or rebuilt as necessary. Additional configura‐
11116       tion flags can be specified on the command line and  these  extend  the
11117       project  configuration  from the 'cabal.project', 'cabal.project.local'
11118       and other files.
11119
11120
11121       Examples:
11122         cabal new-run
11123           Run the executable-like in the package in the current directory
11124         cabal new-run foo-tool
11125           Run the named executable-like (in any package in the project)
11126         cabal new-run pkgfoo:foo-tool
11127           Run the executable-like 'foo-tool' in the package 'pkgfoo'
11128         cabal new-run foo -O2 -- dothing --fooflag
11129           Build with '-O2' and run the program, passing it extra arguments.
11130
11131       Note: this command is part of the new project-based  system  (aka  nix-
11132       style  local  builds). These features are currently in beta. Please see
11133       http://cabal.readthedocs.io/en/latest/nix-local-build-overview.html for
11134       details  and  advice  on  what you can expect to work. If you encounter
11135       problems please file issues at  https://github.com/haskell/cabal/issues
11136       and  if you have any time to get involved and help with testing, fixing
11137       bugs etc then that is very much appreciated.
11138
11139
11140       Flags:
11141              -v, --verbose [n]
11142                     Control verbosity (n is 0--3, default verbosity level  is
11143                     1)
11144
11145              --builddir, --distdir, --distpref DIR
11146                     The  directory  where  Cabal  puts  generated build files
11147                     (default dist)
11148
11149              -g, --ghc
11150                     compile with GHC
11151
11152              --ghcjs
11153                     compile with GHCJS
11154
11155              --uhc
11156                     compile with UHC
11157
11158              --haskell-suite
11159                     compile with a haskell-suite compiler
11160
11161              --cabal-file PATH
11162                     use this Cabal file
11163
11164              -w, --with-compiler PATH
11165                     give the path to a particular compiler
11166
11167              --with-hc-pkg PATH
11168                     give the path to the package tool
11169
11170              --prefix DIR
11171                     bake this prefix in preparation of installation
11172
11173              --bindir DIR
11174                     installation directory for executables
11175
11176              --libdir DIR
11177                     installation directory for libraries
11178
11179              --libsubdir DIR
11180                     subdirectory of libdir in which libs are installed
11181
11182              --dynlibdir DIR
11183                     installation directory for dynamic libraries
11184
11185              --libexecdir DIR
11186                     installation directory for program executables
11187
11188              --libexecsubdir DIR
11189                     subdirectory of libexecdir in which  private  executables
11190                     are installed
11191
11192              --datadir DIR
11193                     installation directory for read-only data
11194
11195              --datasubdir DIR
11196                     subdirectory of datadir in which data files are installed
11197
11198              --docdir DIR
11199                     installation directory for documentation
11200
11201              --htmldir DIR
11202                     installation directory for HTML documentation
11203
11204              --haddockdir DIR
11205                     installation directory for haddock interfaces
11206
11207              --sysconfdir DIR
11208                     installation directory for configuration files
11209
11210              --program-prefix PREFIX
11211                     prefix to be applied to installed executables
11212
11213              --program-suffix SUFFIX
11214                     suffix to be applied to installed executables
11215
11216              --enable-library-vanilla
11217              --disable-library-vanilla
11218                     Vanilla libraries
11219
11220              -p, --enable-library-profiling
11221              --disable-library-profiling
11222                     Library profiling
11223
11224              --enable-shared
11225              --disable-shared
11226                     Shared library
11227
11228              --enable-static
11229              --disable-static
11230                     Static library
11231
11232              --enable-executable-dynamic
11233              --disable-executable-dynamic
11234                     Executable dynamic linking
11235
11236              --enable-profiling
11237              --disable-profiling
11238                     Executable and library profiling
11239
11240              --enable-executable-profiling
11241              --disable-executable-profiling
11242                     Executable profiling (DEPRECATED)
11243
11244              --profiling-detail level
11245                     Profiling   detail   level  for  executable  and  library
11246                     (default, none,  exported-functions,  toplevel-functions,
11247                     all-functions).
11248
11249              --library-profiling-detail level
11250                     Profiling detail level for libraries only.
11251
11252              -O, --enable-optimization, --enable-optimisation [n]
11253                     Build with optimization (n is 0--2, default is 1)
11254
11255              --disable-optimization, --disable-optimisation
11256                     Build without optimization
11257
11258              --enable-debug-info [n]
11259                     Emit debug info (n is 0--3, default is 0)
11260
11261              --disable-debug-info
11262                     Don't emit debug info
11263
11264              --enable-library-for-ghci
11265              --disable-library-for-ghci
11266                     compile library for use with GHCi
11267
11268              --enable-split-sections
11269              --disable-split-sections
11270                     compile  library  code such that unneeded definitions can
11271                     be dropped from the final executable (GHC 7.8+)
11272
11273              --enable-split-objs
11274              --disable-split-objs
11275                     split library into smaller objects to reduce binary sizes
11276                     (GHC 6.6+)
11277
11278              --enable-executable-stripping
11279              --disable-executable-stripping
11280                     strip  executables  upon  installation  to  reduce binary
11281                     sizes
11282
11283              --enable-library-stripping
11284              --disable-library-stripping
11285                     strip libraries upon installation to reduce binary sizes
11286
11287              --configure-option OPT
11288                     Extra option for configure
11289
11290              --user
11291              --global
11292                     doing a per-user installation
11293
11294              --package-db DB
11295                     Append the given package database to the list of  package
11296                     databases  used  (to  satisfy  dependencies  and register
11297                     into). May be a specific file, 'global'  or  'user'.  The
11298                     initial   list  is  ['global'],  ['global',  'user'],  or
11299                     ['global', $sandbox], depending on context.  Use  'clear'
11300                     to  reset  the  list  to  empty.  See  the user guide for
11301                     details.
11302
11303              -f, --flags FLAGS
11304                     Force values for the given flags in Cabal conditionals in
11305                     the  .cabal  file.  E.g., --flags="debug -usebytestrings"
11306                     forces the flag "debug" to true and  "usebytestrings"  to
11307                     false.
11308
11309              --extra-include-dirs PATH
11310                     A list of directories to search for header files
11311
11312              --enable-deterministic
11313              --disable-deterministic
11314                     Try  to be as deterministic as possible (used by the test
11315                     suite)
11316
11317              --ipid IPID
11318                     Installed package ID to compile this package as
11319
11320              --cid CID
11321                     Installed component ID to compile this component as
11322
11323              --extra-lib-dirs PATH
11324                     A list of directories to search for external libraries
11325
11326              --extra-framework-dirs PATH
11327                     A list of directories to search for  external  frameworks
11328                     (OS X only)
11329
11330              --extra-prog-path PATH
11331                     A list of directories to search for required programs (in
11332                     addition to the normal search locations)
11333
11334              --instantiate-with NAME=MOD
11335                     A mapping of signature names to concrete module instanti‐
11336                     ations.
11337
11338              --enable-tests
11339              --disable-tests
11340                     dependency  checking  and  compilation  for  test  suites
11341                     listed in the package description file.
11342
11343              --enable-coverage
11344              --disable-coverage
11345                     build package with Haskell Program Coverage. (GHC only)
11346
11347              --enable-library-coverage
11348              --disable-library-coverage
11349                     build package with Haskell Program Coverage.  (GHC  only)
11350                     (DEPRECATED)
11351
11352              --enable-benchmarks
11353              --disable-benchmarks
11354                     dependency checking and compilation for benchmarks listed
11355                     in the package description file.
11356
11357              --enable-relocatable
11358              --disable-relocatable
11359                     building a package that is relocatable. (GHC only)
11360
11361              --disable-response-files
11362                     enable workaround for old versions of programs like  "ar"
11363                     that do not support @file arguments
11364
11365              --with-alex PATH
11366                     give the path to alex
11367
11368              --with-ar PATH
11369                     give the path to ar
11370
11371              --with-c2hs PATH
11372                     give the path to c2hs
11373
11374              --with-cpphs PATH
11375                     give the path to cpphs
11376
11377              --with-doctest PATH
11378                     give the path to doctest
11379
11380              --with-gcc PATH
11381                     give the path to gcc
11382
11383              --with-ghc PATH
11384                     give the path to ghc
11385
11386              --with-ghc-pkg PATH
11387                     give the path to ghc-pkg
11388
11389              --with-ghcjs PATH
11390                     give the path to ghcjs
11391
11392              --with-ghcjs-pkg PATH
11393                     give the path to ghcjs-pkg
11394
11395              --with-greencard PATH
11396                     give the path to greencard
11397
11398              --with-haddock PATH
11399                     give the path to haddock
11400
11401              --with-happy PATH
11402                     give the path to happy
11403
11404              --with-haskell-suite PATH
11405                     give the path to haskell-suite
11406
11407              --with-haskell-suite-pkg PATH
11408                     give the path to haskell-suite-pkg
11409
11410              --with-hmake PATH
11411                     give the path to hmake
11412
11413              --with-hpc PATH
11414                     give the path to hpc
11415
11416              --with-hsc2hs PATH
11417                     give the path to hsc2hs
11418
11419              --with-hscolour PATH
11420                     give the path to hscolour
11421
11422              --with-jhc PATH
11423                     give the path to jhc
11424
11425              --with-ld PATH
11426                     give the path to ld
11427
11428              --with-pkg-config PATH
11429                     give the path to pkg-config
11430
11431              --with-runghc PATH
11432                     give the path to runghc
11433
11434              --with-strip PATH
11435                     give the path to strip
11436
11437              --with-tar PATH
11438                     give the path to tar
11439
11440              --with-uhc PATH
11441                     give the path to uhc
11442
11443              --alex-option OPT
11444                     give  an  extra  option to alex (no need to quote options
11445                     containing spaces)
11446
11447              --ar-option OPT
11448                     give an extra option to ar (no need to quote options con‐
11449                     taining spaces)
11450
11451              --c2hs-option OPT
11452                     give  an  extra  option to c2hs (no need to quote options
11453                     containing spaces)
11454
11455              --cpphs-option OPT
11456                     give an extra option to cpphs (no need to  quote  options
11457                     containing spaces)
11458
11459              --doctest-option OPT
11460                     give an extra option to doctest (no need to quote options
11461                     containing spaces)
11462
11463              --gcc-option OPT
11464                     give an extra option to gcc (no  need  to  quote  options
11465                     containing spaces)
11466
11467              --ghc-option OPT
11468                     give  an  extra  option  to ghc (no need to quote options
11469                     containing spaces)
11470
11471              --ghc-pkg-option OPT
11472                     give an extra option to ghc-pkg (no need to quote options
11473                     containing spaces)
11474
11475              --ghcjs-option OPT
11476                     give  an  extra option to ghcjs (no need to quote options
11477                     containing spaces)
11478
11479              --ghcjs-pkg-option OPT
11480                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
11481                     options containing spaces)
11482
11483              --greencard-option OPT
11484                     give  an  extra  option  to  greencard  (no need to quote
11485                     options containing spaces)
11486
11487              --haddock-option OPT
11488                     give an extra option to haddock (no need to quote options
11489                     containing spaces)
11490
11491              --happy-option OPT
11492                     give  an  extra option to happy (no need to quote options
11493                     containing spaces)
11494
11495              --haskell-suite-option OPT
11496                     give an extra option to haskell-suite (no need  to  quote
11497                     options containing spaces)
11498
11499              --haskell-suite-pkg-option OPT
11500                     give  an  extra  option  to haskell-suite-pkg (no need to
11501                     quote options containing spaces)
11502
11503              --hmake-option OPT
11504                     give an extra option to hmake (no need to  quote  options
11505                     containing spaces)
11506
11507              --hpc-option OPT
11508                     give  an  extra  option  to hpc (no need to quote options
11509                     containing spaces)
11510
11511              --hsc2hs-option OPT
11512                     give an extra option to hsc2hs (no need to quote  options
11513                     containing spaces)
11514
11515              --hscolour-option OPT
11516                     give  an  extra  option  to  hscolour  (no  need to quote
11517                     options containing spaces)
11518
11519              --jhc-option OPT
11520                     give an extra option to jhc (no  need  to  quote  options
11521                     containing spaces)
11522
11523              --ld-option OPT
11524                     give an extra option to ld (no need to quote options con‐
11525                     taining spaces)
11526
11527              --pkg-config-option OPT
11528                     give an extra option to  pkg-config  (no  need  to  quote
11529                     options containing spaces)
11530
11531              --runghc-option OPT
11532                     give  an extra option to runghc (no need to quote options
11533                     containing spaces)
11534
11535              --strip-option OPT
11536                     give an extra option to strip (no need to  quote  options
11537                     containing spaces)
11538
11539              --tar-option OPT
11540                     give  an  extra  option  to tar (no need to quote options
11541                     containing spaces)
11542
11543              --uhc-option OPT
11544                     give an extra option to uhc (no  need  to  quote  options
11545                     containing spaces)
11546
11547              --alex-options OPTS
11548                     give extra options to alex
11549
11550              --ar-options OPTS
11551                     give extra options to ar
11552
11553              --c2hs-options OPTS
11554                     give extra options to c2hs
11555
11556              --cpphs-options OPTS
11557                     give extra options to cpphs
11558
11559              --doctest-options OPTS
11560                     give extra options to doctest
11561
11562              --gcc-options OPTS
11563                     give extra options to gcc
11564
11565              --ghc-options OPTS
11566                     give extra options to ghc
11567
11568              --ghc-pkg-options OPTS
11569                     give extra options to ghc-pkg
11570
11571              --ghcjs-options OPTS
11572                     give extra options to ghcjs
11573
11574              --ghcjs-pkg-options OPTS
11575                     give extra options to ghcjs-pkg
11576
11577              --greencard-options OPTS
11578                     give extra options to greencard
11579
11580              --haddock-options OPTS
11581                     give extra options to haddock
11582
11583              --happy-options OPTS
11584                     give extra options to happy
11585
11586              --haskell-suite-options OPTS
11587                     give extra options to haskell-suite
11588
11589              --haskell-suite-pkg-options OPTS
11590                     give extra options to haskell-suite-pkg
11591
11592              --hmake-options OPTS
11593                     give extra options to hmake
11594
11595              --hpc-options OPTS
11596                     give extra options to hpc
11597
11598              --hsc2hs-options OPTS
11599                     give extra options to hsc2hs
11600
11601              --hscolour-options OPTS
11602                     give extra options to hscolour
11603
11604              --jhc-options OPTS
11605                     give extra options to jhc
11606
11607              --ld-options OPTS
11608                     give extra options to ld
11609
11610              --pkg-config-options OPTS
11611                     give extra options to pkg-config
11612
11613              --runghc-options OPTS
11614                     give extra options to runghc
11615
11616              --strip-options OPTS
11617                     give extra options to strip
11618
11619              --tar-options OPTS
11620                     give extra options to tar
11621
11622              --uhc-options OPTS
11623                     give extra options to uhc
11624
11625              --cabal-lib-version VERSION
11626                     Select  which  version  of  the Cabal lib to use to build
11627                     packages (useful for testing).
11628
11629              --constraint CONSTRAINT
11630                     Specify    constraints    on    a    package    (version,
11631                     installed/source, flags)
11632
11633              --preference CONSTRAINT
11634                     Specify  preferences (soft constraints) on the version of
11635                     a package
11636
11637              --solver SOLVER
11638                     Select  dependency  solver  to  use  (default:  modular).
11639                     Choices: modular.
11640
11641              --allow-older [DEPS]
11642                     Ignore lower bounds in all dependencies or DEPS
11643
11644              --allow-newer [DEPS]
11645                     Ignore upper bounds in all dependencies or DEPS
11646
11647              --enable-documentation
11648              --disable-documentation
11649                     building of documentation
11650
11651              --doc-index-file TEMPLATE
11652                     A  central  index  of haddock API documentation (template
11653                     cannot use $pkgid)
11654
11655              --dry-run
11656                     Do  not  install  anything,  only  print  what  would  be
11657                     installed.
11658
11659              --max-backjumps NUM
11660                     Maximum   number   of  backjumps  allowed  while  solving
11661                     (default: 2000). Use a negative number to  enable  unlim‐
11662                     ited  backtracking.  Use  0  to disable backtracking com‐
11663                     pletely.
11664
11665              --reorder-goals
11666              --no-reorder-goals
11667                     Try to reorder goals  according  to  certain  heuristics.
11668                     Slows  things  down on average, but may make backtracking
11669                     faster for some packages.
11670
11671              --count-conflicts
11672              --no-count-conflicts
11673                     Try to speed up solving  by  preferring  goals  that  are
11674                     involved in a lot of conflicts (default).
11675
11676              --independent-goals
11677              --no-independent-goals
11678                     Treat  several  goals on the command line as independent.
11679                     If several goals depend on the  same  package,  different
11680                     versions can be chosen.
11681
11682              --shadow-installed-packages
11683              --no-shadow-installed-packages
11684                     If  multiple  package  instances  of the same version are
11685                     installed, treat all but one as shadowed.
11686
11687              --strong-flags
11688              --no-strong-flags
11689                     Do not defer flag choices (this used to be the default in
11690                     cabal-install <= 1.20).
11691
11692              --allow-boot-library-installs
11693              --no-allow-boot-library-installs
11694                     Allow  cabal  to  install base, ghc-prim, integer-simple,
11695                     integer-gmp, and template-haskell.
11696
11697              --reinstall
11698              --no-reinstall
11699                     Install even if it  means  installing  the  same  version
11700                     again.
11701
11702              --avoid-reinstalls
11703              --no-avoid-reinstalls
11704                     Do not select versions that would destructively overwrite
11705                     installed packages.
11706
11707              --force-reinstalls
11708              --no-force-reinstalls
11709                     Reinstall packages even if they will  most  likely  break
11710                     other installed packages.
11711
11712              --upgrade-dependencies
11713              --no-upgrade-dependencies
11714                     Pick the latest version for all dependencies, rather than
11715                     trying to pick an installed version.
11716
11717              --only-dependencies
11718              --no-only-dependencies
11719                     Install only the  dependencies  necessary  to  build  the
11720                     given packages
11721
11722              --dependencies-only
11723              --no-dependencies-only
11724                     A synonym for --only-dependencies
11725
11726              --index-state STATE
11727                     Use  source package index state as it existed at a previ‐
11728                     ous time. Accepts unix-timestamps  (e.g.  '@1474732068'),
11729                     ISO8601  UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or
11730                     'HEAD' (default: 'HEAD').
11731
11732              --root-cmd COMMAND
11733                     (No longer supported, do not use.)
11734
11735              --symlink-bindir DIR
11736                     Add symlinks to installed executables  into  this  direc‐
11737                     tory.
11738
11739              --build-summary TEMPLATE
11740                     Save  build  summaries  to  file  (name  template can use
11741                     $pkgid, $compiler, $os, $arch)
11742
11743              --build-log TEMPLATE
11744                     Log all builds to file (name  template  can  use  $pkgid,
11745                     $compiler, $os, $arch)
11746
11747              --remote-build-reporting LEVEL
11748                     Generate  build reports to send to a remote server (none,
11749                     anonymous or detailed).
11750
11751              --report-planning-failure
11752                     Generate build reports when the dependency solver  fails.
11753                     This is used by the Hackage build bot.
11754
11755              --enable-per-component
11756              --disable-per-component
11757                     Per-component builds when possible
11758
11759              --one-shot
11760              --no-one-shot
11761                     Do not record the packages in the world file.
11762
11763              --run-tests
11764                     Run package test suites during installation.
11765
11766              -j, --jobs [NUM]
11767                     Run  NUM  jobs  simultaneously  (or '$ncpus' if no NUM is
11768                     given).
11769
11770              --keep-going
11771                     After a build failure, continue to build other unaffected
11772                     packages.
11773
11774              --offline
11775              --no-offline
11776                     Don't download packages from the Internet.
11777
11778              --project-file FILE
11779                     Set  the  name of the cabal.project file to search for in
11780                     parent directories
11781
11782              --only
11783                     Only installs the package in the current directory.
11784
11785              --haddock-hoogle
11786                     Generate a hoogle database
11787
11788              --haddock-html
11789                     Generate HTML documentation (the default)
11790
11791              --haddock-html-location URL
11792                     Location of HTML documentation for pre-requisite packages
11793
11794              --haddock-for-hackage
11795                     Collection of flags to  generate  documentation  suitable
11796                     for upload to hackage
11797
11798              --haddock-executables
11799                     Run haddock for Executables targets
11800
11801              --haddock-tests
11802                     Run haddock for Test Suite targets
11803
11804              --haddock-benchmarks
11805                     Run haddock for Benchmark targets
11806
11807              --haddock-all
11808                     Run haddock for all targets
11809
11810              --haddock-internal
11811                     Run haddock for internal modules and include all symbols
11812
11813              --haddock-css PATH
11814                     Use PATH as the haddock stylesheet
11815
11816              --haddock-hyperlink-source,  --haddock-hyperlink-sources, --had‐
11817              dock-hyperlinked-source
11818                     Hyperlink the documentation to the source code
11819
11820              --haddock-quickjump
11821                     Generate an index for interactive  documentation  naviga‐
11822                     tion
11823
11824              --haddock-hscolour-css PATH
11825                     Use PATH as the HsColour stylesheet
11826
11827              --haddock-contents-location URL
11828                     Bake URL in as the location for the contents page
11829
11830
11831       cabal v2-test
11832
11833       Usage: cabal v2-test [TARGETS] [FLAGS]
11834
11835
11836       Runs the specified test-suites, first ensuring they are up to date.
11837
11838       Any  test-suite in any package in the project can be specified. A pack‐
11839       age can be specified in which case all the test-suites in  the  package
11840       are  run.  The  default is to run all the test-suites in the package in
11841       the current directory.
11842
11843       Dependencies are built or rebuilt as necessary.  Additional  configura‐
11844       tion  flags  can  be specified on the command line and these extend the
11845       project configuration from the  'cabal.project',  'cabal.project.local'
11846       and other files.
11847
11848       To pass command-line arguments to a test suite, see the v2-run command.
11849
11850
11851       Runs the specified test-suites, first ensuring they are up to date.
11852
11853       Any  test-suite in any package in the project can be specified. A pack‐
11854       age can be specified in which case all the test-suites in  the  package
11855       are  run.  The  default is to run all the test-suites in the package in
11856       the current directory.
11857
11858       Dependencies are built or rebuilt as necessary.  Additional  configura‐
11859       tion  flags  can  be specified on the command line and these extend the
11860       project configuration from the  'cabal.project',  'cabal.project.local'
11861       and other files.
11862
11863       To pass command-line arguments to a test suite, see the v2-run command.
11864
11865
11866       Flags:
11867              -v, --verbose [n]
11868                     Control  verbosity (n is 0--3, default verbosity level is
11869                     1)
11870
11871              --builddir, --distdir, --distpref DIR
11872                     The directory where  Cabal  puts  generated  build  files
11873                     (default dist)
11874
11875              -g, --ghc
11876                     compile with GHC
11877
11878              --ghcjs
11879                     compile with GHCJS
11880
11881              --uhc
11882                     compile with UHC
11883
11884              --haskell-suite
11885                     compile with a haskell-suite compiler
11886
11887              --cabal-file PATH
11888                     use this Cabal file
11889
11890              -w, --with-compiler PATH
11891                     give the path to a particular compiler
11892
11893              --with-hc-pkg PATH
11894                     give the path to the package tool
11895
11896              --prefix DIR
11897                     bake this prefix in preparation of installation
11898
11899              --bindir DIR
11900                     installation directory for executables
11901
11902              --libdir DIR
11903                     installation directory for libraries
11904
11905              --libsubdir DIR
11906                     subdirectory of libdir in which libs are installed
11907
11908              --dynlibdir DIR
11909                     installation directory for dynamic libraries
11910
11911              --libexecdir DIR
11912                     installation directory for program executables
11913
11914              --libexecsubdir DIR
11915                     subdirectory  of  libexecdir in which private executables
11916                     are installed
11917
11918              --datadir DIR
11919                     installation directory for read-only data
11920
11921              --datasubdir DIR
11922                     subdirectory of datadir in which data files are installed
11923
11924              --docdir DIR
11925                     installation directory for documentation
11926
11927              --htmldir DIR
11928                     installation directory for HTML documentation
11929
11930              --haddockdir DIR
11931                     installation directory for haddock interfaces
11932
11933              --sysconfdir DIR
11934                     installation directory for configuration files
11935
11936              --program-prefix PREFIX
11937                     prefix to be applied to installed executables
11938
11939              --program-suffix SUFFIX
11940                     suffix to be applied to installed executables
11941
11942              --enable-library-vanilla
11943              --disable-library-vanilla
11944                     Vanilla libraries
11945
11946              -p, --enable-library-profiling
11947              --disable-library-profiling
11948                     Library profiling
11949
11950              --enable-shared
11951              --disable-shared
11952                     Shared library
11953
11954              --enable-static
11955              --disable-static
11956                     Static library
11957
11958              --enable-executable-dynamic
11959              --disable-executable-dynamic
11960                     Executable dynamic linking
11961
11962              --enable-profiling
11963              --disable-profiling
11964                     Executable and library profiling
11965
11966              --enable-executable-profiling
11967              --disable-executable-profiling
11968                     Executable profiling (DEPRECATED)
11969
11970              --profiling-detail level
11971                     Profiling  detail  level  for  executable   and   library
11972                     (default,  none,  exported-functions, toplevel-functions,
11973                     all-functions).
11974
11975              --library-profiling-detail level
11976                     Profiling detail level for libraries only.
11977
11978              -O, --enable-optimization, --enable-optimisation [n]
11979                     Build with optimization (n is 0--2, default is 1)
11980
11981              --disable-optimization, --disable-optimisation
11982                     Build without optimization
11983
11984              --enable-debug-info [n]
11985                     Emit debug info (n is 0--3, default is 0)
11986
11987              --disable-debug-info
11988                     Don't emit debug info
11989
11990              --enable-library-for-ghci
11991              --disable-library-for-ghci
11992                     compile library for use with GHCi
11993
11994              --enable-split-sections
11995              --disable-split-sections
11996                     compile library code such that unneeded  definitions  can
11997                     be dropped from the final executable (GHC 7.8+)
11998
11999              --enable-split-objs
12000              --disable-split-objs
12001                     split library into smaller objects to reduce binary sizes
12002                     (GHC 6.6+)
12003
12004              --enable-executable-stripping
12005              --disable-executable-stripping
12006                     strip executables  upon  installation  to  reduce  binary
12007                     sizes
12008
12009              --enable-library-stripping
12010              --disable-library-stripping
12011                     strip libraries upon installation to reduce binary sizes
12012
12013              --configure-option OPT
12014                     Extra option for configure
12015
12016              --user
12017              --global
12018                     doing a per-user installation
12019
12020              --package-db DB
12021                     Append  the given package database to the list of package
12022                     databases used  (to  satisfy  dependencies  and  register
12023                     into).  May  be  a specific file, 'global' or 'user'. The
12024                     initial  list  is  ['global'],  ['global',  'user'],   or
12025                     ['global',  $sandbox],  depending on context. Use 'clear'
12026                     to reset the list  to  empty.  See  the  user  guide  for
12027                     details.
12028
12029              -f, --flags FLAGS
12030                     Force values for the given flags in Cabal conditionals in
12031                     the .cabal file.  E.g.,  --flags="debug  -usebytestrings"
12032                     forces  the  flag "debug" to true and "usebytestrings" to
12033                     false.
12034
12035              --extra-include-dirs PATH
12036                     A list of directories to search for header files
12037
12038              --enable-deterministic
12039              --disable-deterministic
12040                     Try to be as deterministic as possible (used by the  test
12041                     suite)
12042
12043              --ipid IPID
12044                     Installed package ID to compile this package as
12045
12046              --cid CID
12047                     Installed component ID to compile this component as
12048
12049              --extra-lib-dirs PATH
12050                     A list of directories to search for external libraries
12051
12052              --extra-framework-dirs PATH
12053                     A  list  of directories to search for external frameworks
12054                     (OS X only)
12055
12056              --extra-prog-path PATH
12057                     A list of directories to search for required programs (in
12058                     addition to the normal search locations)
12059
12060              --instantiate-with NAME=MOD
12061                     A mapping of signature names to concrete module instanti‐
12062                     ations.
12063
12064              --enable-tests
12065              --disable-tests
12066                     dependency  checking  and  compilation  for  test  suites
12067                     listed in the package description file.
12068
12069              --enable-coverage
12070              --disable-coverage
12071                     build package with Haskell Program Coverage. (GHC only)
12072
12073              --enable-library-coverage
12074              --disable-library-coverage
12075                     build  package  with Haskell Program Coverage. (GHC only)
12076                     (DEPRECATED)
12077
12078              --enable-benchmarks
12079              --disable-benchmarks
12080                     dependency checking and compilation for benchmarks listed
12081                     in the package description file.
12082
12083              --enable-relocatable
12084              --disable-relocatable
12085                     building a package that is relocatable. (GHC only)
12086
12087              --disable-response-files
12088                     enable  workaround for old versions of programs like "ar"
12089                     that do not support @file arguments
12090
12091              --with-alex PATH
12092                     give the path to alex
12093
12094              --with-ar PATH
12095                     give the path to ar
12096
12097              --with-c2hs PATH
12098                     give the path to c2hs
12099
12100              --with-cpphs PATH
12101                     give the path to cpphs
12102
12103              --with-doctest PATH
12104                     give the path to doctest
12105
12106              --with-gcc PATH
12107                     give the path to gcc
12108
12109              --with-ghc PATH
12110                     give the path to ghc
12111
12112              --with-ghc-pkg PATH
12113                     give the path to ghc-pkg
12114
12115              --with-ghcjs PATH
12116                     give the path to ghcjs
12117
12118              --with-ghcjs-pkg PATH
12119                     give the path to ghcjs-pkg
12120
12121              --with-greencard PATH
12122                     give the path to greencard
12123
12124              --with-haddock PATH
12125                     give the path to haddock
12126
12127              --with-happy PATH
12128                     give the path to happy
12129
12130              --with-haskell-suite PATH
12131                     give the path to haskell-suite
12132
12133              --with-haskell-suite-pkg PATH
12134                     give the path to haskell-suite-pkg
12135
12136              --with-hmake PATH
12137                     give the path to hmake
12138
12139              --with-hpc PATH
12140                     give the path to hpc
12141
12142              --with-hsc2hs PATH
12143                     give the path to hsc2hs
12144
12145              --with-hscolour PATH
12146                     give the path to hscolour
12147
12148              --with-jhc PATH
12149                     give the path to jhc
12150
12151              --with-ld PATH
12152                     give the path to ld
12153
12154              --with-pkg-config PATH
12155                     give the path to pkg-config
12156
12157              --with-runghc PATH
12158                     give the path to runghc
12159
12160              --with-strip PATH
12161                     give the path to strip
12162
12163              --with-tar PATH
12164                     give the path to tar
12165
12166              --with-uhc PATH
12167                     give the path to uhc
12168
12169              --alex-option OPT
12170                     give an extra option to alex (no need  to  quote  options
12171                     containing spaces)
12172
12173              --ar-option OPT
12174                     give an extra option to ar (no need to quote options con‐
12175                     taining spaces)
12176
12177              --c2hs-option OPT
12178                     give an extra option to c2hs (no need  to  quote  options
12179                     containing spaces)
12180
12181              --cpphs-option OPT
12182                     give  an  extra option to cpphs (no need to quote options
12183                     containing spaces)
12184
12185              --doctest-option OPT
12186                     give an extra option to doctest (no need to quote options
12187                     containing spaces)
12188
12189              --gcc-option OPT
12190                     give  an  extra  option  to gcc (no need to quote options
12191                     containing spaces)
12192
12193              --ghc-option OPT
12194                     give an extra option to ghc (no  need  to  quote  options
12195                     containing spaces)
12196
12197              --ghc-pkg-option OPT
12198                     give an extra option to ghc-pkg (no need to quote options
12199                     containing spaces)
12200
12201              --ghcjs-option OPT
12202                     give an extra option to ghcjs (no need to  quote  options
12203                     containing spaces)
12204
12205              --ghcjs-pkg-option OPT
12206                     give  an  extra  option  to  ghcjs-pkg  (no need to quote
12207                     options containing spaces)
12208
12209              --greencard-option OPT
12210                     give an extra option  to  greencard  (no  need  to  quote
12211                     options containing spaces)
12212
12213              --haddock-option OPT
12214                     give an extra option to haddock (no need to quote options
12215                     containing spaces)
12216
12217              --happy-option OPT
12218                     give an extra option to happy (no need to  quote  options
12219                     containing spaces)
12220
12221              --haskell-suite-option OPT
12222                     give  an  extra option to haskell-suite (no need to quote
12223                     options containing spaces)
12224
12225              --haskell-suite-pkg-option OPT
12226                     give an extra option to  haskell-suite-pkg  (no  need  to
12227                     quote options containing spaces)
12228
12229              --hmake-option OPT
12230                     give  an  extra option to hmake (no need to quote options
12231                     containing spaces)
12232
12233              --hpc-option OPT
12234                     give an extra option to hpc (no  need  to  quote  options
12235                     containing spaces)
12236
12237              --hsc2hs-option OPT
12238                     give  an extra option to hsc2hs (no need to quote options
12239                     containing spaces)
12240
12241              --hscolour-option OPT
12242                     give an extra  option  to  hscolour  (no  need  to  quote
12243                     options containing spaces)
12244
12245              --jhc-option OPT
12246                     give  an  extra  option  to jhc (no need to quote options
12247                     containing spaces)
12248
12249              --ld-option OPT
12250                     give an extra option to ld (no need to quote options con‐
12251                     taining spaces)
12252
12253              --pkg-config-option OPT
12254                     give  an  extra  option  to  pkg-config (no need to quote
12255                     options containing spaces)
12256
12257              --runghc-option OPT
12258                     give an extra option to runghc (no need to quote  options
12259                     containing spaces)
12260
12261              --strip-option OPT
12262                     give  an  extra option to strip (no need to quote options
12263                     containing spaces)
12264
12265              --tar-option OPT
12266                     give an extra option to tar (no  need  to  quote  options
12267                     containing spaces)
12268
12269              --uhc-option OPT
12270                     give  an  extra  option  to uhc (no need to quote options
12271                     containing spaces)
12272
12273              --alex-options OPTS
12274                     give extra options to alex
12275
12276              --ar-options OPTS
12277                     give extra options to ar
12278
12279              --c2hs-options OPTS
12280                     give extra options to c2hs
12281
12282              --cpphs-options OPTS
12283                     give extra options to cpphs
12284
12285              --doctest-options OPTS
12286                     give extra options to doctest
12287
12288              --gcc-options OPTS
12289                     give extra options to gcc
12290
12291              --ghc-options OPTS
12292                     give extra options to ghc
12293
12294              --ghc-pkg-options OPTS
12295                     give extra options to ghc-pkg
12296
12297              --ghcjs-options OPTS
12298                     give extra options to ghcjs
12299
12300              --ghcjs-pkg-options OPTS
12301                     give extra options to ghcjs-pkg
12302
12303              --greencard-options OPTS
12304                     give extra options to greencard
12305
12306              --haddock-options OPTS
12307                     give extra options to haddock
12308
12309              --happy-options OPTS
12310                     give extra options to happy
12311
12312              --haskell-suite-options OPTS
12313                     give extra options to haskell-suite
12314
12315              --haskell-suite-pkg-options OPTS
12316                     give extra options to haskell-suite-pkg
12317
12318              --hmake-options OPTS
12319                     give extra options to hmake
12320
12321              --hpc-options OPTS
12322                     give extra options to hpc
12323
12324              --hsc2hs-options OPTS
12325                     give extra options to hsc2hs
12326
12327              --hscolour-options OPTS
12328                     give extra options to hscolour
12329
12330              --jhc-options OPTS
12331                     give extra options to jhc
12332
12333              --ld-options OPTS
12334                     give extra options to ld
12335
12336              --pkg-config-options OPTS
12337                     give extra options to pkg-config
12338
12339              --runghc-options OPTS
12340                     give extra options to runghc
12341
12342              --strip-options OPTS
12343                     give extra options to strip
12344
12345              --tar-options OPTS
12346                     give extra options to tar
12347
12348              --uhc-options OPTS
12349                     give extra options to uhc
12350
12351              --cabal-lib-version VERSION
12352                     Select which version of the Cabal lib  to  use  to  build
12353                     packages (useful for testing).
12354
12355              --constraint CONSTRAINT
12356                     Specify    constraints    on    a    package    (version,
12357                     installed/source, flags)
12358
12359              --preference CONSTRAINT
12360                     Specify preferences (soft constraints) on the version  of
12361                     a package
12362
12363              --solver SOLVER
12364                     Select  dependency  solver  to  use  (default:  modular).
12365                     Choices: modular.
12366
12367              --allow-older [DEPS]
12368                     Ignore lower bounds in all dependencies or DEPS
12369
12370              --allow-newer [DEPS]
12371                     Ignore upper bounds in all dependencies or DEPS
12372
12373              --enable-documentation
12374              --disable-documentation
12375                     building of documentation
12376
12377              --doc-index-file TEMPLATE
12378                     A central index of haddock  API  documentation  (template
12379                     cannot use $pkgid)
12380
12381              --dry-run
12382                     Do  not  install  anything,  only  print  what  would  be
12383                     installed.
12384
12385              --max-backjumps NUM
12386                     Maximum  number  of  backjumps  allowed   while   solving
12387                     (default:  2000).  Use a negative number to enable unlim‐
12388                     ited backtracking. Use 0  to  disable  backtracking  com‐
12389                     pletely.
12390
12391              --reorder-goals
12392              --no-reorder-goals
12393                     Try  to  reorder  goals  according to certain heuristics.
12394                     Slows things down on average, but may  make  backtracking
12395                     faster for some packages.
12396
12397              --count-conflicts
12398              --no-count-conflicts
12399                     Try  to  speed  up  solving  by preferring goals that are
12400                     involved in a lot of conflicts (default).
12401
12402              --independent-goals
12403              --no-independent-goals
12404                     Treat several goals on the command line  as  independent.
12405                     If  several  goals  depend on the same package, different
12406                     versions can be chosen.
12407
12408              --shadow-installed-packages
12409              --no-shadow-installed-packages
12410                     If multiple package instances of  the  same  version  are
12411                     installed, treat all but one as shadowed.
12412
12413              --strong-flags
12414              --no-strong-flags
12415                     Do not defer flag choices (this used to be the default in
12416                     cabal-install <= 1.20).
12417
12418              --allow-boot-library-installs
12419              --no-allow-boot-library-installs
12420                     Allow cabal to install  base,  ghc-prim,  integer-simple,
12421                     integer-gmp, and template-haskell.
12422
12423              --reinstall
12424              --no-reinstall
12425                     Install  even  if  it  means  installing the same version
12426                     again.
12427
12428              --avoid-reinstalls
12429              --no-avoid-reinstalls
12430                     Do not select versions that would destructively overwrite
12431                     installed packages.
12432
12433              --force-reinstalls
12434              --no-force-reinstalls
12435                     Reinstall  packages  even  if they will most likely break
12436                     other installed packages.
12437
12438              --upgrade-dependencies
12439              --no-upgrade-dependencies
12440                     Pick the latest version for all dependencies, rather than
12441                     trying to pick an installed version.
12442
12443              --only-dependencies
12444              --no-only-dependencies
12445                     Install  only  the  dependencies  necessary  to build the
12446                     given packages
12447
12448              --dependencies-only
12449              --no-dependencies-only
12450                     A synonym for --only-dependencies
12451
12452              --index-state STATE
12453                     Use source package index state as it existed at a  previ‐
12454                     ous  time.  Accepts unix-timestamps (e.g. '@1474732068'),
12455                     ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'),  or
12456                     'HEAD' (default: 'HEAD').
12457
12458              --root-cmd COMMAND
12459                     (No longer supported, do not use.)
12460
12461              --symlink-bindir DIR
12462                     Add  symlinks  to  installed executables into this direc‐
12463                     tory.
12464
12465              --build-summary TEMPLATE
12466                     Save build summaries  to  file  (name  template  can  use
12467                     $pkgid, $compiler, $os, $arch)
12468
12469              --build-log TEMPLATE
12470                     Log  all  builds  to  file (name template can use $pkgid,
12471                     $compiler, $os, $arch)
12472
12473              --remote-build-reporting LEVEL
12474                     Generate build reports to send to a remote server  (none,
12475                     anonymous or detailed).
12476
12477              --report-planning-failure
12478                     Generate  build reports when the dependency solver fails.
12479                     This is used by the Hackage build bot.
12480
12481              --enable-per-component
12482              --disable-per-component
12483                     Per-component builds when possible
12484
12485              --one-shot
12486              --no-one-shot
12487                     Do not record the packages in the world file.
12488
12489              --run-tests
12490                     Run package test suites during installation.
12491
12492              -j, --jobs [NUM]
12493                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
12494                     given).
12495
12496              --keep-going
12497                     After a build failure, continue to build other unaffected
12498                     packages.
12499
12500              --offline
12501              --no-offline
12502                     Don't download packages from the Internet.
12503
12504              --project-file FILE
12505                     Set the name of the cabal.project file to search  for  in
12506                     parent directories
12507
12508              --only
12509                     Only installs the package in the current directory.
12510
12511              --haddock-hoogle
12512                     Generate a hoogle database
12513
12514              --haddock-html
12515                     Generate HTML documentation (the default)
12516
12517              --haddock-html-location URL
12518                     Location of HTML documentation for pre-requisite packages
12519
12520              --haddock-for-hackage
12521                     Collection  of  flags  to generate documentation suitable
12522                     for upload to hackage
12523
12524              --haddock-executables
12525                     Run haddock for Executables targets
12526
12527              --haddock-tests
12528                     Run haddock for Test Suite targets
12529
12530              --haddock-benchmarks
12531                     Run haddock for Benchmark targets
12532
12533              --haddock-all
12534                     Run haddock for all targets
12535
12536              --haddock-internal
12537                     Run haddock for internal modules and include all symbols
12538
12539              --haddock-css PATH
12540                     Use PATH as the haddock stylesheet
12541
12542              --haddock-hyperlink-source, --haddock-hyperlink-sources,  --had‐
12543              dock-hyperlinked-source
12544                     Hyperlink the documentation to the source code
12545
12546              --haddock-quickjump
12547                     Generate  an  index for interactive documentation naviga‐
12548                     tion
12549
12550              --haddock-hscolour-css PATH
12551                     Use PATH as the HsColour stylesheet
12552
12553              --haddock-contents-location URL
12554                     Bake URL in as the location for the contents page
12555
12556
12557       cabal new-test
12558
12559       Usage: cabal new-test [TARGETS] [FLAGS]
12560
12561
12562       Runs the specified test-suites, first ensuring they are up to date.
12563
12564       Any test-suite in any package in the project can be specified. A  pack‐
12565       age  can  be specified in which case all the test-suites in the package
12566       are run. The default is to run all the test-suites in  the  package  in
12567       the current directory.
12568
12569       Dependencies  are  built or rebuilt as necessary. Additional configura‐
12570       tion flags can be specified on the command line and  these  extend  the
12571       project  configuration  from the 'cabal.project', 'cabal.project.local'
12572       and other files.
12573
12574       To pass command-line arguments to a test suite, see  the  new-run  com‐
12575       mand.
12576
12577
12578       Examples:
12579         cabal new-test
12580           Run all the test-suites in the package in the current directory
12581         cabal new-test pkgname
12582           Run all the test-suites in the package named pkgname
12583         cabal new-test cname
12584           Run the test-suite named cname
12585         cabal new-test cname --enable-coverage
12586           Run  the  test-suite built with code coverage (including local libs
12587       used)
12588
12589       Note: this command is part of the new project-based  system  (aka  nix-
12590       style  local  builds). These features are currently in beta. Please see
12591       http://cabal.readthedocs.io/en/latest/nix-local-build-overview.html for
12592       details  and  advice  on  what you can expect to work. If you encounter
12593       problems please file issues at  https://github.com/haskell/cabal/issues
12594       and  if you have any time to get involved and help with testing, fixing
12595       bugs etc then that is very much appreciated.
12596
12597
12598       Flags:
12599              -v, --verbose [n]
12600                     Control verbosity (n is 0--3, default verbosity level  is
12601                     1)
12602
12603              --builddir, --distdir, --distpref DIR
12604                     The  directory  where  Cabal  puts  generated build files
12605                     (default dist)
12606
12607              -g, --ghc
12608                     compile with GHC
12609
12610              --ghcjs
12611                     compile with GHCJS
12612
12613              --uhc
12614                     compile with UHC
12615
12616              --haskell-suite
12617                     compile with a haskell-suite compiler
12618
12619              --cabal-file PATH
12620                     use this Cabal file
12621
12622              -w, --with-compiler PATH
12623                     give the path to a particular compiler
12624
12625              --with-hc-pkg PATH
12626                     give the path to the package tool
12627
12628              --prefix DIR
12629                     bake this prefix in preparation of installation
12630
12631              --bindir DIR
12632                     installation directory for executables
12633
12634              --libdir DIR
12635                     installation directory for libraries
12636
12637              --libsubdir DIR
12638                     subdirectory of libdir in which libs are installed
12639
12640              --dynlibdir DIR
12641                     installation directory for dynamic libraries
12642
12643              --libexecdir DIR
12644                     installation directory for program executables
12645
12646              --libexecsubdir DIR
12647                     subdirectory of libexecdir in which  private  executables
12648                     are installed
12649
12650              --datadir DIR
12651                     installation directory for read-only data
12652
12653              --datasubdir DIR
12654                     subdirectory of datadir in which data files are installed
12655
12656              --docdir DIR
12657                     installation directory for documentation
12658
12659              --htmldir DIR
12660                     installation directory for HTML documentation
12661
12662              --haddockdir DIR
12663                     installation directory for haddock interfaces
12664
12665              --sysconfdir DIR
12666                     installation directory for configuration files
12667
12668              --program-prefix PREFIX
12669                     prefix to be applied to installed executables
12670
12671              --program-suffix SUFFIX
12672                     suffix to be applied to installed executables
12673
12674              --enable-library-vanilla
12675              --disable-library-vanilla
12676                     Vanilla libraries
12677
12678              -p, --enable-library-profiling
12679              --disable-library-profiling
12680                     Library profiling
12681
12682              --enable-shared
12683              --disable-shared
12684                     Shared library
12685
12686              --enable-static
12687              --disable-static
12688                     Static library
12689
12690              --enable-executable-dynamic
12691              --disable-executable-dynamic
12692                     Executable dynamic linking
12693
12694              --enable-profiling
12695              --disable-profiling
12696                     Executable and library profiling
12697
12698              --enable-executable-profiling
12699              --disable-executable-profiling
12700                     Executable profiling (DEPRECATED)
12701
12702              --profiling-detail level
12703                     Profiling   detail   level  for  executable  and  library
12704                     (default, none,  exported-functions,  toplevel-functions,
12705                     all-functions).
12706
12707              --library-profiling-detail level
12708                     Profiling detail level for libraries only.
12709
12710              -O, --enable-optimization, --enable-optimisation [n]
12711                     Build with optimization (n is 0--2, default is 1)
12712
12713              --disable-optimization, --disable-optimisation
12714                     Build without optimization
12715
12716              --enable-debug-info [n]
12717                     Emit debug info (n is 0--3, default is 0)
12718
12719              --disable-debug-info
12720                     Don't emit debug info
12721
12722              --enable-library-for-ghci
12723              --disable-library-for-ghci
12724                     compile library for use with GHCi
12725
12726              --enable-split-sections
12727              --disable-split-sections
12728                     compile  library  code such that unneeded definitions can
12729                     be dropped from the final executable (GHC 7.8+)
12730
12731              --enable-split-objs
12732              --disable-split-objs
12733                     split library into smaller objects to reduce binary sizes
12734                     (GHC 6.6+)
12735
12736              --enable-executable-stripping
12737              --disable-executable-stripping
12738                     strip  executables  upon  installation  to  reduce binary
12739                     sizes
12740
12741              --enable-library-stripping
12742              --disable-library-stripping
12743                     strip libraries upon installation to reduce binary sizes
12744
12745              --configure-option OPT
12746                     Extra option for configure
12747
12748              --user
12749              --global
12750                     doing a per-user installation
12751
12752              --package-db DB
12753                     Append the given package database to the list of  package
12754                     databases  used  (to  satisfy  dependencies  and register
12755                     into). May be a specific file, 'global'  or  'user'.  The
12756                     initial   list  is  ['global'],  ['global',  'user'],  or
12757                     ['global', $sandbox], depending on context.  Use  'clear'
12758                     to  reset  the  list  to  empty.  See  the user guide for
12759                     details.
12760
12761              -f, --flags FLAGS
12762                     Force values for the given flags in Cabal conditionals in
12763                     the  .cabal  file.  E.g., --flags="debug -usebytestrings"
12764                     forces the flag "debug" to true and  "usebytestrings"  to
12765                     false.
12766
12767              --extra-include-dirs PATH
12768                     A list of directories to search for header files
12769
12770              --enable-deterministic
12771              --disable-deterministic
12772                     Try  to be as deterministic as possible (used by the test
12773                     suite)
12774
12775              --ipid IPID
12776                     Installed package ID to compile this package as
12777
12778              --cid CID
12779                     Installed component ID to compile this component as
12780
12781              --extra-lib-dirs PATH
12782                     A list of directories to search for external libraries
12783
12784              --extra-framework-dirs PATH
12785                     A list of directories to search for  external  frameworks
12786                     (OS X only)
12787
12788              --extra-prog-path PATH
12789                     A list of directories to search for required programs (in
12790                     addition to the normal search locations)
12791
12792              --instantiate-with NAME=MOD
12793                     A mapping of signature names to concrete module instanti‐
12794                     ations.
12795
12796              --enable-tests
12797              --disable-tests
12798                     dependency  checking  and  compilation  for  test  suites
12799                     listed in the package description file.
12800
12801              --enable-coverage
12802              --disable-coverage
12803                     build package with Haskell Program Coverage. (GHC only)
12804
12805              --enable-library-coverage
12806              --disable-library-coverage
12807                     build package with Haskell Program Coverage.  (GHC  only)
12808                     (DEPRECATED)
12809
12810              --enable-benchmarks
12811              --disable-benchmarks
12812                     dependency checking and compilation for benchmarks listed
12813                     in the package description file.
12814
12815              --enable-relocatable
12816              --disable-relocatable
12817                     building a package that is relocatable. (GHC only)
12818
12819              --disable-response-files
12820                     enable workaround for old versions of programs like  "ar"
12821                     that do not support @file arguments
12822
12823              --with-alex PATH
12824                     give the path to alex
12825
12826              --with-ar PATH
12827                     give the path to ar
12828
12829              --with-c2hs PATH
12830                     give the path to c2hs
12831
12832              --with-cpphs PATH
12833                     give the path to cpphs
12834
12835              --with-doctest PATH
12836                     give the path to doctest
12837
12838              --with-gcc PATH
12839                     give the path to gcc
12840
12841              --with-ghc PATH
12842                     give the path to ghc
12843
12844              --with-ghc-pkg PATH
12845                     give the path to ghc-pkg
12846
12847              --with-ghcjs PATH
12848                     give the path to ghcjs
12849
12850              --with-ghcjs-pkg PATH
12851                     give the path to ghcjs-pkg
12852
12853              --with-greencard PATH
12854                     give the path to greencard
12855
12856              --with-haddock PATH
12857                     give the path to haddock
12858
12859              --with-happy PATH
12860                     give the path to happy
12861
12862              --with-haskell-suite PATH
12863                     give the path to haskell-suite
12864
12865              --with-haskell-suite-pkg PATH
12866                     give the path to haskell-suite-pkg
12867
12868              --with-hmake PATH
12869                     give the path to hmake
12870
12871              --with-hpc PATH
12872                     give the path to hpc
12873
12874              --with-hsc2hs PATH
12875                     give the path to hsc2hs
12876
12877              --with-hscolour PATH
12878                     give the path to hscolour
12879
12880              --with-jhc PATH
12881                     give the path to jhc
12882
12883              --with-ld PATH
12884                     give the path to ld
12885
12886              --with-pkg-config PATH
12887                     give the path to pkg-config
12888
12889              --with-runghc PATH
12890                     give the path to runghc
12891
12892              --with-strip PATH
12893                     give the path to strip
12894
12895              --with-tar PATH
12896                     give the path to tar
12897
12898              --with-uhc PATH
12899                     give the path to uhc
12900
12901              --alex-option OPT
12902                     give  an  extra  option to alex (no need to quote options
12903                     containing spaces)
12904
12905              --ar-option OPT
12906                     give an extra option to ar (no need to quote options con‐
12907                     taining spaces)
12908
12909              --c2hs-option OPT
12910                     give  an  extra  option to c2hs (no need to quote options
12911                     containing spaces)
12912
12913              --cpphs-option OPT
12914                     give an extra option to cpphs (no need to  quote  options
12915                     containing spaces)
12916
12917              --doctest-option OPT
12918                     give an extra option to doctest (no need to quote options
12919                     containing spaces)
12920
12921              --gcc-option OPT
12922                     give an extra option to gcc (no  need  to  quote  options
12923                     containing spaces)
12924
12925              --ghc-option OPT
12926                     give  an  extra  option  to ghc (no need to quote options
12927                     containing spaces)
12928
12929              --ghc-pkg-option OPT
12930                     give an extra option to ghc-pkg (no need to quote options
12931                     containing spaces)
12932
12933              --ghcjs-option OPT
12934                     give  an  extra option to ghcjs (no need to quote options
12935                     containing spaces)
12936
12937              --ghcjs-pkg-option OPT
12938                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
12939                     options containing spaces)
12940
12941              --greencard-option OPT
12942                     give  an  extra  option  to  greencard  (no need to quote
12943                     options containing spaces)
12944
12945              --haddock-option OPT
12946                     give an extra option to haddock (no need to quote options
12947                     containing spaces)
12948
12949              --happy-option OPT
12950                     give  an  extra option to happy (no need to quote options
12951                     containing spaces)
12952
12953              --haskell-suite-option OPT
12954                     give an extra option to haskell-suite (no need  to  quote
12955                     options containing spaces)
12956
12957              --haskell-suite-pkg-option OPT
12958                     give  an  extra  option  to haskell-suite-pkg (no need to
12959                     quote options containing spaces)
12960
12961              --hmake-option OPT
12962                     give an extra option to hmake (no need to  quote  options
12963                     containing spaces)
12964
12965              --hpc-option OPT
12966                     give  an  extra  option  to hpc (no need to quote options
12967                     containing spaces)
12968
12969              --hsc2hs-option OPT
12970                     give an extra option to hsc2hs (no need to quote  options
12971                     containing spaces)
12972
12973              --hscolour-option OPT
12974                     give  an  extra  option  to  hscolour  (no  need to quote
12975                     options containing spaces)
12976
12977              --jhc-option OPT
12978                     give an extra option to jhc (no  need  to  quote  options
12979                     containing spaces)
12980
12981              --ld-option OPT
12982                     give an extra option to ld (no need to quote options con‐
12983                     taining spaces)
12984
12985              --pkg-config-option OPT
12986                     give an extra option to  pkg-config  (no  need  to  quote
12987                     options containing spaces)
12988
12989              --runghc-option OPT
12990                     give  an extra option to runghc (no need to quote options
12991                     containing spaces)
12992
12993              --strip-option OPT
12994                     give an extra option to strip (no need to  quote  options
12995                     containing spaces)
12996
12997              --tar-option OPT
12998                     give  an  extra  option  to tar (no need to quote options
12999                     containing spaces)
13000
13001              --uhc-option OPT
13002                     give an extra option to uhc (no  need  to  quote  options
13003                     containing spaces)
13004
13005              --alex-options OPTS
13006                     give extra options to alex
13007
13008              --ar-options OPTS
13009                     give extra options to ar
13010
13011              --c2hs-options OPTS
13012                     give extra options to c2hs
13013
13014              --cpphs-options OPTS
13015                     give extra options to cpphs
13016
13017              --doctest-options OPTS
13018                     give extra options to doctest
13019
13020              --gcc-options OPTS
13021                     give extra options to gcc
13022
13023              --ghc-options OPTS
13024                     give extra options to ghc
13025
13026              --ghc-pkg-options OPTS
13027                     give extra options to ghc-pkg
13028
13029              --ghcjs-options OPTS
13030                     give extra options to ghcjs
13031
13032              --ghcjs-pkg-options OPTS
13033                     give extra options to ghcjs-pkg
13034
13035              --greencard-options OPTS
13036                     give extra options to greencard
13037
13038              --haddock-options OPTS
13039                     give extra options to haddock
13040
13041              --happy-options OPTS
13042                     give extra options to happy
13043
13044              --haskell-suite-options OPTS
13045                     give extra options to haskell-suite
13046
13047              --haskell-suite-pkg-options OPTS
13048                     give extra options to haskell-suite-pkg
13049
13050              --hmake-options OPTS
13051                     give extra options to hmake
13052
13053              --hpc-options OPTS
13054                     give extra options to hpc
13055
13056              --hsc2hs-options OPTS
13057                     give extra options to hsc2hs
13058
13059              --hscolour-options OPTS
13060                     give extra options to hscolour
13061
13062              --jhc-options OPTS
13063                     give extra options to jhc
13064
13065              --ld-options OPTS
13066                     give extra options to ld
13067
13068              --pkg-config-options OPTS
13069                     give extra options to pkg-config
13070
13071              --runghc-options OPTS
13072                     give extra options to runghc
13073
13074              --strip-options OPTS
13075                     give extra options to strip
13076
13077              --tar-options OPTS
13078                     give extra options to tar
13079
13080              --uhc-options OPTS
13081                     give extra options to uhc
13082
13083              --cabal-lib-version VERSION
13084                     Select  which  version  of  the Cabal lib to use to build
13085                     packages (useful for testing).
13086
13087              --constraint CONSTRAINT
13088                     Specify    constraints    on    a    package    (version,
13089                     installed/source, flags)
13090
13091              --preference CONSTRAINT
13092                     Specify  preferences (soft constraints) on the version of
13093                     a package
13094
13095              --solver SOLVER
13096                     Select  dependency  solver  to  use  (default:  modular).
13097                     Choices: modular.
13098
13099              --allow-older [DEPS]
13100                     Ignore lower bounds in all dependencies or DEPS
13101
13102              --allow-newer [DEPS]
13103                     Ignore upper bounds in all dependencies or DEPS
13104
13105              --enable-documentation
13106              --disable-documentation
13107                     building of documentation
13108
13109              --doc-index-file TEMPLATE
13110                     A  central  index  of haddock API documentation (template
13111                     cannot use $pkgid)
13112
13113              --dry-run
13114                     Do  not  install  anything,  only  print  what  would  be
13115                     installed.
13116
13117              --max-backjumps NUM
13118                     Maximum   number   of  backjumps  allowed  while  solving
13119                     (default: 2000). Use a negative number to  enable  unlim‐
13120                     ited  backtracking.  Use  0  to disable backtracking com‐
13121                     pletely.
13122
13123              --reorder-goals
13124              --no-reorder-goals
13125                     Try to reorder goals  according  to  certain  heuristics.
13126                     Slows  things  down on average, but may make backtracking
13127                     faster for some packages.
13128
13129              --count-conflicts
13130              --no-count-conflicts
13131                     Try to speed up solving  by  preferring  goals  that  are
13132                     involved in a lot of conflicts (default).
13133
13134              --independent-goals
13135              --no-independent-goals
13136                     Treat  several  goals on the command line as independent.
13137                     If several goals depend on the  same  package,  different
13138                     versions can be chosen.
13139
13140              --shadow-installed-packages
13141              --no-shadow-installed-packages
13142                     If  multiple  package  instances  of the same version are
13143                     installed, treat all but one as shadowed.
13144
13145              --strong-flags
13146              --no-strong-flags
13147                     Do not defer flag choices (this used to be the default in
13148                     cabal-install <= 1.20).
13149
13150              --allow-boot-library-installs
13151              --no-allow-boot-library-installs
13152                     Allow  cabal  to  install base, ghc-prim, integer-simple,
13153                     integer-gmp, and template-haskell.
13154
13155              --reinstall
13156              --no-reinstall
13157                     Install even if it  means  installing  the  same  version
13158                     again.
13159
13160              --avoid-reinstalls
13161              --no-avoid-reinstalls
13162                     Do not select versions that would destructively overwrite
13163                     installed packages.
13164
13165              --force-reinstalls
13166              --no-force-reinstalls
13167                     Reinstall packages even if they will  most  likely  break
13168                     other installed packages.
13169
13170              --upgrade-dependencies
13171              --no-upgrade-dependencies
13172                     Pick the latest version for all dependencies, rather than
13173                     trying to pick an installed version.
13174
13175              --only-dependencies
13176              --no-only-dependencies
13177                     Install only the  dependencies  necessary  to  build  the
13178                     given packages
13179
13180              --dependencies-only
13181              --no-dependencies-only
13182                     A synonym for --only-dependencies
13183
13184              --index-state STATE
13185                     Use  source package index state as it existed at a previ‐
13186                     ous time. Accepts unix-timestamps  (e.g.  '@1474732068'),
13187                     ISO8601  UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or
13188                     'HEAD' (default: 'HEAD').
13189
13190              --root-cmd COMMAND
13191                     (No longer supported, do not use.)
13192
13193              --symlink-bindir DIR
13194                     Add symlinks to installed executables  into  this  direc‐
13195                     tory.
13196
13197              --build-summary TEMPLATE
13198                     Save  build  summaries  to  file  (name  template can use
13199                     $pkgid, $compiler, $os, $arch)
13200
13201              --build-log TEMPLATE
13202                     Log all builds to file (name  template  can  use  $pkgid,
13203                     $compiler, $os, $arch)
13204
13205              --remote-build-reporting LEVEL
13206                     Generate  build reports to send to a remote server (none,
13207                     anonymous or detailed).
13208
13209              --report-planning-failure
13210                     Generate build reports when the dependency solver  fails.
13211                     This is used by the Hackage build bot.
13212
13213              --enable-per-component
13214              --disable-per-component
13215                     Per-component builds when possible
13216
13217              --one-shot
13218              --no-one-shot
13219                     Do not record the packages in the world file.
13220
13221              --run-tests
13222                     Run package test suites during installation.
13223
13224              -j, --jobs [NUM]
13225                     Run  NUM  jobs  simultaneously  (or '$ncpus' if no NUM is
13226                     given).
13227
13228              --keep-going
13229                     After a build failure, continue to build other unaffected
13230                     packages.
13231
13232              --offline
13233              --no-offline
13234                     Don't download packages from the Internet.
13235
13236              --project-file FILE
13237                     Set  the  name of the cabal.project file to search for in
13238                     parent directories
13239
13240              --only
13241                     Only installs the package in the current directory.
13242
13243              --haddock-hoogle
13244                     Generate a hoogle database
13245
13246              --haddock-html
13247                     Generate HTML documentation (the default)
13248
13249              --haddock-html-location URL
13250                     Location of HTML documentation for pre-requisite packages
13251
13252              --haddock-for-hackage
13253                     Collection of flags to  generate  documentation  suitable
13254                     for upload to hackage
13255
13256              --haddock-executables
13257                     Run haddock for Executables targets
13258
13259              --haddock-tests
13260                     Run haddock for Test Suite targets
13261
13262              --haddock-benchmarks
13263                     Run haddock for Benchmark targets
13264
13265              --haddock-all
13266                     Run haddock for all targets
13267
13268              --haddock-internal
13269                     Run haddock for internal modules and include all symbols
13270
13271              --haddock-css PATH
13272                     Use PATH as the haddock stylesheet
13273
13274              --haddock-hyperlink-source,  --haddock-hyperlink-sources, --had‐
13275              dock-hyperlinked-source
13276                     Hyperlink the documentation to the source code
13277
13278              --haddock-quickjump
13279                     Generate an index for interactive  documentation  naviga‐
13280                     tion
13281
13282              --haddock-hscolour-css PATH
13283                     Use PATH as the HsColour stylesheet
13284
13285              --haddock-contents-location URL
13286                     Bake URL in as the location for the contents page
13287
13288
13289       cabal v2-bench
13290
13291       Usage: cabal v2-bench [TARGETS] [FLAGS]
13292
13293
13294       Runs the specified benchmarks, first ensuring they are up to date.
13295
13296       Any benchmark in any package in the project can be specified. A package
13297       can be specified in which case all the benchmarks in  the  package  are
13298       run.  The  default  is  to run all the benchmarks in the package in the
13299       current directory.
13300
13301       Dependencies are built or rebuilt as necessary.  Additional  configura‐
13302       tion  flags  can  be specified on the command line and these extend the
13303       project configuration from the  'cabal.project',  'cabal.project.local'
13304       and other files.
13305
13306
13307       Runs the specified benchmarks, first ensuring they are up to date.
13308
13309       Any benchmark in any package in the project can be specified. A package
13310       can be specified in which case all the benchmarks in  the  package  are
13311       run.  The  default  is  to run all the benchmarks in the package in the
13312       current directory.
13313
13314       Dependencies are built or rebuilt as necessary.  Additional  configura‐
13315       tion  flags  can  be specified on the command line and these extend the
13316       project configuration from the  'cabal.project',  'cabal.project.local'
13317       and other files.
13318
13319
13320       Flags:
13321              -v, --verbose [n]
13322                     Control  verbosity (n is 0--3, default verbosity level is
13323                     1)
13324
13325              --builddir, --distdir, --distpref DIR
13326                     The directory where  Cabal  puts  generated  build  files
13327                     (default dist)
13328
13329              -g, --ghc
13330                     compile with GHC
13331
13332              --ghcjs
13333                     compile with GHCJS
13334
13335              --uhc
13336                     compile with UHC
13337
13338              --haskell-suite
13339                     compile with a haskell-suite compiler
13340
13341              --cabal-file PATH
13342                     use this Cabal file
13343
13344              -w, --with-compiler PATH
13345                     give the path to a particular compiler
13346
13347              --with-hc-pkg PATH
13348                     give the path to the package tool
13349
13350              --prefix DIR
13351                     bake this prefix in preparation of installation
13352
13353              --bindir DIR
13354                     installation directory for executables
13355
13356              --libdir DIR
13357                     installation directory for libraries
13358
13359              --libsubdir DIR
13360                     subdirectory of libdir in which libs are installed
13361
13362              --dynlibdir DIR
13363                     installation directory for dynamic libraries
13364
13365              --libexecdir DIR
13366                     installation directory for program executables
13367
13368              --libexecsubdir DIR
13369                     subdirectory  of  libexecdir in which private executables
13370                     are installed
13371
13372              --datadir DIR
13373                     installation directory for read-only data
13374
13375              --datasubdir DIR
13376                     subdirectory of datadir in which data files are installed
13377
13378              --docdir DIR
13379                     installation directory for documentation
13380
13381              --htmldir DIR
13382                     installation directory for HTML documentation
13383
13384              --haddockdir DIR
13385                     installation directory for haddock interfaces
13386
13387              --sysconfdir DIR
13388                     installation directory for configuration files
13389
13390              --program-prefix PREFIX
13391                     prefix to be applied to installed executables
13392
13393              --program-suffix SUFFIX
13394                     suffix to be applied to installed executables
13395
13396              --enable-library-vanilla
13397              --disable-library-vanilla
13398                     Vanilla libraries
13399
13400              -p, --enable-library-profiling
13401              --disable-library-profiling
13402                     Library profiling
13403
13404              --enable-shared
13405              --disable-shared
13406                     Shared library
13407
13408              --enable-static
13409              --disable-static
13410                     Static library
13411
13412              --enable-executable-dynamic
13413              --disable-executable-dynamic
13414                     Executable dynamic linking
13415
13416              --enable-profiling
13417              --disable-profiling
13418                     Executable and library profiling
13419
13420              --enable-executable-profiling
13421              --disable-executable-profiling
13422                     Executable profiling (DEPRECATED)
13423
13424              --profiling-detail level
13425                     Profiling  detail  level  for  executable   and   library
13426                     (default,  none,  exported-functions, toplevel-functions,
13427                     all-functions).
13428
13429              --library-profiling-detail level
13430                     Profiling detail level for libraries only.
13431
13432              -O, --enable-optimization, --enable-optimisation [n]
13433                     Build with optimization (n is 0--2, default is 1)
13434
13435              --disable-optimization, --disable-optimisation
13436                     Build without optimization
13437
13438              --enable-debug-info [n]
13439                     Emit debug info (n is 0--3, default is 0)
13440
13441              --disable-debug-info
13442                     Don't emit debug info
13443
13444              --enable-library-for-ghci
13445              --disable-library-for-ghci
13446                     compile library for use with GHCi
13447
13448              --enable-split-sections
13449              --disable-split-sections
13450                     compile library code such that unneeded  definitions  can
13451                     be dropped from the final executable (GHC 7.8+)
13452
13453              --enable-split-objs
13454              --disable-split-objs
13455                     split library into smaller objects to reduce binary sizes
13456                     (GHC 6.6+)
13457
13458              --enable-executable-stripping
13459              --disable-executable-stripping
13460                     strip executables  upon  installation  to  reduce  binary
13461                     sizes
13462
13463              --enable-library-stripping
13464              --disable-library-stripping
13465                     strip libraries upon installation to reduce binary sizes
13466
13467              --configure-option OPT
13468                     Extra option for configure
13469
13470              --user
13471              --global
13472                     doing a per-user installation
13473
13474              --package-db DB
13475                     Append  the given package database to the list of package
13476                     databases used  (to  satisfy  dependencies  and  register
13477                     into).  May  be  a specific file, 'global' or 'user'. The
13478                     initial  list  is  ['global'],  ['global',  'user'],   or
13479                     ['global',  $sandbox],  depending on context. Use 'clear'
13480                     to reset the list  to  empty.  See  the  user  guide  for
13481                     details.
13482
13483              -f, --flags FLAGS
13484                     Force values for the given flags in Cabal conditionals in
13485                     the .cabal file.  E.g.,  --flags="debug  -usebytestrings"
13486                     forces  the  flag "debug" to true and "usebytestrings" to
13487                     false.
13488
13489              --extra-include-dirs PATH
13490                     A list of directories to search for header files
13491
13492              --enable-deterministic
13493              --disable-deterministic
13494                     Try to be as deterministic as possible (used by the  test
13495                     suite)
13496
13497              --ipid IPID
13498                     Installed package ID to compile this package as
13499
13500              --cid CID
13501                     Installed component ID to compile this component as
13502
13503              --extra-lib-dirs PATH
13504                     A list of directories to search for external libraries
13505
13506              --extra-framework-dirs PATH
13507                     A  list  of directories to search for external frameworks
13508                     (OS X only)
13509
13510              --extra-prog-path PATH
13511                     A list of directories to search for required programs (in
13512                     addition to the normal search locations)
13513
13514              --instantiate-with NAME=MOD
13515                     A mapping of signature names to concrete module instanti‐
13516                     ations.
13517
13518              --enable-tests
13519              --disable-tests
13520                     dependency  checking  and  compilation  for  test  suites
13521                     listed in the package description file.
13522
13523              --enable-coverage
13524              --disable-coverage
13525                     build package with Haskell Program Coverage. (GHC only)
13526
13527              --enable-library-coverage
13528              --disable-library-coverage
13529                     build  package  with Haskell Program Coverage. (GHC only)
13530                     (DEPRECATED)
13531
13532              --enable-benchmarks
13533              --disable-benchmarks
13534                     dependency checking and compilation for benchmarks listed
13535                     in the package description file.
13536
13537              --enable-relocatable
13538              --disable-relocatable
13539                     building a package that is relocatable. (GHC only)
13540
13541              --disable-response-files
13542                     enable  workaround for old versions of programs like "ar"
13543                     that do not support @file arguments
13544
13545              --with-alex PATH
13546                     give the path to alex
13547
13548              --with-ar PATH
13549                     give the path to ar
13550
13551              --with-c2hs PATH
13552                     give the path to c2hs
13553
13554              --with-cpphs PATH
13555                     give the path to cpphs
13556
13557              --with-doctest PATH
13558                     give the path to doctest
13559
13560              --with-gcc PATH
13561                     give the path to gcc
13562
13563              --with-ghc PATH
13564                     give the path to ghc
13565
13566              --with-ghc-pkg PATH
13567                     give the path to ghc-pkg
13568
13569              --with-ghcjs PATH
13570                     give the path to ghcjs
13571
13572              --with-ghcjs-pkg PATH
13573                     give the path to ghcjs-pkg
13574
13575              --with-greencard PATH
13576                     give the path to greencard
13577
13578              --with-haddock PATH
13579                     give the path to haddock
13580
13581              --with-happy PATH
13582                     give the path to happy
13583
13584              --with-haskell-suite PATH
13585                     give the path to haskell-suite
13586
13587              --with-haskell-suite-pkg PATH
13588                     give the path to haskell-suite-pkg
13589
13590              --with-hmake PATH
13591                     give the path to hmake
13592
13593              --with-hpc PATH
13594                     give the path to hpc
13595
13596              --with-hsc2hs PATH
13597                     give the path to hsc2hs
13598
13599              --with-hscolour PATH
13600                     give the path to hscolour
13601
13602              --with-jhc PATH
13603                     give the path to jhc
13604
13605              --with-ld PATH
13606                     give the path to ld
13607
13608              --with-pkg-config PATH
13609                     give the path to pkg-config
13610
13611              --with-runghc PATH
13612                     give the path to runghc
13613
13614              --with-strip PATH
13615                     give the path to strip
13616
13617              --with-tar PATH
13618                     give the path to tar
13619
13620              --with-uhc PATH
13621                     give the path to uhc
13622
13623              --alex-option OPT
13624                     give an extra option to alex (no need  to  quote  options
13625                     containing spaces)
13626
13627              --ar-option OPT
13628                     give an extra option to ar (no need to quote options con‐
13629                     taining spaces)
13630
13631              --c2hs-option OPT
13632                     give an extra option to c2hs (no need  to  quote  options
13633                     containing spaces)
13634
13635              --cpphs-option OPT
13636                     give  an  extra option to cpphs (no need to quote options
13637                     containing spaces)
13638
13639              --doctest-option OPT
13640                     give an extra option to doctest (no need to quote options
13641                     containing spaces)
13642
13643              --gcc-option OPT
13644                     give  an  extra  option  to gcc (no need to quote options
13645                     containing spaces)
13646
13647              --ghc-option OPT
13648                     give an extra option to ghc (no  need  to  quote  options
13649                     containing spaces)
13650
13651              --ghc-pkg-option OPT
13652                     give an extra option to ghc-pkg (no need to quote options
13653                     containing spaces)
13654
13655              --ghcjs-option OPT
13656                     give an extra option to ghcjs (no need to  quote  options
13657                     containing spaces)
13658
13659              --ghcjs-pkg-option OPT
13660                     give  an  extra  option  to  ghcjs-pkg  (no need to quote
13661                     options containing spaces)
13662
13663              --greencard-option OPT
13664                     give an extra option  to  greencard  (no  need  to  quote
13665                     options containing spaces)
13666
13667              --haddock-option OPT
13668                     give an extra option to haddock (no need to quote options
13669                     containing spaces)
13670
13671              --happy-option OPT
13672                     give an extra option to happy (no need to  quote  options
13673                     containing spaces)
13674
13675              --haskell-suite-option OPT
13676                     give  an  extra option to haskell-suite (no need to quote
13677                     options containing spaces)
13678
13679              --haskell-suite-pkg-option OPT
13680                     give an extra option to  haskell-suite-pkg  (no  need  to
13681                     quote options containing spaces)
13682
13683              --hmake-option OPT
13684                     give  an  extra option to hmake (no need to quote options
13685                     containing spaces)
13686
13687              --hpc-option OPT
13688                     give an extra option to hpc (no  need  to  quote  options
13689                     containing spaces)
13690
13691              --hsc2hs-option OPT
13692                     give  an extra option to hsc2hs (no need to quote options
13693                     containing spaces)
13694
13695              --hscolour-option OPT
13696                     give an extra  option  to  hscolour  (no  need  to  quote
13697                     options containing spaces)
13698
13699              --jhc-option OPT
13700                     give  an  extra  option  to jhc (no need to quote options
13701                     containing spaces)
13702
13703              --ld-option OPT
13704                     give an extra option to ld (no need to quote options con‐
13705                     taining spaces)
13706
13707              --pkg-config-option OPT
13708                     give  an  extra  option  to  pkg-config (no need to quote
13709                     options containing spaces)
13710
13711              --runghc-option OPT
13712                     give an extra option to runghc (no need to quote  options
13713                     containing spaces)
13714
13715              --strip-option OPT
13716                     give  an  extra option to strip (no need to quote options
13717                     containing spaces)
13718
13719              --tar-option OPT
13720                     give an extra option to tar (no  need  to  quote  options
13721                     containing spaces)
13722
13723              --uhc-option OPT
13724                     give  an  extra  option  to uhc (no need to quote options
13725                     containing spaces)
13726
13727              --alex-options OPTS
13728                     give extra options to alex
13729
13730              --ar-options OPTS
13731                     give extra options to ar
13732
13733              --c2hs-options OPTS
13734                     give extra options to c2hs
13735
13736              --cpphs-options OPTS
13737                     give extra options to cpphs
13738
13739              --doctest-options OPTS
13740                     give extra options to doctest
13741
13742              --gcc-options OPTS
13743                     give extra options to gcc
13744
13745              --ghc-options OPTS
13746                     give extra options to ghc
13747
13748              --ghc-pkg-options OPTS
13749                     give extra options to ghc-pkg
13750
13751              --ghcjs-options OPTS
13752                     give extra options to ghcjs
13753
13754              --ghcjs-pkg-options OPTS
13755                     give extra options to ghcjs-pkg
13756
13757              --greencard-options OPTS
13758                     give extra options to greencard
13759
13760              --haddock-options OPTS
13761                     give extra options to haddock
13762
13763              --happy-options OPTS
13764                     give extra options to happy
13765
13766              --haskell-suite-options OPTS
13767                     give extra options to haskell-suite
13768
13769              --haskell-suite-pkg-options OPTS
13770                     give extra options to haskell-suite-pkg
13771
13772              --hmake-options OPTS
13773                     give extra options to hmake
13774
13775              --hpc-options OPTS
13776                     give extra options to hpc
13777
13778              --hsc2hs-options OPTS
13779                     give extra options to hsc2hs
13780
13781              --hscolour-options OPTS
13782                     give extra options to hscolour
13783
13784              --jhc-options OPTS
13785                     give extra options to jhc
13786
13787              --ld-options OPTS
13788                     give extra options to ld
13789
13790              --pkg-config-options OPTS
13791                     give extra options to pkg-config
13792
13793              --runghc-options OPTS
13794                     give extra options to runghc
13795
13796              --strip-options OPTS
13797                     give extra options to strip
13798
13799              --tar-options OPTS
13800                     give extra options to tar
13801
13802              --uhc-options OPTS
13803                     give extra options to uhc
13804
13805              --cabal-lib-version VERSION
13806                     Select which version of the Cabal lib  to  use  to  build
13807                     packages (useful for testing).
13808
13809              --constraint CONSTRAINT
13810                     Specify    constraints    on    a    package    (version,
13811                     installed/source, flags)
13812
13813              --preference CONSTRAINT
13814                     Specify preferences (soft constraints) on the version  of
13815                     a package
13816
13817              --solver SOLVER
13818                     Select  dependency  solver  to  use  (default:  modular).
13819                     Choices: modular.
13820
13821              --allow-older [DEPS]
13822                     Ignore lower bounds in all dependencies or DEPS
13823
13824              --allow-newer [DEPS]
13825                     Ignore upper bounds in all dependencies or DEPS
13826
13827              --enable-documentation
13828              --disable-documentation
13829                     building of documentation
13830
13831              --doc-index-file TEMPLATE
13832                     A central index of haddock  API  documentation  (template
13833                     cannot use $pkgid)
13834
13835              --dry-run
13836                     Do  not  install  anything,  only  print  what  would  be
13837                     installed.
13838
13839              --max-backjumps NUM
13840                     Maximum  number  of  backjumps  allowed   while   solving
13841                     (default:  2000).  Use a negative number to enable unlim‐
13842                     ited backtracking. Use 0  to  disable  backtracking  com‐
13843                     pletely.
13844
13845              --reorder-goals
13846              --no-reorder-goals
13847                     Try  to  reorder  goals  according to certain heuristics.
13848                     Slows things down on average, but may  make  backtracking
13849                     faster for some packages.
13850
13851              --count-conflicts
13852              --no-count-conflicts
13853                     Try  to  speed  up  solving  by preferring goals that are
13854                     involved in a lot of conflicts (default).
13855
13856              --independent-goals
13857              --no-independent-goals
13858                     Treat several goals on the command line  as  independent.
13859                     If  several  goals  depend on the same package, different
13860                     versions can be chosen.
13861
13862              --shadow-installed-packages
13863              --no-shadow-installed-packages
13864                     If multiple package instances of  the  same  version  are
13865                     installed, treat all but one as shadowed.
13866
13867              --strong-flags
13868              --no-strong-flags
13869                     Do not defer flag choices (this used to be the default in
13870                     cabal-install <= 1.20).
13871
13872              --allow-boot-library-installs
13873              --no-allow-boot-library-installs
13874                     Allow cabal to install  base,  ghc-prim,  integer-simple,
13875                     integer-gmp, and template-haskell.
13876
13877              --reinstall
13878              --no-reinstall
13879                     Install  even  if  it  means  installing the same version
13880                     again.
13881
13882              --avoid-reinstalls
13883              --no-avoid-reinstalls
13884                     Do not select versions that would destructively overwrite
13885                     installed packages.
13886
13887              --force-reinstalls
13888              --no-force-reinstalls
13889                     Reinstall  packages  even  if they will most likely break
13890                     other installed packages.
13891
13892              --upgrade-dependencies
13893              --no-upgrade-dependencies
13894                     Pick the latest version for all dependencies, rather than
13895                     trying to pick an installed version.
13896
13897              --only-dependencies
13898              --no-only-dependencies
13899                     Install  only  the  dependencies  necessary  to build the
13900                     given packages
13901
13902              --dependencies-only
13903              --no-dependencies-only
13904                     A synonym for --only-dependencies
13905
13906              --index-state STATE
13907                     Use source package index state as it existed at a  previ‐
13908                     ous  time.  Accepts unix-timestamps (e.g. '@1474732068'),
13909                     ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'),  or
13910                     'HEAD' (default: 'HEAD').
13911
13912              --root-cmd COMMAND
13913                     (No longer supported, do not use.)
13914
13915              --symlink-bindir DIR
13916                     Add  symlinks  to  installed executables into this direc‐
13917                     tory.
13918
13919              --build-summary TEMPLATE
13920                     Save build summaries  to  file  (name  template  can  use
13921                     $pkgid, $compiler, $os, $arch)
13922
13923              --build-log TEMPLATE
13924                     Log  all  builds  to  file (name template can use $pkgid,
13925                     $compiler, $os, $arch)
13926
13927              --remote-build-reporting LEVEL
13928                     Generate build reports to send to a remote server  (none,
13929                     anonymous or detailed).
13930
13931              --report-planning-failure
13932                     Generate  build reports when the dependency solver fails.
13933                     This is used by the Hackage build bot.
13934
13935              --enable-per-component
13936              --disable-per-component
13937                     Per-component builds when possible
13938
13939              --one-shot
13940              --no-one-shot
13941                     Do not record the packages in the world file.
13942
13943              --run-tests
13944                     Run package test suites during installation.
13945
13946              -j, --jobs [NUM]
13947                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
13948                     given).
13949
13950              --keep-going
13951                     After a build failure, continue to build other unaffected
13952                     packages.
13953
13954              --offline
13955              --no-offline
13956                     Don't download packages from the Internet.
13957
13958              --project-file FILE
13959                     Set the name of the cabal.project file to search  for  in
13960                     parent directories
13961
13962              --only
13963                     Only installs the package in the current directory.
13964
13965              --haddock-hoogle
13966                     Generate a hoogle database
13967
13968              --haddock-html
13969                     Generate HTML documentation (the default)
13970
13971              --haddock-html-location URL
13972                     Location of HTML documentation for pre-requisite packages
13973
13974              --haddock-for-hackage
13975                     Collection  of  flags  to generate documentation suitable
13976                     for upload to hackage
13977
13978              --haddock-executables
13979                     Run haddock for Executables targets
13980
13981              --haddock-tests
13982                     Run haddock for Test Suite targets
13983
13984              --haddock-benchmarks
13985                     Run haddock for Benchmark targets
13986
13987              --haddock-all
13988                     Run haddock for all targets
13989
13990              --haddock-internal
13991                     Run haddock for internal modules and include all symbols
13992
13993              --haddock-css PATH
13994                     Use PATH as the haddock stylesheet
13995
13996              --haddock-hyperlink-source, --haddock-hyperlink-sources,  --had‐
13997              dock-hyperlinked-source
13998                     Hyperlink the documentation to the source code
13999
14000              --haddock-quickjump
14001                     Generate  an  index for interactive documentation naviga‐
14002                     tion
14003
14004              --haddock-hscolour-css PATH
14005                     Use PATH as the HsColour stylesheet
14006
14007              --haddock-contents-location URL
14008                     Bake URL in as the location for the contents page
14009
14010
14011       cabal new-bench
14012
14013       Usage: cabal new-bench [TARGETS] [FLAGS]
14014
14015
14016       Runs the specified benchmarks, first ensuring they are up to date.
14017
14018       Any benchmark in any package in the project can be specified. A package
14019       can  be  specified  in which case all the benchmarks in the package are
14020       run. The default is to run all the benchmarks in  the  package  in  the
14021       current directory.
14022
14023       Dependencies  are  built or rebuilt as necessary. Additional configura‐
14024       tion flags can be specified on the command line and  these  extend  the
14025       project  configuration  from the 'cabal.project', 'cabal.project.local'
14026       and other files.
14027
14028
14029       Examples:
14030         cabal new-bench
14031           Run all the benchmarks in the package in the current directory
14032         cabal new-bench pkgname
14033           Run all the benchmarks in the package named pkgname
14034         cabal new-bench cname
14035           Run the benchmark named cname
14036         cabal new-bench cname -O2
14037           Run the benchmark built with '-O2' (including local libs used)
14038
14039       Note: this command is part of the new project-based  system  (aka  nix-
14040       style  local  builds). These features are currently in beta. Please see
14041       http://cabal.readthedocs.io/en/latest/nix-local-build-overview.html for
14042       details  and  advice  on  what you can expect to work. If you encounter
14043       problems please file issues at  https://github.com/haskell/cabal/issues
14044       and  if you have any time to get involved and help with testing, fixing
14045       bugs etc then that is very much appreciated.
14046
14047
14048       Flags:
14049              -v, --verbose [n]
14050                     Control verbosity (n is 0--3, default verbosity level  is
14051                     1)
14052
14053              --builddir, --distdir, --distpref DIR
14054                     The  directory  where  Cabal  puts  generated build files
14055                     (default dist)
14056
14057              -g, --ghc
14058                     compile with GHC
14059
14060              --ghcjs
14061                     compile with GHCJS
14062
14063              --uhc
14064                     compile with UHC
14065
14066              --haskell-suite
14067                     compile with a haskell-suite compiler
14068
14069              --cabal-file PATH
14070                     use this Cabal file
14071
14072              -w, --with-compiler PATH
14073                     give the path to a particular compiler
14074
14075              --with-hc-pkg PATH
14076                     give the path to the package tool
14077
14078              --prefix DIR
14079                     bake this prefix in preparation of installation
14080
14081              --bindir DIR
14082                     installation directory for executables
14083
14084              --libdir DIR
14085                     installation directory for libraries
14086
14087              --libsubdir DIR
14088                     subdirectory of libdir in which libs are installed
14089
14090              --dynlibdir DIR
14091                     installation directory for dynamic libraries
14092
14093              --libexecdir DIR
14094                     installation directory for program executables
14095
14096              --libexecsubdir DIR
14097                     subdirectory of libexecdir in which  private  executables
14098                     are installed
14099
14100              --datadir DIR
14101                     installation directory for read-only data
14102
14103              --datasubdir DIR
14104                     subdirectory of datadir in which data files are installed
14105
14106              --docdir DIR
14107                     installation directory for documentation
14108
14109              --htmldir DIR
14110                     installation directory for HTML documentation
14111
14112              --haddockdir DIR
14113                     installation directory for haddock interfaces
14114
14115              --sysconfdir DIR
14116                     installation directory for configuration files
14117
14118              --program-prefix PREFIX
14119                     prefix to be applied to installed executables
14120
14121              --program-suffix SUFFIX
14122                     suffix to be applied to installed executables
14123
14124              --enable-library-vanilla
14125              --disable-library-vanilla
14126                     Vanilla libraries
14127
14128              -p, --enable-library-profiling
14129              --disable-library-profiling
14130                     Library profiling
14131
14132              --enable-shared
14133              --disable-shared
14134                     Shared library
14135
14136              --enable-static
14137              --disable-static
14138                     Static library
14139
14140              --enable-executable-dynamic
14141              --disable-executable-dynamic
14142                     Executable dynamic linking
14143
14144              --enable-profiling
14145              --disable-profiling
14146                     Executable and library profiling
14147
14148              --enable-executable-profiling
14149              --disable-executable-profiling
14150                     Executable profiling (DEPRECATED)
14151
14152              --profiling-detail level
14153                     Profiling   detail   level  for  executable  and  library
14154                     (default, none,  exported-functions,  toplevel-functions,
14155                     all-functions).
14156
14157              --library-profiling-detail level
14158                     Profiling detail level for libraries only.
14159
14160              -O, --enable-optimization, --enable-optimisation [n]
14161                     Build with optimization (n is 0--2, default is 1)
14162
14163              --disable-optimization, --disable-optimisation
14164                     Build without optimization
14165
14166              --enable-debug-info [n]
14167                     Emit debug info (n is 0--3, default is 0)
14168
14169              --disable-debug-info
14170                     Don't emit debug info
14171
14172              --enable-library-for-ghci
14173              --disable-library-for-ghci
14174                     compile library for use with GHCi
14175
14176              --enable-split-sections
14177              --disable-split-sections
14178                     compile  library  code such that unneeded definitions can
14179                     be dropped from the final executable (GHC 7.8+)
14180
14181              --enable-split-objs
14182              --disable-split-objs
14183                     split library into smaller objects to reduce binary sizes
14184                     (GHC 6.6+)
14185
14186              --enable-executable-stripping
14187              --disable-executable-stripping
14188                     strip  executables  upon  installation  to  reduce binary
14189                     sizes
14190
14191              --enable-library-stripping
14192              --disable-library-stripping
14193                     strip libraries upon installation to reduce binary sizes
14194
14195              --configure-option OPT
14196                     Extra option for configure
14197
14198              --user
14199              --global
14200                     doing a per-user installation
14201
14202              --package-db DB
14203                     Append the given package database to the list of  package
14204                     databases  used  (to  satisfy  dependencies  and register
14205                     into). May be a specific file, 'global'  or  'user'.  The
14206                     initial   list  is  ['global'],  ['global',  'user'],  or
14207                     ['global', $sandbox], depending on context.  Use  'clear'
14208                     to  reset  the  list  to  empty.  See  the user guide for
14209                     details.
14210
14211              -f, --flags FLAGS
14212                     Force values for the given flags in Cabal conditionals in
14213                     the  .cabal  file.  E.g., --flags="debug -usebytestrings"
14214                     forces the flag "debug" to true and  "usebytestrings"  to
14215                     false.
14216
14217              --extra-include-dirs PATH
14218                     A list of directories to search for header files
14219
14220              --enable-deterministic
14221              --disable-deterministic
14222                     Try  to be as deterministic as possible (used by the test
14223                     suite)
14224
14225              --ipid IPID
14226                     Installed package ID to compile this package as
14227
14228              --cid CID
14229                     Installed component ID to compile this component as
14230
14231              --extra-lib-dirs PATH
14232                     A list of directories to search for external libraries
14233
14234              --extra-framework-dirs PATH
14235                     A list of directories to search for  external  frameworks
14236                     (OS X only)
14237
14238              --extra-prog-path PATH
14239                     A list of directories to search for required programs (in
14240                     addition to the normal search locations)
14241
14242              --instantiate-with NAME=MOD
14243                     A mapping of signature names to concrete module instanti‐
14244                     ations.
14245
14246              --enable-tests
14247              --disable-tests
14248                     dependency  checking  and  compilation  for  test  suites
14249                     listed in the package description file.
14250
14251              --enable-coverage
14252              --disable-coverage
14253                     build package with Haskell Program Coverage. (GHC only)
14254
14255              --enable-library-coverage
14256              --disable-library-coverage
14257                     build package with Haskell Program Coverage.  (GHC  only)
14258                     (DEPRECATED)
14259
14260              --enable-benchmarks
14261              --disable-benchmarks
14262                     dependency checking and compilation for benchmarks listed
14263                     in the package description file.
14264
14265              --enable-relocatable
14266              --disable-relocatable
14267                     building a package that is relocatable. (GHC only)
14268
14269              --disable-response-files
14270                     enable workaround for old versions of programs like  "ar"
14271                     that do not support @file arguments
14272
14273              --with-alex PATH
14274                     give the path to alex
14275
14276              --with-ar PATH
14277                     give the path to ar
14278
14279              --with-c2hs PATH
14280                     give the path to c2hs
14281
14282              --with-cpphs PATH
14283                     give the path to cpphs
14284
14285              --with-doctest PATH
14286                     give the path to doctest
14287
14288              --with-gcc PATH
14289                     give the path to gcc
14290
14291              --with-ghc PATH
14292                     give the path to ghc
14293
14294              --with-ghc-pkg PATH
14295                     give the path to ghc-pkg
14296
14297              --with-ghcjs PATH
14298                     give the path to ghcjs
14299
14300              --with-ghcjs-pkg PATH
14301                     give the path to ghcjs-pkg
14302
14303              --with-greencard PATH
14304                     give the path to greencard
14305
14306              --with-haddock PATH
14307                     give the path to haddock
14308
14309              --with-happy PATH
14310                     give the path to happy
14311
14312              --with-haskell-suite PATH
14313                     give the path to haskell-suite
14314
14315              --with-haskell-suite-pkg PATH
14316                     give the path to haskell-suite-pkg
14317
14318              --with-hmake PATH
14319                     give the path to hmake
14320
14321              --with-hpc PATH
14322                     give the path to hpc
14323
14324              --with-hsc2hs PATH
14325                     give the path to hsc2hs
14326
14327              --with-hscolour PATH
14328                     give the path to hscolour
14329
14330              --with-jhc PATH
14331                     give the path to jhc
14332
14333              --with-ld PATH
14334                     give the path to ld
14335
14336              --with-pkg-config PATH
14337                     give the path to pkg-config
14338
14339              --with-runghc PATH
14340                     give the path to runghc
14341
14342              --with-strip PATH
14343                     give the path to strip
14344
14345              --with-tar PATH
14346                     give the path to tar
14347
14348              --with-uhc PATH
14349                     give the path to uhc
14350
14351              --alex-option OPT
14352                     give  an  extra  option to alex (no need to quote options
14353                     containing spaces)
14354
14355              --ar-option OPT
14356                     give an extra option to ar (no need to quote options con‐
14357                     taining spaces)
14358
14359              --c2hs-option OPT
14360                     give  an  extra  option to c2hs (no need to quote options
14361                     containing spaces)
14362
14363              --cpphs-option OPT
14364                     give an extra option to cpphs (no need to  quote  options
14365                     containing spaces)
14366
14367              --doctest-option OPT
14368                     give an extra option to doctest (no need to quote options
14369                     containing spaces)
14370
14371              --gcc-option OPT
14372                     give an extra option to gcc (no  need  to  quote  options
14373                     containing spaces)
14374
14375              --ghc-option OPT
14376                     give  an  extra  option  to ghc (no need to quote options
14377                     containing spaces)
14378
14379              --ghc-pkg-option OPT
14380                     give an extra option to ghc-pkg (no need to quote options
14381                     containing spaces)
14382
14383              --ghcjs-option OPT
14384                     give  an  extra option to ghcjs (no need to quote options
14385                     containing spaces)
14386
14387              --ghcjs-pkg-option OPT
14388                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
14389                     options containing spaces)
14390
14391              --greencard-option OPT
14392                     give  an  extra  option  to  greencard  (no need to quote
14393                     options containing spaces)
14394
14395              --haddock-option OPT
14396                     give an extra option to haddock (no need to quote options
14397                     containing spaces)
14398
14399              --happy-option OPT
14400                     give  an  extra option to happy (no need to quote options
14401                     containing spaces)
14402
14403              --haskell-suite-option OPT
14404                     give an extra option to haskell-suite (no need  to  quote
14405                     options containing spaces)
14406
14407              --haskell-suite-pkg-option OPT
14408                     give  an  extra  option  to haskell-suite-pkg (no need to
14409                     quote options containing spaces)
14410
14411              --hmake-option OPT
14412                     give an extra option to hmake (no need to  quote  options
14413                     containing spaces)
14414
14415              --hpc-option OPT
14416                     give  an  extra  option  to hpc (no need to quote options
14417                     containing spaces)
14418
14419              --hsc2hs-option OPT
14420                     give an extra option to hsc2hs (no need to quote  options
14421                     containing spaces)
14422
14423              --hscolour-option OPT
14424                     give  an  extra  option  to  hscolour  (no  need to quote
14425                     options containing spaces)
14426
14427              --jhc-option OPT
14428                     give an extra option to jhc (no  need  to  quote  options
14429                     containing spaces)
14430
14431              --ld-option OPT
14432                     give an extra option to ld (no need to quote options con‐
14433                     taining spaces)
14434
14435              --pkg-config-option OPT
14436                     give an extra option to  pkg-config  (no  need  to  quote
14437                     options containing spaces)
14438
14439              --runghc-option OPT
14440                     give  an extra option to runghc (no need to quote options
14441                     containing spaces)
14442
14443              --strip-option OPT
14444                     give an extra option to strip (no need to  quote  options
14445                     containing spaces)
14446
14447              --tar-option OPT
14448                     give  an  extra  option  to tar (no need to quote options
14449                     containing spaces)
14450
14451              --uhc-option OPT
14452                     give an extra option to uhc (no  need  to  quote  options
14453                     containing spaces)
14454
14455              --alex-options OPTS
14456                     give extra options to alex
14457
14458              --ar-options OPTS
14459                     give extra options to ar
14460
14461              --c2hs-options OPTS
14462                     give extra options to c2hs
14463
14464              --cpphs-options OPTS
14465                     give extra options to cpphs
14466
14467              --doctest-options OPTS
14468                     give extra options to doctest
14469
14470              --gcc-options OPTS
14471                     give extra options to gcc
14472
14473              --ghc-options OPTS
14474                     give extra options to ghc
14475
14476              --ghc-pkg-options OPTS
14477                     give extra options to ghc-pkg
14478
14479              --ghcjs-options OPTS
14480                     give extra options to ghcjs
14481
14482              --ghcjs-pkg-options OPTS
14483                     give extra options to ghcjs-pkg
14484
14485              --greencard-options OPTS
14486                     give extra options to greencard
14487
14488              --haddock-options OPTS
14489                     give extra options to haddock
14490
14491              --happy-options OPTS
14492                     give extra options to happy
14493
14494              --haskell-suite-options OPTS
14495                     give extra options to haskell-suite
14496
14497              --haskell-suite-pkg-options OPTS
14498                     give extra options to haskell-suite-pkg
14499
14500              --hmake-options OPTS
14501                     give extra options to hmake
14502
14503              --hpc-options OPTS
14504                     give extra options to hpc
14505
14506              --hsc2hs-options OPTS
14507                     give extra options to hsc2hs
14508
14509              --hscolour-options OPTS
14510                     give extra options to hscolour
14511
14512              --jhc-options OPTS
14513                     give extra options to jhc
14514
14515              --ld-options OPTS
14516                     give extra options to ld
14517
14518              --pkg-config-options OPTS
14519                     give extra options to pkg-config
14520
14521              --runghc-options OPTS
14522                     give extra options to runghc
14523
14524              --strip-options OPTS
14525                     give extra options to strip
14526
14527              --tar-options OPTS
14528                     give extra options to tar
14529
14530              --uhc-options OPTS
14531                     give extra options to uhc
14532
14533              --cabal-lib-version VERSION
14534                     Select  which  version  of  the Cabal lib to use to build
14535                     packages (useful for testing).
14536
14537              --constraint CONSTRAINT
14538                     Specify    constraints    on    a    package    (version,
14539                     installed/source, flags)
14540
14541              --preference CONSTRAINT
14542                     Specify  preferences (soft constraints) on the version of
14543                     a package
14544
14545              --solver SOLVER
14546                     Select  dependency  solver  to  use  (default:  modular).
14547                     Choices: modular.
14548
14549              --allow-older [DEPS]
14550                     Ignore lower bounds in all dependencies or DEPS
14551
14552              --allow-newer [DEPS]
14553                     Ignore upper bounds in all dependencies or DEPS
14554
14555              --enable-documentation
14556              --disable-documentation
14557                     building of documentation
14558
14559              --doc-index-file TEMPLATE
14560                     A  central  index  of haddock API documentation (template
14561                     cannot use $pkgid)
14562
14563              --dry-run
14564                     Do  not  install  anything,  only  print  what  would  be
14565                     installed.
14566
14567              --max-backjumps NUM
14568                     Maximum   number   of  backjumps  allowed  while  solving
14569                     (default: 2000). Use a negative number to  enable  unlim‐
14570                     ited  backtracking.  Use  0  to disable backtracking com‐
14571                     pletely.
14572
14573              --reorder-goals
14574              --no-reorder-goals
14575                     Try to reorder goals  according  to  certain  heuristics.
14576                     Slows  things  down on average, but may make backtracking
14577                     faster for some packages.
14578
14579              --count-conflicts
14580              --no-count-conflicts
14581                     Try to speed up solving  by  preferring  goals  that  are
14582                     involved in a lot of conflicts (default).
14583
14584              --independent-goals
14585              --no-independent-goals
14586                     Treat  several  goals on the command line as independent.
14587                     If several goals depend on the  same  package,  different
14588                     versions can be chosen.
14589
14590              --shadow-installed-packages
14591              --no-shadow-installed-packages
14592                     If  multiple  package  instances  of the same version are
14593                     installed, treat all but one as shadowed.
14594
14595              --strong-flags
14596              --no-strong-flags
14597                     Do not defer flag choices (this used to be the default in
14598                     cabal-install <= 1.20).
14599
14600              --allow-boot-library-installs
14601              --no-allow-boot-library-installs
14602                     Allow  cabal  to  install base, ghc-prim, integer-simple,
14603                     integer-gmp, and template-haskell.
14604
14605              --reinstall
14606              --no-reinstall
14607                     Install even if it  means  installing  the  same  version
14608                     again.
14609
14610              --avoid-reinstalls
14611              --no-avoid-reinstalls
14612                     Do not select versions that would destructively overwrite
14613                     installed packages.
14614
14615              --force-reinstalls
14616              --no-force-reinstalls
14617                     Reinstall packages even if they will  most  likely  break
14618                     other installed packages.
14619
14620              --upgrade-dependencies
14621              --no-upgrade-dependencies
14622                     Pick the latest version for all dependencies, rather than
14623                     trying to pick an installed version.
14624
14625              --only-dependencies
14626              --no-only-dependencies
14627                     Install only the  dependencies  necessary  to  build  the
14628                     given packages
14629
14630              --dependencies-only
14631              --no-dependencies-only
14632                     A synonym for --only-dependencies
14633
14634              --index-state STATE
14635                     Use  source package index state as it existed at a previ‐
14636                     ous time. Accepts unix-timestamps  (e.g.  '@1474732068'),
14637                     ISO8601  UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or
14638                     'HEAD' (default: 'HEAD').
14639
14640              --root-cmd COMMAND
14641                     (No longer supported, do not use.)
14642
14643              --symlink-bindir DIR
14644                     Add symlinks to installed executables  into  this  direc‐
14645                     tory.
14646
14647              --build-summary TEMPLATE
14648                     Save  build  summaries  to  file  (name  template can use
14649                     $pkgid, $compiler, $os, $arch)
14650
14651              --build-log TEMPLATE
14652                     Log all builds to file (name  template  can  use  $pkgid,
14653                     $compiler, $os, $arch)
14654
14655              --remote-build-reporting LEVEL
14656                     Generate  build reports to send to a remote server (none,
14657                     anonymous or detailed).
14658
14659              --report-planning-failure
14660                     Generate build reports when the dependency solver  fails.
14661                     This is used by the Hackage build bot.
14662
14663              --enable-per-component
14664              --disable-per-component
14665                     Per-component builds when possible
14666
14667              --one-shot
14668              --no-one-shot
14669                     Do not record the packages in the world file.
14670
14671              --run-tests
14672                     Run package test suites during installation.
14673
14674              -j, --jobs [NUM]
14675                     Run  NUM  jobs  simultaneously  (or '$ncpus' if no NUM is
14676                     given).
14677
14678              --keep-going
14679                     After a build failure, continue to build other unaffected
14680                     packages.
14681
14682              --offline
14683              --no-offline
14684                     Don't download packages from the Internet.
14685
14686              --project-file FILE
14687                     Set  the  name of the cabal.project file to search for in
14688                     parent directories
14689
14690              --only
14691                     Only installs the package in the current directory.
14692
14693              --haddock-hoogle
14694                     Generate a hoogle database
14695
14696              --haddock-html
14697                     Generate HTML documentation (the default)
14698
14699              --haddock-html-location URL
14700                     Location of HTML documentation for pre-requisite packages
14701
14702              --haddock-for-hackage
14703                     Collection of flags to  generate  documentation  suitable
14704                     for upload to hackage
14705
14706              --haddock-executables
14707                     Run haddock for Executables targets
14708
14709              --haddock-tests
14710                     Run haddock for Test Suite targets
14711
14712              --haddock-benchmarks
14713                     Run haddock for Benchmark targets
14714
14715              --haddock-all
14716                     Run haddock for all targets
14717
14718              --haddock-internal
14719                     Run haddock for internal modules and include all symbols
14720
14721              --haddock-css PATH
14722                     Use PATH as the haddock stylesheet
14723
14724              --haddock-hyperlink-source,  --haddock-hyperlink-sources, --had‐
14725              dock-hyperlinked-source
14726                     Hyperlink the documentation to the source code
14727
14728              --haddock-quickjump
14729                     Generate an index for interactive  documentation  naviga‐
14730                     tion
14731
14732              --haddock-hscolour-css PATH
14733                     Use PATH as the HsColour stylesheet
14734
14735              --haddock-contents-location URL
14736                     Bake URL in as the location for the contents page
14737
14738
14739       cabal v2-exec
14740
14741       Usage: cabal v2-exec [FLAGS] [--] COMMAND [--] [ARGS]
14742
14743
14744       During  development  it  is often useful to run build tasks and perform
14745       one-off program executions to experiment with  the  behavior  of  build
14746       tools. It is convenient to run these tools in the same way cabal itself
14747       would. The `cabal v2-exec` command provides a way to do so.
14748
14749       Compiler tools will be configured to see the same subset of  the  store
14750       that  builds would see. The PATH is modified to make all executables in
14751       the dependency tree available (provided they have been built  already).
14752       Commands are also rewritten in the way cabal itself would. For example,
14753       `cabal v2-exec ghc` will consult the configuration to choose an  appro‐
14754       priate version of ghc and to include any ghc-specific flags requested.
14755
14756
14757       During  development  it  is often useful to run build tasks and perform
14758       one-off program executions to experiment with  the  behavior  of  build
14759       tools. It is convenient to run these tools in the same way cabal itself
14760       would. The `cabal v2-exec` command provides a way to do so.
14761
14762       Compiler tools will be configured to see the same subset of  the  store
14763       that  builds would see. The PATH is modified to make all executables in
14764       the dependency tree available (provided they have been built  already).
14765       Commands are also rewritten in the way cabal itself would. For example,
14766       `cabal v2-exec ghc` will consult the configuration to choose an  appro‐
14767       priate version of ghc and to include any ghc-specific flags requested.
14768
14769
14770       Flags:
14771              -v, --verbose [n]
14772                     Control  verbosity (n is 0--3, default verbosity level is
14773                     1)
14774
14775              --builddir, --distdir, --distpref DIR
14776                     The directory where  Cabal  puts  generated  build  files
14777                     (default dist)
14778
14779              -g, --ghc
14780                     compile with GHC
14781
14782              --ghcjs
14783                     compile with GHCJS
14784
14785              --uhc
14786                     compile with UHC
14787
14788              --haskell-suite
14789                     compile with a haskell-suite compiler
14790
14791              --cabal-file PATH
14792                     use this Cabal file
14793
14794              -w, --with-compiler PATH
14795                     give the path to a particular compiler
14796
14797              --with-hc-pkg PATH
14798                     give the path to the package tool
14799
14800              --prefix DIR
14801                     bake this prefix in preparation of installation
14802
14803              --bindir DIR
14804                     installation directory for executables
14805
14806              --libdir DIR
14807                     installation directory for libraries
14808
14809              --libsubdir DIR
14810                     subdirectory of libdir in which libs are installed
14811
14812              --dynlibdir DIR
14813                     installation directory for dynamic libraries
14814
14815              --libexecdir DIR
14816                     installation directory for program executables
14817
14818              --libexecsubdir DIR
14819                     subdirectory  of  libexecdir in which private executables
14820                     are installed
14821
14822              --datadir DIR
14823                     installation directory for read-only data
14824
14825              --datasubdir DIR
14826                     subdirectory of datadir in which data files are installed
14827
14828              --docdir DIR
14829                     installation directory for documentation
14830
14831              --htmldir DIR
14832                     installation directory for HTML documentation
14833
14834              --haddockdir DIR
14835                     installation directory for haddock interfaces
14836
14837              --sysconfdir DIR
14838                     installation directory for configuration files
14839
14840              --program-prefix PREFIX
14841                     prefix to be applied to installed executables
14842
14843              --program-suffix SUFFIX
14844                     suffix to be applied to installed executables
14845
14846              --enable-library-vanilla
14847              --disable-library-vanilla
14848                     Vanilla libraries
14849
14850              -p, --enable-library-profiling
14851              --disable-library-profiling
14852                     Library profiling
14853
14854              --enable-shared
14855              --disable-shared
14856                     Shared library
14857
14858              --enable-static
14859              --disable-static
14860                     Static library
14861
14862              --enable-executable-dynamic
14863              --disable-executable-dynamic
14864                     Executable dynamic linking
14865
14866              --enable-profiling
14867              --disable-profiling
14868                     Executable and library profiling
14869
14870              --enable-executable-profiling
14871              --disable-executable-profiling
14872                     Executable profiling (DEPRECATED)
14873
14874              --profiling-detail level
14875                     Profiling  detail  level  for  executable   and   library
14876                     (default,  none,  exported-functions, toplevel-functions,
14877                     all-functions).
14878
14879              --library-profiling-detail level
14880                     Profiling detail level for libraries only.
14881
14882              -O, --enable-optimization, --enable-optimisation [n]
14883                     Build with optimization (n is 0--2, default is 1)
14884
14885              --disable-optimization, --disable-optimisation
14886                     Build without optimization
14887
14888              --enable-debug-info [n]
14889                     Emit debug info (n is 0--3, default is 0)
14890
14891              --disable-debug-info
14892                     Don't emit debug info
14893
14894              --enable-library-for-ghci
14895              --disable-library-for-ghci
14896                     compile library for use with GHCi
14897
14898              --enable-split-sections
14899              --disable-split-sections
14900                     compile library code such that unneeded  definitions  can
14901                     be dropped from the final executable (GHC 7.8+)
14902
14903              --enable-split-objs
14904              --disable-split-objs
14905                     split library into smaller objects to reduce binary sizes
14906                     (GHC 6.6+)
14907
14908              --enable-executable-stripping
14909              --disable-executable-stripping
14910                     strip executables  upon  installation  to  reduce  binary
14911                     sizes
14912
14913              --enable-library-stripping
14914              --disable-library-stripping
14915                     strip libraries upon installation to reduce binary sizes
14916
14917              --configure-option OPT
14918                     Extra option for configure
14919
14920              --user
14921              --global
14922                     doing a per-user installation
14923
14924              --package-db DB
14925                     Append  the given package database to the list of package
14926                     databases used  (to  satisfy  dependencies  and  register
14927                     into).  May  be  a specific file, 'global' or 'user'. The
14928                     initial  list  is  ['global'],  ['global',  'user'],   or
14929                     ['global',  $sandbox],  depending on context. Use 'clear'
14930                     to reset the list  to  empty.  See  the  user  guide  for
14931                     details.
14932
14933              -f, --flags FLAGS
14934                     Force values for the given flags in Cabal conditionals in
14935                     the .cabal file.  E.g.,  --flags="debug  -usebytestrings"
14936                     forces  the  flag "debug" to true and "usebytestrings" to
14937                     false.
14938
14939              --extra-include-dirs PATH
14940                     A list of directories to search for header files
14941
14942              --enable-deterministic
14943              --disable-deterministic
14944                     Try to be as deterministic as possible (used by the  test
14945                     suite)
14946
14947              --ipid IPID
14948                     Installed package ID to compile this package as
14949
14950              --cid CID
14951                     Installed component ID to compile this component as
14952
14953              --extra-lib-dirs PATH
14954                     A list of directories to search for external libraries
14955
14956              --extra-framework-dirs PATH
14957                     A  list  of directories to search for external frameworks
14958                     (OS X only)
14959
14960              --extra-prog-path PATH
14961                     A list of directories to search for required programs (in
14962                     addition to the normal search locations)
14963
14964              --instantiate-with NAME=MOD
14965                     A mapping of signature names to concrete module instanti‐
14966                     ations.
14967
14968              --enable-tests
14969              --disable-tests
14970                     dependency  checking  and  compilation  for  test  suites
14971                     listed in the package description file.
14972
14973              --enable-coverage
14974              --disable-coverage
14975                     build package with Haskell Program Coverage. (GHC only)
14976
14977              --enable-library-coverage
14978              --disable-library-coverage
14979                     build  package  with Haskell Program Coverage. (GHC only)
14980                     (DEPRECATED)
14981
14982              --enable-benchmarks
14983              --disable-benchmarks
14984                     dependency checking and compilation for benchmarks listed
14985                     in the package description file.
14986
14987              --enable-relocatable
14988              --disable-relocatable
14989                     building a package that is relocatable. (GHC only)
14990
14991              --disable-response-files
14992                     enable  workaround for old versions of programs like "ar"
14993                     that do not support @file arguments
14994
14995              --with-alex PATH
14996                     give the path to alex
14997
14998              --with-ar PATH
14999                     give the path to ar
15000
15001              --with-c2hs PATH
15002                     give the path to c2hs
15003
15004              --with-cpphs PATH
15005                     give the path to cpphs
15006
15007              --with-doctest PATH
15008                     give the path to doctest
15009
15010              --with-gcc PATH
15011                     give the path to gcc
15012
15013              --with-ghc PATH
15014                     give the path to ghc
15015
15016              --with-ghc-pkg PATH
15017                     give the path to ghc-pkg
15018
15019              --with-ghcjs PATH
15020                     give the path to ghcjs
15021
15022              --with-ghcjs-pkg PATH
15023                     give the path to ghcjs-pkg
15024
15025              --with-greencard PATH
15026                     give the path to greencard
15027
15028              --with-haddock PATH
15029                     give the path to haddock
15030
15031              --with-happy PATH
15032                     give the path to happy
15033
15034              --with-haskell-suite PATH
15035                     give the path to haskell-suite
15036
15037              --with-haskell-suite-pkg PATH
15038                     give the path to haskell-suite-pkg
15039
15040              --with-hmake PATH
15041                     give the path to hmake
15042
15043              --with-hpc PATH
15044                     give the path to hpc
15045
15046              --with-hsc2hs PATH
15047                     give the path to hsc2hs
15048
15049              --with-hscolour PATH
15050                     give the path to hscolour
15051
15052              --with-jhc PATH
15053                     give the path to jhc
15054
15055              --with-ld PATH
15056                     give the path to ld
15057
15058              --with-pkg-config PATH
15059                     give the path to pkg-config
15060
15061              --with-runghc PATH
15062                     give the path to runghc
15063
15064              --with-strip PATH
15065                     give the path to strip
15066
15067              --with-tar PATH
15068                     give the path to tar
15069
15070              --with-uhc PATH
15071                     give the path to uhc
15072
15073              --alex-option OPT
15074                     give an extra option to alex (no need  to  quote  options
15075                     containing spaces)
15076
15077              --ar-option OPT
15078                     give an extra option to ar (no need to quote options con‐
15079                     taining spaces)
15080
15081              --c2hs-option OPT
15082                     give an extra option to c2hs (no need  to  quote  options
15083                     containing spaces)
15084
15085              --cpphs-option OPT
15086                     give  an  extra option to cpphs (no need to quote options
15087                     containing spaces)
15088
15089              --doctest-option OPT
15090                     give an extra option to doctest (no need to quote options
15091                     containing spaces)
15092
15093              --gcc-option OPT
15094                     give  an  extra  option  to gcc (no need to quote options
15095                     containing spaces)
15096
15097              --ghc-option OPT
15098                     give an extra option to ghc (no  need  to  quote  options
15099                     containing spaces)
15100
15101              --ghc-pkg-option OPT
15102                     give an extra option to ghc-pkg (no need to quote options
15103                     containing spaces)
15104
15105              --ghcjs-option OPT
15106                     give an extra option to ghcjs (no need to  quote  options
15107                     containing spaces)
15108
15109              --ghcjs-pkg-option OPT
15110                     give  an  extra  option  to  ghcjs-pkg  (no need to quote
15111                     options containing spaces)
15112
15113              --greencard-option OPT
15114                     give an extra option  to  greencard  (no  need  to  quote
15115                     options containing spaces)
15116
15117              --haddock-option OPT
15118                     give an extra option to haddock (no need to quote options
15119                     containing spaces)
15120
15121              --happy-option OPT
15122                     give an extra option to happy (no need to  quote  options
15123                     containing spaces)
15124
15125              --haskell-suite-option OPT
15126                     give  an  extra option to haskell-suite (no need to quote
15127                     options containing spaces)
15128
15129              --haskell-suite-pkg-option OPT
15130                     give an extra option to  haskell-suite-pkg  (no  need  to
15131                     quote options containing spaces)
15132
15133              --hmake-option OPT
15134                     give  an  extra option to hmake (no need to quote options
15135                     containing spaces)
15136
15137              --hpc-option OPT
15138                     give an extra option to hpc (no  need  to  quote  options
15139                     containing spaces)
15140
15141              --hsc2hs-option OPT
15142                     give  an extra option to hsc2hs (no need to quote options
15143                     containing spaces)
15144
15145              --hscolour-option OPT
15146                     give an extra  option  to  hscolour  (no  need  to  quote
15147                     options containing spaces)
15148
15149              --jhc-option OPT
15150                     give  an  extra  option  to jhc (no need to quote options
15151                     containing spaces)
15152
15153              --ld-option OPT
15154                     give an extra option to ld (no need to quote options con‐
15155                     taining spaces)
15156
15157              --pkg-config-option OPT
15158                     give  an  extra  option  to  pkg-config (no need to quote
15159                     options containing spaces)
15160
15161              --runghc-option OPT
15162                     give an extra option to runghc (no need to quote  options
15163                     containing spaces)
15164
15165              --strip-option OPT
15166                     give  an  extra option to strip (no need to quote options
15167                     containing spaces)
15168
15169              --tar-option OPT
15170                     give an extra option to tar (no  need  to  quote  options
15171                     containing spaces)
15172
15173              --uhc-option OPT
15174                     give  an  extra  option  to uhc (no need to quote options
15175                     containing spaces)
15176
15177              --alex-options OPTS
15178                     give extra options to alex
15179
15180              --ar-options OPTS
15181                     give extra options to ar
15182
15183              --c2hs-options OPTS
15184                     give extra options to c2hs
15185
15186              --cpphs-options OPTS
15187                     give extra options to cpphs
15188
15189              --doctest-options OPTS
15190                     give extra options to doctest
15191
15192              --gcc-options OPTS
15193                     give extra options to gcc
15194
15195              --ghc-options OPTS
15196                     give extra options to ghc
15197
15198              --ghc-pkg-options OPTS
15199                     give extra options to ghc-pkg
15200
15201              --ghcjs-options OPTS
15202                     give extra options to ghcjs
15203
15204              --ghcjs-pkg-options OPTS
15205                     give extra options to ghcjs-pkg
15206
15207              --greencard-options OPTS
15208                     give extra options to greencard
15209
15210              --haddock-options OPTS
15211                     give extra options to haddock
15212
15213              --happy-options OPTS
15214                     give extra options to happy
15215
15216              --haskell-suite-options OPTS
15217                     give extra options to haskell-suite
15218
15219              --haskell-suite-pkg-options OPTS
15220                     give extra options to haskell-suite-pkg
15221
15222              --hmake-options OPTS
15223                     give extra options to hmake
15224
15225              --hpc-options OPTS
15226                     give extra options to hpc
15227
15228              --hsc2hs-options OPTS
15229                     give extra options to hsc2hs
15230
15231              --hscolour-options OPTS
15232                     give extra options to hscolour
15233
15234              --jhc-options OPTS
15235                     give extra options to jhc
15236
15237              --ld-options OPTS
15238                     give extra options to ld
15239
15240              --pkg-config-options OPTS
15241                     give extra options to pkg-config
15242
15243              --runghc-options OPTS
15244                     give extra options to runghc
15245
15246              --strip-options OPTS
15247                     give extra options to strip
15248
15249              --tar-options OPTS
15250                     give extra options to tar
15251
15252              --uhc-options OPTS
15253                     give extra options to uhc
15254
15255              --cabal-lib-version VERSION
15256                     Select which version of the Cabal lib  to  use  to  build
15257                     packages (useful for testing).
15258
15259              --constraint CONSTRAINT
15260                     Specify    constraints    on    a    package    (version,
15261                     installed/source, flags)
15262
15263              --preference CONSTRAINT
15264                     Specify preferences (soft constraints) on the version  of
15265                     a package
15266
15267              --solver SOLVER
15268                     Select  dependency  solver  to  use  (default:  modular).
15269                     Choices: modular.
15270
15271              --allow-older [DEPS]
15272                     Ignore lower bounds in all dependencies or DEPS
15273
15274              --allow-newer [DEPS]
15275                     Ignore upper bounds in all dependencies or DEPS
15276
15277              --enable-documentation
15278              --disable-documentation
15279                     building of documentation
15280
15281              --doc-index-file TEMPLATE
15282                     A central index of haddock  API  documentation  (template
15283                     cannot use $pkgid)
15284
15285              --dry-run
15286                     Do  not  install  anything,  only  print  what  would  be
15287                     installed.
15288
15289              --max-backjumps NUM
15290                     Maximum  number  of  backjumps  allowed   while   solving
15291                     (default:  2000).  Use a negative number to enable unlim‐
15292                     ited backtracking. Use 0  to  disable  backtracking  com‐
15293                     pletely.
15294
15295              --reorder-goals
15296              --no-reorder-goals
15297                     Try  to  reorder  goals  according to certain heuristics.
15298                     Slows things down on average, but may  make  backtracking
15299                     faster for some packages.
15300
15301              --count-conflicts
15302              --no-count-conflicts
15303                     Try  to  speed  up  solving  by preferring goals that are
15304                     involved in a lot of conflicts (default).
15305
15306              --independent-goals
15307              --no-independent-goals
15308                     Treat several goals on the command line  as  independent.
15309                     If  several  goals  depend on the same package, different
15310                     versions can be chosen.
15311
15312              --shadow-installed-packages
15313              --no-shadow-installed-packages
15314                     If multiple package instances of  the  same  version  are
15315                     installed, treat all but one as shadowed.
15316
15317              --strong-flags
15318              --no-strong-flags
15319                     Do not defer flag choices (this used to be the default in
15320                     cabal-install <= 1.20).
15321
15322              --allow-boot-library-installs
15323              --no-allow-boot-library-installs
15324                     Allow cabal to install  base,  ghc-prim,  integer-simple,
15325                     integer-gmp, and template-haskell.
15326
15327              --reinstall
15328              --no-reinstall
15329                     Install  even  if  it  means  installing the same version
15330                     again.
15331
15332              --avoid-reinstalls
15333              --no-avoid-reinstalls
15334                     Do not select versions that would destructively overwrite
15335                     installed packages.
15336
15337              --force-reinstalls
15338              --no-force-reinstalls
15339                     Reinstall  packages  even  if they will most likely break
15340                     other installed packages.
15341
15342              --upgrade-dependencies
15343              --no-upgrade-dependencies
15344                     Pick the latest version for all dependencies, rather than
15345                     trying to pick an installed version.
15346
15347              --only-dependencies
15348              --no-only-dependencies
15349                     Install  only  the  dependencies  necessary  to build the
15350                     given packages
15351
15352              --dependencies-only
15353              --no-dependencies-only
15354                     A synonym for --only-dependencies
15355
15356              --index-state STATE
15357                     Use source package index state as it existed at a  previ‐
15358                     ous  time.  Accepts unix-timestamps (e.g. '@1474732068'),
15359                     ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'),  or
15360                     'HEAD' (default: 'HEAD').
15361
15362              --root-cmd COMMAND
15363                     (No longer supported, do not use.)
15364
15365              --symlink-bindir DIR
15366                     Add  symlinks  to  installed executables into this direc‐
15367                     tory.
15368
15369              --build-summary TEMPLATE
15370                     Save build summaries  to  file  (name  template  can  use
15371                     $pkgid, $compiler, $os, $arch)
15372
15373              --build-log TEMPLATE
15374                     Log  all  builds  to  file (name template can use $pkgid,
15375                     $compiler, $os, $arch)
15376
15377              --remote-build-reporting LEVEL
15378                     Generate build reports to send to a remote server  (none,
15379                     anonymous or detailed).
15380
15381              --report-planning-failure
15382                     Generate  build reports when the dependency solver fails.
15383                     This is used by the Hackage build bot.
15384
15385              --enable-per-component
15386              --disable-per-component
15387                     Per-component builds when possible
15388
15389              --one-shot
15390              --no-one-shot
15391                     Do not record the packages in the world file.
15392
15393              --run-tests
15394                     Run package test suites during installation.
15395
15396              -j, --jobs [NUM]
15397                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
15398                     given).
15399
15400              --keep-going
15401                     After a build failure, continue to build other unaffected
15402                     packages.
15403
15404              --offline
15405              --no-offline
15406                     Don't download packages from the Internet.
15407
15408              --project-file FILE
15409                     Set the name of the cabal.project file to search  for  in
15410                     parent directories
15411
15412              --only
15413                     Only installs the package in the current directory.
15414
15415              --haddock-hoogle
15416                     Generate a hoogle database
15417
15418              --haddock-html
15419                     Generate HTML documentation (the default)
15420
15421              --haddock-html-location URL
15422                     Location of HTML documentation for pre-requisite packages
15423
15424              --haddock-for-hackage
15425                     Collection  of  flags  to generate documentation suitable
15426                     for upload to hackage
15427
15428              --haddock-executables
15429                     Run haddock for Executables targets
15430
15431              --haddock-tests
15432                     Run haddock for Test Suite targets
15433
15434              --haddock-benchmarks
15435                     Run haddock for Benchmark targets
15436
15437              --haddock-all
15438                     Run haddock for all targets
15439
15440              --haddock-internal
15441                     Run haddock for internal modules and include all symbols
15442
15443              --haddock-css PATH
15444                     Use PATH as the haddock stylesheet
15445
15446              --haddock-hyperlink-source, --haddock-hyperlink-sources,  --had‐
15447              dock-hyperlinked-source
15448                     Hyperlink the documentation to the source code
15449
15450              --haddock-quickjump
15451                     Generate  an  index for interactive documentation naviga‐
15452                     tion
15453
15454              --haddock-hscolour-css PATH
15455                     Use PATH as the HsColour stylesheet
15456
15457              --haddock-contents-location URL
15458                     Bake URL in as the location for the contents page
15459
15460
15461       cabal new-exec
15462
15463       Usage: cabal new-exec [FLAGS] [--] COMMAND [--] [ARGS]
15464
15465
15466       During development it is often useful to run build  tasks  and  perform
15467       one-off  program  executions  to  experiment with the behavior of build
15468       tools. It is convenient to run these tools in the same way cabal itself
15469       would. The `cabal new-exec` command provides a way to do so.
15470
15471       Compiler  tools  will be configured to see the same subset of the store
15472       that builds would see. The PATH is modified to make all executables  in
15473       the  dependency tree available (provided they have been built already).
15474       Commands are also rewritten in the way cabal itself would. For example,
15475       `cabal new-exec ghc` will consult the configuration to choose an appro‐
15476       priate version of ghc and to include any ghc-specific flags requested.
15477
15478
15479       Flags:
15480              -v, --verbose [n]
15481                     Control verbosity (n is 0--3, default verbosity level  is
15482                     1)
15483
15484              --builddir, --distdir, --distpref DIR
15485                     The  directory  where  Cabal  puts  generated build files
15486                     (default dist)
15487
15488              -g, --ghc
15489                     compile with GHC
15490
15491              --ghcjs
15492                     compile with GHCJS
15493
15494              --uhc
15495                     compile with UHC
15496
15497              --haskell-suite
15498                     compile with a haskell-suite compiler
15499
15500              --cabal-file PATH
15501                     use this Cabal file
15502
15503              -w, --with-compiler PATH
15504                     give the path to a particular compiler
15505
15506              --with-hc-pkg PATH
15507                     give the path to the package tool
15508
15509              --prefix DIR
15510                     bake this prefix in preparation of installation
15511
15512              --bindir DIR
15513                     installation directory for executables
15514
15515              --libdir DIR
15516                     installation directory for libraries
15517
15518              --libsubdir DIR
15519                     subdirectory of libdir in which libs are installed
15520
15521              --dynlibdir DIR
15522                     installation directory for dynamic libraries
15523
15524              --libexecdir DIR
15525                     installation directory for program executables
15526
15527              --libexecsubdir DIR
15528                     subdirectory of libexecdir in which  private  executables
15529                     are installed
15530
15531              --datadir DIR
15532                     installation directory for read-only data
15533
15534              --datasubdir DIR
15535                     subdirectory of datadir in which data files are installed
15536
15537              --docdir DIR
15538                     installation directory for documentation
15539
15540              --htmldir DIR
15541                     installation directory for HTML documentation
15542
15543              --haddockdir DIR
15544                     installation directory for haddock interfaces
15545
15546              --sysconfdir DIR
15547                     installation directory for configuration files
15548
15549              --program-prefix PREFIX
15550                     prefix to be applied to installed executables
15551
15552              --program-suffix SUFFIX
15553                     suffix to be applied to installed executables
15554
15555              --enable-library-vanilla
15556              --disable-library-vanilla
15557                     Vanilla libraries
15558
15559              -p, --enable-library-profiling
15560              --disable-library-profiling
15561                     Library profiling
15562
15563              --enable-shared
15564              --disable-shared
15565                     Shared library
15566
15567              --enable-static
15568              --disable-static
15569                     Static library
15570
15571              --enable-executable-dynamic
15572              --disable-executable-dynamic
15573                     Executable dynamic linking
15574
15575              --enable-profiling
15576              --disable-profiling
15577                     Executable and library profiling
15578
15579              --enable-executable-profiling
15580              --disable-executable-profiling
15581                     Executable profiling (DEPRECATED)
15582
15583              --profiling-detail level
15584                     Profiling   detail   level  for  executable  and  library
15585                     (default, none,  exported-functions,  toplevel-functions,
15586                     all-functions).
15587
15588              --library-profiling-detail level
15589                     Profiling detail level for libraries only.
15590
15591              -O, --enable-optimization, --enable-optimisation [n]
15592                     Build with optimization (n is 0--2, default is 1)
15593
15594              --disable-optimization, --disable-optimisation
15595                     Build without optimization
15596
15597              --enable-debug-info [n]
15598                     Emit debug info (n is 0--3, default is 0)
15599
15600              --disable-debug-info
15601                     Don't emit debug info
15602
15603              --enable-library-for-ghci
15604              --disable-library-for-ghci
15605                     compile library for use with GHCi
15606
15607              --enable-split-sections
15608              --disable-split-sections
15609                     compile  library  code such that unneeded definitions can
15610                     be dropped from the final executable (GHC 7.8+)
15611
15612              --enable-split-objs
15613              --disable-split-objs
15614                     split library into smaller objects to reduce binary sizes
15615                     (GHC 6.6+)
15616
15617              --enable-executable-stripping
15618              --disable-executable-stripping
15619                     strip  executables  upon  installation  to  reduce binary
15620                     sizes
15621
15622              --enable-library-stripping
15623              --disable-library-stripping
15624                     strip libraries upon installation to reduce binary sizes
15625
15626              --configure-option OPT
15627                     Extra option for configure
15628
15629              --user
15630              --global
15631                     doing a per-user installation
15632
15633              --package-db DB
15634                     Append the given package database to the list of  package
15635                     databases  used  (to  satisfy  dependencies  and register
15636                     into). May be a specific file, 'global'  or  'user'.  The
15637                     initial   list  is  ['global'],  ['global',  'user'],  or
15638                     ['global', $sandbox], depending on context.  Use  'clear'
15639                     to  reset  the  list  to  empty.  See  the user guide for
15640                     details.
15641
15642              -f, --flags FLAGS
15643                     Force values for the given flags in Cabal conditionals in
15644                     the  .cabal  file.  E.g., --flags="debug -usebytestrings"
15645                     forces the flag "debug" to true and  "usebytestrings"  to
15646                     false.
15647
15648              --extra-include-dirs PATH
15649                     A list of directories to search for header files
15650
15651              --enable-deterministic
15652              --disable-deterministic
15653                     Try  to be as deterministic as possible (used by the test
15654                     suite)
15655
15656              --ipid IPID
15657                     Installed package ID to compile this package as
15658
15659              --cid CID
15660                     Installed component ID to compile this component as
15661
15662              --extra-lib-dirs PATH
15663                     A list of directories to search for external libraries
15664
15665              --extra-framework-dirs PATH
15666                     A list of directories to search for  external  frameworks
15667                     (OS X only)
15668
15669              --extra-prog-path PATH
15670                     A list of directories to search for required programs (in
15671                     addition to the normal search locations)
15672
15673              --instantiate-with NAME=MOD
15674                     A mapping of signature names to concrete module instanti‐
15675                     ations.
15676
15677              --enable-tests
15678              --disable-tests
15679                     dependency  checking  and  compilation  for  test  suites
15680                     listed in the package description file.
15681
15682              --enable-coverage
15683              --disable-coverage
15684                     build package with Haskell Program Coverage. (GHC only)
15685
15686              --enable-library-coverage
15687              --disable-library-coverage
15688                     build package with Haskell Program Coverage.  (GHC  only)
15689                     (DEPRECATED)
15690
15691              --enable-benchmarks
15692              --disable-benchmarks
15693                     dependency checking and compilation for benchmarks listed
15694                     in the package description file.
15695
15696              --enable-relocatable
15697              --disable-relocatable
15698                     building a package that is relocatable. (GHC only)
15699
15700              --disable-response-files
15701                     enable workaround for old versions of programs like  "ar"
15702                     that do not support @file arguments
15703
15704              --with-alex PATH
15705                     give the path to alex
15706
15707              --with-ar PATH
15708                     give the path to ar
15709
15710              --with-c2hs PATH
15711                     give the path to c2hs
15712
15713              --with-cpphs PATH
15714                     give the path to cpphs
15715
15716              --with-doctest PATH
15717                     give the path to doctest
15718
15719              --with-gcc PATH
15720                     give the path to gcc
15721
15722              --with-ghc PATH
15723                     give the path to ghc
15724
15725              --with-ghc-pkg PATH
15726                     give the path to ghc-pkg
15727
15728              --with-ghcjs PATH
15729                     give the path to ghcjs
15730
15731              --with-ghcjs-pkg PATH
15732                     give the path to ghcjs-pkg
15733
15734              --with-greencard PATH
15735                     give the path to greencard
15736
15737              --with-haddock PATH
15738                     give the path to haddock
15739
15740              --with-happy PATH
15741                     give the path to happy
15742
15743              --with-haskell-suite PATH
15744                     give the path to haskell-suite
15745
15746              --with-haskell-suite-pkg PATH
15747                     give the path to haskell-suite-pkg
15748
15749              --with-hmake PATH
15750                     give the path to hmake
15751
15752              --with-hpc PATH
15753                     give the path to hpc
15754
15755              --with-hsc2hs PATH
15756                     give the path to hsc2hs
15757
15758              --with-hscolour PATH
15759                     give the path to hscolour
15760
15761              --with-jhc PATH
15762                     give the path to jhc
15763
15764              --with-ld PATH
15765                     give the path to ld
15766
15767              --with-pkg-config PATH
15768                     give the path to pkg-config
15769
15770              --with-runghc PATH
15771                     give the path to runghc
15772
15773              --with-strip PATH
15774                     give the path to strip
15775
15776              --with-tar PATH
15777                     give the path to tar
15778
15779              --with-uhc PATH
15780                     give the path to uhc
15781
15782              --alex-option OPT
15783                     give  an  extra  option to alex (no need to quote options
15784                     containing spaces)
15785
15786              --ar-option OPT
15787                     give an extra option to ar (no need to quote options con‐
15788                     taining spaces)
15789
15790              --c2hs-option OPT
15791                     give  an  extra  option to c2hs (no need to quote options
15792                     containing spaces)
15793
15794              --cpphs-option OPT
15795                     give an extra option to cpphs (no need to  quote  options
15796                     containing spaces)
15797
15798              --doctest-option OPT
15799                     give an extra option to doctest (no need to quote options
15800                     containing spaces)
15801
15802              --gcc-option OPT
15803                     give an extra option to gcc (no  need  to  quote  options
15804                     containing spaces)
15805
15806              --ghc-option OPT
15807                     give  an  extra  option  to ghc (no need to quote options
15808                     containing spaces)
15809
15810              --ghc-pkg-option OPT
15811                     give an extra option to ghc-pkg (no need to quote options
15812                     containing spaces)
15813
15814              --ghcjs-option OPT
15815                     give  an  extra option to ghcjs (no need to quote options
15816                     containing spaces)
15817
15818              --ghcjs-pkg-option OPT
15819                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
15820                     options containing spaces)
15821
15822              --greencard-option OPT
15823                     give  an  extra  option  to  greencard  (no need to quote
15824                     options containing spaces)
15825
15826              --haddock-option OPT
15827                     give an extra option to haddock (no need to quote options
15828                     containing spaces)
15829
15830              --happy-option OPT
15831                     give  an  extra option to happy (no need to quote options
15832                     containing spaces)
15833
15834              --haskell-suite-option OPT
15835                     give an extra option to haskell-suite (no need  to  quote
15836                     options containing spaces)
15837
15838              --haskell-suite-pkg-option OPT
15839                     give  an  extra  option  to haskell-suite-pkg (no need to
15840                     quote options containing spaces)
15841
15842              --hmake-option OPT
15843                     give an extra option to hmake (no need to  quote  options
15844                     containing spaces)
15845
15846              --hpc-option OPT
15847                     give  an  extra  option  to hpc (no need to quote options
15848                     containing spaces)
15849
15850              --hsc2hs-option OPT
15851                     give an extra option to hsc2hs (no need to quote  options
15852                     containing spaces)
15853
15854              --hscolour-option OPT
15855                     give  an  extra  option  to  hscolour  (no  need to quote
15856                     options containing spaces)
15857
15858              --jhc-option OPT
15859                     give an extra option to jhc (no  need  to  quote  options
15860                     containing spaces)
15861
15862              --ld-option OPT
15863                     give an extra option to ld (no need to quote options con‐
15864                     taining spaces)
15865
15866              --pkg-config-option OPT
15867                     give an extra option to  pkg-config  (no  need  to  quote
15868                     options containing spaces)
15869
15870              --runghc-option OPT
15871                     give  an extra option to runghc (no need to quote options
15872                     containing spaces)
15873
15874              --strip-option OPT
15875                     give an extra option to strip (no need to  quote  options
15876                     containing spaces)
15877
15878              --tar-option OPT
15879                     give  an  extra  option  to tar (no need to quote options
15880                     containing spaces)
15881
15882              --uhc-option OPT
15883                     give an extra option to uhc (no  need  to  quote  options
15884                     containing spaces)
15885
15886              --alex-options OPTS
15887                     give extra options to alex
15888
15889              --ar-options OPTS
15890                     give extra options to ar
15891
15892              --c2hs-options OPTS
15893                     give extra options to c2hs
15894
15895              --cpphs-options OPTS
15896                     give extra options to cpphs
15897
15898              --doctest-options OPTS
15899                     give extra options to doctest
15900
15901              --gcc-options OPTS
15902                     give extra options to gcc
15903
15904              --ghc-options OPTS
15905                     give extra options to ghc
15906
15907              --ghc-pkg-options OPTS
15908                     give extra options to ghc-pkg
15909
15910              --ghcjs-options OPTS
15911                     give extra options to ghcjs
15912
15913              --ghcjs-pkg-options OPTS
15914                     give extra options to ghcjs-pkg
15915
15916              --greencard-options OPTS
15917                     give extra options to greencard
15918
15919              --haddock-options OPTS
15920                     give extra options to haddock
15921
15922              --happy-options OPTS
15923                     give extra options to happy
15924
15925              --haskell-suite-options OPTS
15926                     give extra options to haskell-suite
15927
15928              --haskell-suite-pkg-options OPTS
15929                     give extra options to haskell-suite-pkg
15930
15931              --hmake-options OPTS
15932                     give extra options to hmake
15933
15934              --hpc-options OPTS
15935                     give extra options to hpc
15936
15937              --hsc2hs-options OPTS
15938                     give extra options to hsc2hs
15939
15940              --hscolour-options OPTS
15941                     give extra options to hscolour
15942
15943              --jhc-options OPTS
15944                     give extra options to jhc
15945
15946              --ld-options OPTS
15947                     give extra options to ld
15948
15949              --pkg-config-options OPTS
15950                     give extra options to pkg-config
15951
15952              --runghc-options OPTS
15953                     give extra options to runghc
15954
15955              --strip-options OPTS
15956                     give extra options to strip
15957
15958              --tar-options OPTS
15959                     give extra options to tar
15960
15961              --uhc-options OPTS
15962                     give extra options to uhc
15963
15964              --cabal-lib-version VERSION
15965                     Select  which  version  of  the Cabal lib to use to build
15966                     packages (useful for testing).
15967
15968              --constraint CONSTRAINT
15969                     Specify    constraints    on    a    package    (version,
15970                     installed/source, flags)
15971
15972              --preference CONSTRAINT
15973                     Specify  preferences (soft constraints) on the version of
15974                     a package
15975
15976              --solver SOLVER
15977                     Select  dependency  solver  to  use  (default:  modular).
15978                     Choices: modular.
15979
15980              --allow-older [DEPS]
15981                     Ignore lower bounds in all dependencies or DEPS
15982
15983              --allow-newer [DEPS]
15984                     Ignore upper bounds in all dependencies or DEPS
15985
15986              --enable-documentation
15987              --disable-documentation
15988                     building of documentation
15989
15990              --doc-index-file TEMPLATE
15991                     A  central  index  of haddock API documentation (template
15992                     cannot use $pkgid)
15993
15994              --dry-run
15995                     Do  not  install  anything,  only  print  what  would  be
15996                     installed.
15997
15998              --max-backjumps NUM
15999                     Maximum   number   of  backjumps  allowed  while  solving
16000                     (default: 2000). Use a negative number to  enable  unlim‐
16001                     ited  backtracking.  Use  0  to disable backtracking com‐
16002                     pletely.
16003
16004              --reorder-goals
16005              --no-reorder-goals
16006                     Try to reorder goals  according  to  certain  heuristics.
16007                     Slows  things  down on average, but may make backtracking
16008                     faster for some packages.
16009
16010              --count-conflicts
16011              --no-count-conflicts
16012                     Try to speed up solving  by  preferring  goals  that  are
16013                     involved in a lot of conflicts (default).
16014
16015              --independent-goals
16016              --no-independent-goals
16017                     Treat  several  goals on the command line as independent.
16018                     If several goals depend on the  same  package,  different
16019                     versions can be chosen.
16020
16021              --shadow-installed-packages
16022              --no-shadow-installed-packages
16023                     If  multiple  package  instances  of the same version are
16024                     installed, treat all but one as shadowed.
16025
16026              --strong-flags
16027              --no-strong-flags
16028                     Do not defer flag choices (this used to be the default in
16029                     cabal-install <= 1.20).
16030
16031              --allow-boot-library-installs
16032              --no-allow-boot-library-installs
16033                     Allow  cabal  to  install base, ghc-prim, integer-simple,
16034                     integer-gmp, and template-haskell.
16035
16036              --reinstall
16037              --no-reinstall
16038                     Install even if it  means  installing  the  same  version
16039                     again.
16040
16041              --avoid-reinstalls
16042              --no-avoid-reinstalls
16043                     Do not select versions that would destructively overwrite
16044                     installed packages.
16045
16046              --force-reinstalls
16047              --no-force-reinstalls
16048                     Reinstall packages even if they will  most  likely  break
16049                     other installed packages.
16050
16051              --upgrade-dependencies
16052              --no-upgrade-dependencies
16053                     Pick the latest version for all dependencies, rather than
16054                     trying to pick an installed version.
16055
16056              --only-dependencies
16057              --no-only-dependencies
16058                     Install only the  dependencies  necessary  to  build  the
16059                     given packages
16060
16061              --dependencies-only
16062              --no-dependencies-only
16063                     A synonym for --only-dependencies
16064
16065              --index-state STATE
16066                     Use  source package index state as it existed at a previ‐
16067                     ous time. Accepts unix-timestamps  (e.g.  '@1474732068'),
16068                     ISO8601  UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or
16069                     'HEAD' (default: 'HEAD').
16070
16071              --root-cmd COMMAND
16072                     (No longer supported, do not use.)
16073
16074              --symlink-bindir DIR
16075                     Add symlinks to installed executables  into  this  direc‐
16076                     tory.
16077
16078              --build-summary TEMPLATE
16079                     Save  build  summaries  to  file  (name  template can use
16080                     $pkgid, $compiler, $os, $arch)
16081
16082              --build-log TEMPLATE
16083                     Log all builds to file (name  template  can  use  $pkgid,
16084                     $compiler, $os, $arch)
16085
16086              --remote-build-reporting LEVEL
16087                     Generate  build reports to send to a remote server (none,
16088                     anonymous or detailed).
16089
16090              --report-planning-failure
16091                     Generate build reports when the dependency solver  fails.
16092                     This is used by the Hackage build bot.
16093
16094              --enable-per-component
16095              --disable-per-component
16096                     Per-component builds when possible
16097
16098              --one-shot
16099              --no-one-shot
16100                     Do not record the packages in the world file.
16101
16102              --run-tests
16103                     Run package test suites during installation.
16104
16105              -j, --jobs [NUM]
16106                     Run  NUM  jobs  simultaneously  (or '$ncpus' if no NUM is
16107                     given).
16108
16109              --keep-going
16110                     After a build failure, continue to build other unaffected
16111                     packages.
16112
16113              --offline
16114              --no-offline
16115                     Don't download packages from the Internet.
16116
16117              --project-file FILE
16118                     Set  the  name of the cabal.project file to search for in
16119                     parent directories
16120
16121              --only
16122                     Only installs the package in the current directory.
16123
16124              --haddock-hoogle
16125                     Generate a hoogle database
16126
16127              --haddock-html
16128                     Generate HTML documentation (the default)
16129
16130              --haddock-html-location URL
16131                     Location of HTML documentation for pre-requisite packages
16132
16133              --haddock-for-hackage
16134                     Collection of flags to  generate  documentation  suitable
16135                     for upload to hackage
16136
16137              --haddock-executables
16138                     Run haddock for Executables targets
16139
16140              --haddock-tests
16141                     Run haddock for Test Suite targets
16142
16143              --haddock-benchmarks
16144                     Run haddock for Benchmark targets
16145
16146              --haddock-all
16147                     Run haddock for all targets
16148
16149              --haddock-internal
16150                     Run haddock for internal modules and include all symbols
16151
16152              --haddock-css PATH
16153                     Use PATH as the haddock stylesheet
16154
16155              --haddock-hyperlink-source,  --haddock-hyperlink-sources, --had‐
16156              dock-hyperlinked-source
16157                     Hyperlink the documentation to the source code
16158
16159              --haddock-quickjump
16160                     Generate an index for interactive  documentation  naviga‐
16161                     tion
16162
16163              --haddock-hscolour-css PATH
16164                     Use PATH as the HsColour stylesheet
16165
16166              --haddock-contents-location URL
16167                     Bake URL in as the location for the contents page
16168
16169
16170       cabal v2-clean
16171
16172       Usage: cabal v2-clean [FLAGS]
16173
16174
16175       Removes  all  temporary files created during the building process (.hi,
16176       .o, preprocessed sources, etc.) and also empties out the  local  caches
16177       (by default).
16178
16179
16180
16181       Removes  all  temporary files created during the building process (.hi,
16182       .o, preprocessed sources, etc.) and also empties out the  local  caches
16183       (by default).
16184
16185
16186
16187       Flags:
16188              -v, --verbose [n]
16189                     Control  verbosity (n is 0--3, default verbosity level is
16190                     1)
16191
16192              --builddir, --distdir, --distpref DIR
16193                     The directory where  Cabal  puts  generated  build  files
16194                     (default dist)
16195
16196              --project-file FILE
16197                     Set  the  name of the cabal.project file to search for in
16198                     parent directories
16199
16200              -s, --save-config
16201                     Save configuration, only remove build artifacts
16202
16203
16204       cabal new-clean
16205
16206       Usage: cabal new-clean [FLAGS]
16207
16208
16209       Removes all temporary files created during the building  process  (.hi,
16210       .o,  preprocessed  sources, etc.) and also empties out the local caches
16211       (by default).
16212
16213
16214
16215       Flags:
16216              -v, --verbose [n]
16217                     Control verbosity (n is 0--3, default verbosity level  is
16218                     1)
16219
16220              --builddir, --distdir, --distpref DIR
16221                     The  directory  where  Cabal  puts  generated build files
16222                     (default dist)
16223
16224              --project-file FILE
16225                     Set the name of the cabal.project file to search  for  in
16226                     parent directories
16227
16228              -s, --save-config
16229                     Save configuration, only remove build artifacts
16230
16231
16232       cabal v2-sdist
16233
16234       Usage: cabal v2-sdist [FLAGS] [PACKAGES]
16235
16236
16237       Generates tarballs of project packages suitable for upload to Hackage.
16238
16239       Generates tarballs of project packages suitable for upload to Hackage.
16240
16241       Flags:
16242              -v, --verbose [n]
16243                     Control  verbosity (n is 0--3, default verbosity level is
16244                     1)
16245
16246              --builddir, --distdir, --distpref DIR
16247                     The directory where  Cabal  puts  generated  build  files
16248                     (default dist)
16249
16250              --project-file FILE
16251                     Set  the  name of the cabal.project file to search for in
16252                     parent directories
16253
16254              -l, --list-only
16255                     Just list the sources, do not make a tarball
16256
16257              -z, --null-sep
16258                     Separate the source files with NUL bytes rather than new‐
16259                     lines.
16260
16261              --targz
16262                     Produce  a '.tar.gz' format archive (default and required
16263                     for uploading to hackage)
16264
16265              --zip
16266                     Produce a '.zip' format archive
16267
16268              -o, --output-dir, --outputdir PATH
16269                     Choose the output directory of this  command.  '-'  sends
16270                     all output to stdout
16271
16272
16273       cabal new-sdist
16274
16275       Usage: cabal new-sdist [FLAGS] [PACKAGES]
16276
16277
16278       Generates tarballs of project packages suitable for upload to Hackage.
16279
16280       Flags:
16281              -v, --verbose [n]
16282                     Control  verbosity (n is 0--3, default verbosity level is
16283                     1)
16284
16285              --builddir, --distdir, --distpref DIR
16286                     The directory where  Cabal  puts  generated  build  files
16287                     (default dist)
16288
16289              --project-file FILE
16290                     Set  the  name of the cabal.project file to search for in
16291                     parent directories
16292
16293              -l, --list-only
16294                     Just list the sources, do not make a tarball
16295
16296              -z, --null-sep
16297                     Separate the source files with NUL bytes rather than new‐
16298                     lines.
16299
16300              --targz
16301                     Produce  a '.tar.gz' format archive (default and required
16302                     for uploading to hackage)
16303
16304              --zip
16305                     Produce a '.zip' format archive
16306
16307              -o, --output-dir, --outputdir PATH
16308                     Choose the output directory of this  command.  '-'  sends
16309                     all output to stdout
16310
16311
16312       cabal configure
16313
16314       Usage: cabal configure [FLAGS]
16315
16316
16317       Configure  how  the  package  is  built  by setting package (and other)
16318       flags.
16319
16320       The configuration affects  several  other  commands,  including  build,
16321       test, bench, run, repl.
16322
16323
16324       The flags --with-PROG and --PROG-option(s) can be used with the follow‐
16325       ing programs:
16326         alex ar c2hs cpphs doctest gcc ghc ghc-pkg ghcjs ghcjs-pkg  greencard
16327       haddock
16328         happy  haskell-suite  haskell-suite-pkg hmake hpc hsc2hs hscolour jhc
16329       ld
16330         pkg-config runghc strip tar uhc
16331
16332       Examples:
16333         cabal configure
16334           Configure with defaults;
16335         cabal configure --enable-tests -fcustomflag
16336           Configure building package including tests,
16337           with some package-specific flag.
16338
16339       The configure command is a part of the legacy v1 style of cabal usage.
16340
16341       Please switch to using either the new project style and the new-config‐
16342       ure command or the legacy v1-configure alias as new-style projects will
16343       become the default in the next version of cabal-install. Please file  a
16344       bug  if  you cannot replicate a working v1- use case with the new-style
16345       commands.
16346
16347       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
16348
16349
16350       Flags:
16351              -v, --verbose [n]
16352                     Control verbosity (n is 0--3, default verbosity level  is
16353                     1)
16354
16355              --builddir, --distdir, --distpref DIR
16356                     The  directory  where  Cabal  puts  generated build files
16357                     (default dist)
16358
16359              -g, --ghc
16360                     compile with GHC
16361
16362              --ghcjs
16363                     compile with GHCJS
16364
16365              --uhc
16366                     compile with UHC
16367
16368              --haskell-suite
16369                     compile with a haskell-suite compiler
16370
16371              --cabal-file PATH
16372                     use this Cabal file
16373
16374              -w, --with-compiler PATH
16375                     give the path to a particular compiler
16376
16377              --with-hc-pkg PATH
16378                     give the path to the package tool
16379
16380              --prefix DIR
16381                     bake this prefix in preparation of installation
16382
16383              --bindir DIR
16384                     installation directory for executables
16385
16386              --libdir DIR
16387                     installation directory for libraries
16388
16389              --libsubdir DIR
16390                     subdirectory of libdir in which libs are installed
16391
16392              --dynlibdir DIR
16393                     installation directory for dynamic libraries
16394
16395              --libexecdir DIR
16396                     installation directory for program executables
16397
16398              --libexecsubdir DIR
16399                     subdirectory of libexecdir in which  private  executables
16400                     are installed
16401
16402              --datadir DIR
16403                     installation directory for read-only data
16404
16405              --datasubdir DIR
16406                     subdirectory of datadir in which data files are installed
16407
16408              --docdir DIR
16409                     installation directory for documentation
16410
16411              --htmldir DIR
16412                     installation directory for HTML documentation
16413
16414              --haddockdir DIR
16415                     installation directory for haddock interfaces
16416
16417              --sysconfdir DIR
16418                     installation directory for configuration files
16419
16420              --program-prefix PREFIX
16421                     prefix to be applied to installed executables
16422
16423              --program-suffix SUFFIX
16424                     suffix to be applied to installed executables
16425
16426              --enable-library-vanilla
16427              --disable-library-vanilla
16428                     Vanilla libraries
16429
16430              -p, --enable-library-profiling
16431              --disable-library-profiling
16432                     Library profiling
16433
16434              --enable-shared
16435              --disable-shared
16436                     Shared library
16437
16438              --enable-static
16439              --disable-static
16440                     Static library
16441
16442              --enable-executable-dynamic
16443              --disable-executable-dynamic
16444                     Executable dynamic linking
16445
16446              --enable-profiling
16447              --disable-profiling
16448                     Executable and library profiling
16449
16450              --enable-executable-profiling
16451              --disable-executable-profiling
16452                     Executable profiling (DEPRECATED)
16453
16454              --profiling-detail level
16455                     Profiling   detail   level  for  executable  and  library
16456                     (default, none,  exported-functions,  toplevel-functions,
16457                     all-functions).
16458
16459              --library-profiling-detail level
16460                     Profiling detail level for libraries only.
16461
16462              -O, --enable-optimization, --enable-optimisation [n]
16463                     Build with optimization (n is 0--2, default is 1)
16464
16465              --disable-optimization, --disable-optimisation
16466                     Build without optimization
16467
16468              --enable-debug-info [n]
16469                     Emit debug info (n is 0--3, default is 0)
16470
16471              --disable-debug-info
16472                     Don't emit debug info
16473
16474              --enable-library-for-ghci
16475              --disable-library-for-ghci
16476                     compile library for use with GHCi
16477
16478              --enable-split-sections
16479              --disable-split-sections
16480                     compile  library  code such that unneeded definitions can
16481                     be dropped from the final executable (GHC 7.8+)
16482
16483              --enable-split-objs
16484              --disable-split-objs
16485                     split library into smaller objects to reduce binary sizes
16486                     (GHC 6.6+)
16487
16488              --enable-executable-stripping
16489              --disable-executable-stripping
16490                     strip  executables  upon  installation  to  reduce binary
16491                     sizes
16492
16493              --enable-library-stripping
16494              --disable-library-stripping
16495                     strip libraries upon installation to reduce binary sizes
16496
16497              --configure-option OPT
16498                     Extra option for configure
16499
16500              --user
16501              --global
16502                     doing a per-user installation
16503
16504              --package-db DB
16505                     Append the given package database to the list of  package
16506                     databases  used  (to  satisfy  dependencies  and register
16507                     into). May be a specific file, 'global'  or  'user'.  The
16508                     initial   list  is  ['global'],  ['global',  'user'],  or
16509                     ['global', $sandbox], depending on context.  Use  'clear'
16510                     to  reset  the  list  to  empty.  See  the user guide for
16511                     details.
16512
16513              -f, --flags FLAGS
16514                     Force values for the given flags in Cabal conditionals in
16515                     the  .cabal  file.  E.g., --flags="debug -usebytestrings"
16516                     forces the flag "debug" to true and  "usebytestrings"  to
16517                     false.
16518
16519              --extra-include-dirs PATH
16520                     A list of directories to search for header files
16521
16522              --enable-deterministic
16523              --disable-deterministic
16524                     Try  to be as deterministic as possible (used by the test
16525                     suite)
16526
16527              --ipid IPID
16528                     Installed package ID to compile this package as
16529
16530              --cid CID
16531                     Installed component ID to compile this component as
16532
16533              --extra-lib-dirs PATH
16534                     A list of directories to search for external libraries
16535
16536              --extra-framework-dirs PATH
16537                     A list of directories to search for  external  frameworks
16538                     (OS X only)
16539
16540              --extra-prog-path PATH
16541                     A list of directories to search for required programs (in
16542                     addition to the normal search locations)
16543
16544              --instantiate-with NAME=MOD
16545                     A mapping of signature names to concrete module instanti‐
16546                     ations.
16547
16548              --enable-tests
16549              --disable-tests
16550                     dependency  checking  and  compilation  for  test  suites
16551                     listed in the package description file.
16552
16553              --enable-coverage
16554              --disable-coverage
16555                     build package with Haskell Program Coverage. (GHC only)
16556
16557              --enable-library-coverage
16558              --disable-library-coverage
16559                     build package with Haskell Program Coverage.  (GHC  only)
16560                     (DEPRECATED)
16561
16562              --enable-benchmarks
16563              --disable-benchmarks
16564                     dependency checking and compilation for benchmarks listed
16565                     in the package description file.
16566
16567              --enable-relocatable
16568              --disable-relocatable
16569                     building a package that is relocatable. (GHC only)
16570
16571              --disable-response-files
16572                     enable workaround for old versions of programs like  "ar"
16573                     that do not support @file arguments
16574
16575              --with-alex PATH
16576                     give the path to alex
16577
16578              --with-ar PATH
16579                     give the path to ar
16580
16581              --with-c2hs PATH
16582                     give the path to c2hs
16583
16584              --with-cpphs PATH
16585                     give the path to cpphs
16586
16587              --with-doctest PATH
16588                     give the path to doctest
16589
16590              --with-gcc PATH
16591                     give the path to gcc
16592
16593              --with-ghc PATH
16594                     give the path to ghc
16595
16596              --with-ghc-pkg PATH
16597                     give the path to ghc-pkg
16598
16599              --with-ghcjs PATH
16600                     give the path to ghcjs
16601
16602              --with-ghcjs-pkg PATH
16603                     give the path to ghcjs-pkg
16604
16605              --with-greencard PATH
16606                     give the path to greencard
16607
16608              --with-haddock PATH
16609                     give the path to haddock
16610
16611              --with-happy PATH
16612                     give the path to happy
16613
16614              --with-haskell-suite PATH
16615                     give the path to haskell-suite
16616
16617              --with-haskell-suite-pkg PATH
16618                     give the path to haskell-suite-pkg
16619
16620              --with-hmake PATH
16621                     give the path to hmake
16622
16623              --with-hpc PATH
16624                     give the path to hpc
16625
16626              --with-hsc2hs PATH
16627                     give the path to hsc2hs
16628
16629              --with-hscolour PATH
16630                     give the path to hscolour
16631
16632              --with-jhc PATH
16633                     give the path to jhc
16634
16635              --with-ld PATH
16636                     give the path to ld
16637
16638              --with-pkg-config PATH
16639                     give the path to pkg-config
16640
16641              --with-runghc PATH
16642                     give the path to runghc
16643
16644              --with-strip PATH
16645                     give the path to strip
16646
16647              --with-tar PATH
16648                     give the path to tar
16649
16650              --with-uhc PATH
16651                     give the path to uhc
16652
16653              --alex-option OPT
16654                     give  an  extra  option to alex (no need to quote options
16655                     containing spaces)
16656
16657              --ar-option OPT
16658                     give an extra option to ar (no need to quote options con‐
16659                     taining spaces)
16660
16661              --c2hs-option OPT
16662                     give  an  extra  option to c2hs (no need to quote options
16663                     containing spaces)
16664
16665              --cpphs-option OPT
16666                     give an extra option to cpphs (no need to  quote  options
16667                     containing spaces)
16668
16669              --doctest-option OPT
16670                     give an extra option to doctest (no need to quote options
16671                     containing spaces)
16672
16673              --gcc-option OPT
16674                     give an extra option to gcc (no  need  to  quote  options
16675                     containing spaces)
16676
16677              --ghc-option OPT
16678                     give  an  extra  option  to ghc (no need to quote options
16679                     containing spaces)
16680
16681              --ghc-pkg-option OPT
16682                     give an extra option to ghc-pkg (no need to quote options
16683                     containing spaces)
16684
16685              --ghcjs-option OPT
16686                     give  an  extra option to ghcjs (no need to quote options
16687                     containing spaces)
16688
16689              --ghcjs-pkg-option OPT
16690                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
16691                     options containing spaces)
16692
16693              --greencard-option OPT
16694                     give  an  extra  option  to  greencard  (no need to quote
16695                     options containing spaces)
16696
16697              --haddock-option OPT
16698                     give an extra option to haddock (no need to quote options
16699                     containing spaces)
16700
16701              --happy-option OPT
16702                     give  an  extra option to happy (no need to quote options
16703                     containing spaces)
16704
16705              --haskell-suite-option OPT
16706                     give an extra option to haskell-suite (no need  to  quote
16707                     options containing spaces)
16708
16709              --haskell-suite-pkg-option OPT
16710                     give  an  extra  option  to haskell-suite-pkg (no need to
16711                     quote options containing spaces)
16712
16713              --hmake-option OPT
16714                     give an extra option to hmake (no need to  quote  options
16715                     containing spaces)
16716
16717              --hpc-option OPT
16718                     give  an  extra  option  to hpc (no need to quote options
16719                     containing spaces)
16720
16721              --hsc2hs-option OPT
16722                     give an extra option to hsc2hs (no need to quote  options
16723                     containing spaces)
16724
16725              --hscolour-option OPT
16726                     give  an  extra  option  to  hscolour  (no  need to quote
16727                     options containing spaces)
16728
16729              --jhc-option OPT
16730                     give an extra option to jhc (no  need  to  quote  options
16731                     containing spaces)
16732
16733              --ld-option OPT
16734                     give an extra option to ld (no need to quote options con‐
16735                     taining spaces)
16736
16737              --pkg-config-option OPT
16738                     give an extra option to  pkg-config  (no  need  to  quote
16739                     options containing spaces)
16740
16741              --runghc-option OPT
16742                     give  an extra option to runghc (no need to quote options
16743                     containing spaces)
16744
16745              --strip-option OPT
16746                     give an extra option to strip (no need to  quote  options
16747                     containing spaces)
16748
16749              --tar-option OPT
16750                     give  an  extra  option  to tar (no need to quote options
16751                     containing spaces)
16752
16753              --uhc-option OPT
16754                     give an extra option to uhc (no  need  to  quote  options
16755                     containing spaces)
16756
16757              --alex-options OPTS
16758                     give extra options to alex
16759
16760              --ar-options OPTS
16761                     give extra options to ar
16762
16763              --c2hs-options OPTS
16764                     give extra options to c2hs
16765
16766              --cpphs-options OPTS
16767                     give extra options to cpphs
16768
16769              --doctest-options OPTS
16770                     give extra options to doctest
16771
16772              --gcc-options OPTS
16773                     give extra options to gcc
16774
16775              --ghc-options OPTS
16776                     give extra options to ghc
16777
16778              --ghc-pkg-options OPTS
16779                     give extra options to ghc-pkg
16780
16781              --ghcjs-options OPTS
16782                     give extra options to ghcjs
16783
16784              --ghcjs-pkg-options OPTS
16785                     give extra options to ghcjs-pkg
16786
16787              --greencard-options OPTS
16788                     give extra options to greencard
16789
16790              --haddock-options OPTS
16791                     give extra options to haddock
16792
16793              --happy-options OPTS
16794                     give extra options to happy
16795
16796              --haskell-suite-options OPTS
16797                     give extra options to haskell-suite
16798
16799              --haskell-suite-pkg-options OPTS
16800                     give extra options to haskell-suite-pkg
16801
16802              --hmake-options OPTS
16803                     give extra options to hmake
16804
16805              --hpc-options OPTS
16806                     give extra options to hpc
16807
16808              --hsc2hs-options OPTS
16809                     give extra options to hsc2hs
16810
16811              --hscolour-options OPTS
16812                     give extra options to hscolour
16813
16814              --jhc-options OPTS
16815                     give extra options to jhc
16816
16817              --ld-options OPTS
16818                     give extra options to ld
16819
16820              --pkg-config-options OPTS
16821                     give extra options to pkg-config
16822
16823              --runghc-options OPTS
16824                     give extra options to runghc
16825
16826              --strip-options OPTS
16827                     give extra options to strip
16828
16829              --tar-options OPTS
16830                     give extra options to tar
16831
16832              --uhc-options OPTS
16833                     give extra options to uhc
16834
16835              --cabal-lib-version VERSION
16836                     Select  which  version  of  the Cabal lib to use to build
16837                     packages (useful for testing).
16838
16839              --constraint CONSTRAINT
16840                     Specify    constraints    on    a    package    (version,
16841                     installed/source, flags)
16842
16843              --preference CONSTRAINT
16844                     Specify  preferences (soft constraints) on the version of
16845                     a package
16846
16847              --solver SOLVER
16848                     Select  dependency  solver  to  use  (default:  modular).
16849                     Choices: modular.
16850
16851              --allow-older [DEPS]
16852                     Ignore lower bounds in all dependencies or DEPS
16853
16854              --allow-newer [DEPS]
16855                     Ignore upper bounds in all dependencies or DEPS
16856
16857
16858       cabal v1-configure
16859
16860       Usage: cabal v1-configure [FLAGS]
16861
16862
16863       Configure  how  the  package  is  built  by setting package (and other)
16864       flags.
16865
16866       The configuration affects several other commands,  including  v1-build,
16867       v1-test, v1-bench, v1-run, v1-repl.
16868
16869
16870       The flags --with-PROG and --PROG-option(s) can be used with the follow‐
16871       ing programs:
16872         alex ar c2hs cpphs doctest gcc ghc ghc-pkg ghcjs ghcjs-pkg  greencard
16873       haddock
16874         happy  haskell-suite  haskell-suite-pkg hmake hpc hsc2hs hscolour jhc
16875       ld
16876         pkg-config runghc strip tar uhc
16877
16878       Examples:
16879         cabal v1-configure
16880           Configure with defaults;
16881         cabal v1-configure --enable-tests -fcustomflag
16882           Configure building package including tests,
16883           with some package-specific flag.
16884
16885       The v1-configure command is a part of the  legacy  v1  style  of  cabal
16886       usage.
16887
16888       It  is  a  legacy  feature  and  will be removed in a future release of
16889       cabal-install. Please file a bug if you cannot replicate a working  v1-
16890       use case with the new-style commands.
16891
16892       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
16893
16894
16895       Flags:
16896              -v, --verbose [n]
16897                     Control  verbosity (n is 0--3, default verbosity level is
16898                     1)
16899
16900              --builddir, --distdir, --distpref DIR
16901                     The directory where  Cabal  puts  generated  build  files
16902                     (default dist)
16903
16904              -g, --ghc
16905                     compile with GHC
16906
16907              --ghcjs
16908                     compile with GHCJS
16909
16910              --uhc
16911                     compile with UHC
16912
16913              --haskell-suite
16914                     compile with a haskell-suite compiler
16915
16916              --cabal-file PATH
16917                     use this Cabal file
16918
16919              -w, --with-compiler PATH
16920                     give the path to a particular compiler
16921
16922              --with-hc-pkg PATH
16923                     give the path to the package tool
16924
16925              --prefix DIR
16926                     bake this prefix in preparation of installation
16927
16928              --bindir DIR
16929                     installation directory for executables
16930
16931              --libdir DIR
16932                     installation directory for libraries
16933
16934              --libsubdir DIR
16935                     subdirectory of libdir in which libs are installed
16936
16937              --dynlibdir DIR
16938                     installation directory for dynamic libraries
16939
16940              --libexecdir DIR
16941                     installation directory for program executables
16942
16943              --libexecsubdir DIR
16944                     subdirectory  of  libexecdir in which private executables
16945                     are installed
16946
16947              --datadir DIR
16948                     installation directory for read-only data
16949
16950              --datasubdir DIR
16951                     subdirectory of datadir in which data files are installed
16952
16953              --docdir DIR
16954                     installation directory for documentation
16955
16956              --htmldir DIR
16957                     installation directory for HTML documentation
16958
16959              --haddockdir DIR
16960                     installation directory for haddock interfaces
16961
16962              --sysconfdir DIR
16963                     installation directory for configuration files
16964
16965              --program-prefix PREFIX
16966                     prefix to be applied to installed executables
16967
16968              --program-suffix SUFFIX
16969                     suffix to be applied to installed executables
16970
16971              --enable-library-vanilla
16972              --disable-library-vanilla
16973                     Vanilla libraries
16974
16975              -p, --enable-library-profiling
16976              --disable-library-profiling
16977                     Library profiling
16978
16979              --enable-shared
16980              --disable-shared
16981                     Shared library
16982
16983              --enable-static
16984              --disable-static
16985                     Static library
16986
16987              --enable-executable-dynamic
16988              --disable-executable-dynamic
16989                     Executable dynamic linking
16990
16991              --enable-profiling
16992              --disable-profiling
16993                     Executable and library profiling
16994
16995              --enable-executable-profiling
16996              --disable-executable-profiling
16997                     Executable profiling (DEPRECATED)
16998
16999              --profiling-detail level
17000                     Profiling  detail  level  for  executable   and   library
17001                     (default,  none,  exported-functions, toplevel-functions,
17002                     all-functions).
17003
17004              --library-profiling-detail level
17005                     Profiling detail level for libraries only.
17006
17007              -O, --enable-optimization, --enable-optimisation [n]
17008                     Build with optimization (n is 0--2, default is 1)
17009
17010              --disable-optimization, --disable-optimisation
17011                     Build without optimization
17012
17013              --enable-debug-info [n]
17014                     Emit debug info (n is 0--3, default is 0)
17015
17016              --disable-debug-info
17017                     Don't emit debug info
17018
17019              --enable-library-for-ghci
17020              --disable-library-for-ghci
17021                     compile library for use with GHCi
17022
17023              --enable-split-sections
17024              --disable-split-sections
17025                     compile library code such that unneeded  definitions  can
17026                     be dropped from the final executable (GHC 7.8+)
17027
17028              --enable-split-objs
17029              --disable-split-objs
17030                     split library into smaller objects to reduce binary sizes
17031                     (GHC 6.6+)
17032
17033              --enable-executable-stripping
17034              --disable-executable-stripping
17035                     strip executables  upon  installation  to  reduce  binary
17036                     sizes
17037
17038              --enable-library-stripping
17039              --disable-library-stripping
17040                     strip libraries upon installation to reduce binary sizes
17041
17042              --configure-option OPT
17043                     Extra option for configure
17044
17045              --user
17046              --global
17047                     doing a per-user installation
17048
17049              --package-db DB
17050                     Append  the given package database to the list of package
17051                     databases used  (to  satisfy  dependencies  and  register
17052                     into).  May  be  a specific file, 'global' or 'user'. The
17053                     initial  list  is  ['global'],  ['global',  'user'],   or
17054                     ['global',  $sandbox],  depending on context. Use 'clear'
17055                     to reset the list  to  empty.  See  the  user  guide  for
17056                     details.
17057
17058              -f, --flags FLAGS
17059                     Force values for the given flags in Cabal conditionals in
17060                     the .cabal file.  E.g.,  --flags="debug  -usebytestrings"
17061                     forces  the  flag "debug" to true and "usebytestrings" to
17062                     false.
17063
17064              --extra-include-dirs PATH
17065                     A list of directories to search for header files
17066
17067              --enable-deterministic
17068              --disable-deterministic
17069                     Try to be as deterministic as possible (used by the  test
17070                     suite)
17071
17072              --ipid IPID
17073                     Installed package ID to compile this package as
17074
17075              --cid CID
17076                     Installed component ID to compile this component as
17077
17078              --extra-lib-dirs PATH
17079                     A list of directories to search for external libraries
17080
17081              --extra-framework-dirs PATH
17082                     A  list  of directories to search for external frameworks
17083                     (OS X only)
17084
17085              --extra-prog-path PATH
17086                     A list of directories to search for required programs (in
17087                     addition to the normal search locations)
17088
17089              --instantiate-with NAME=MOD
17090                     A mapping of signature names to concrete module instanti‐
17091                     ations.
17092
17093              --enable-tests
17094              --disable-tests
17095                     dependency  checking  and  compilation  for  test  suites
17096                     listed in the package description file.
17097
17098              --enable-coverage
17099              --disable-coverage
17100                     build package with Haskell Program Coverage. (GHC only)
17101
17102              --enable-library-coverage
17103              --disable-library-coverage
17104                     build  package  with Haskell Program Coverage. (GHC only)
17105                     (DEPRECATED)
17106
17107              --enable-benchmarks
17108              --disable-benchmarks
17109                     dependency checking and compilation for benchmarks listed
17110                     in the package description file.
17111
17112              --enable-relocatable
17113              --disable-relocatable
17114                     building a package that is relocatable. (GHC only)
17115
17116              --disable-response-files
17117                     enable  workaround for old versions of programs like "ar"
17118                     that do not support @file arguments
17119
17120              --with-alex PATH
17121                     give the path to alex
17122
17123              --with-ar PATH
17124                     give the path to ar
17125
17126              --with-c2hs PATH
17127                     give the path to c2hs
17128
17129              --with-cpphs PATH
17130                     give the path to cpphs
17131
17132              --with-doctest PATH
17133                     give the path to doctest
17134
17135              --with-gcc PATH
17136                     give the path to gcc
17137
17138              --with-ghc PATH
17139                     give the path to ghc
17140
17141              --with-ghc-pkg PATH
17142                     give the path to ghc-pkg
17143
17144              --with-ghcjs PATH
17145                     give the path to ghcjs
17146
17147              --with-ghcjs-pkg PATH
17148                     give the path to ghcjs-pkg
17149
17150              --with-greencard PATH
17151                     give the path to greencard
17152
17153              --with-haddock PATH
17154                     give the path to haddock
17155
17156              --with-happy PATH
17157                     give the path to happy
17158
17159              --with-haskell-suite PATH
17160                     give the path to haskell-suite
17161
17162              --with-haskell-suite-pkg PATH
17163                     give the path to haskell-suite-pkg
17164
17165              --with-hmake PATH
17166                     give the path to hmake
17167
17168              --with-hpc PATH
17169                     give the path to hpc
17170
17171              --with-hsc2hs PATH
17172                     give the path to hsc2hs
17173
17174              --with-hscolour PATH
17175                     give the path to hscolour
17176
17177              --with-jhc PATH
17178                     give the path to jhc
17179
17180              --with-ld PATH
17181                     give the path to ld
17182
17183              --with-pkg-config PATH
17184                     give the path to pkg-config
17185
17186              --with-runghc PATH
17187                     give the path to runghc
17188
17189              --with-strip PATH
17190                     give the path to strip
17191
17192              --with-tar PATH
17193                     give the path to tar
17194
17195              --with-uhc PATH
17196                     give the path to uhc
17197
17198              --alex-option OPT
17199                     give an extra option to alex (no need  to  quote  options
17200                     containing spaces)
17201
17202              --ar-option OPT
17203                     give an extra option to ar (no need to quote options con‐
17204                     taining spaces)
17205
17206              --c2hs-option OPT
17207                     give an extra option to c2hs (no need  to  quote  options
17208                     containing spaces)
17209
17210              --cpphs-option OPT
17211                     give  an  extra option to cpphs (no need to quote options
17212                     containing spaces)
17213
17214              --doctest-option OPT
17215                     give an extra option to doctest (no need to quote options
17216                     containing spaces)
17217
17218              --gcc-option OPT
17219                     give  an  extra  option  to gcc (no need to quote options
17220                     containing spaces)
17221
17222              --ghc-option OPT
17223                     give an extra option to ghc (no  need  to  quote  options
17224                     containing spaces)
17225
17226              --ghc-pkg-option OPT
17227                     give an extra option to ghc-pkg (no need to quote options
17228                     containing spaces)
17229
17230              --ghcjs-option OPT
17231                     give an extra option to ghcjs (no need to  quote  options
17232                     containing spaces)
17233
17234              --ghcjs-pkg-option OPT
17235                     give  an  extra  option  to  ghcjs-pkg  (no need to quote
17236                     options containing spaces)
17237
17238              --greencard-option OPT
17239                     give an extra option  to  greencard  (no  need  to  quote
17240                     options containing spaces)
17241
17242              --haddock-option OPT
17243                     give an extra option to haddock (no need to quote options
17244                     containing spaces)
17245
17246              --happy-option OPT
17247                     give an extra option to happy (no need to  quote  options
17248                     containing spaces)
17249
17250              --haskell-suite-option OPT
17251                     give  an  extra option to haskell-suite (no need to quote
17252                     options containing spaces)
17253
17254              --haskell-suite-pkg-option OPT
17255                     give an extra option to  haskell-suite-pkg  (no  need  to
17256                     quote options containing spaces)
17257
17258              --hmake-option OPT
17259                     give  an  extra option to hmake (no need to quote options
17260                     containing spaces)
17261
17262              --hpc-option OPT
17263                     give an extra option to hpc (no  need  to  quote  options
17264                     containing spaces)
17265
17266              --hsc2hs-option OPT
17267                     give  an extra option to hsc2hs (no need to quote options
17268                     containing spaces)
17269
17270              --hscolour-option OPT
17271                     give an extra  option  to  hscolour  (no  need  to  quote
17272                     options containing spaces)
17273
17274              --jhc-option OPT
17275                     give  an  extra  option  to jhc (no need to quote options
17276                     containing spaces)
17277
17278              --ld-option OPT
17279                     give an extra option to ld (no need to quote options con‐
17280                     taining spaces)
17281
17282              --pkg-config-option OPT
17283                     give  an  extra  option  to  pkg-config (no need to quote
17284                     options containing spaces)
17285
17286              --runghc-option OPT
17287                     give an extra option to runghc (no need to quote  options
17288                     containing spaces)
17289
17290              --strip-option OPT
17291                     give  an  extra option to strip (no need to quote options
17292                     containing spaces)
17293
17294              --tar-option OPT
17295                     give an extra option to tar (no  need  to  quote  options
17296                     containing spaces)
17297
17298              --uhc-option OPT
17299                     give  an  extra  option  to uhc (no need to quote options
17300                     containing spaces)
17301
17302              --alex-options OPTS
17303                     give extra options to alex
17304
17305              --ar-options OPTS
17306                     give extra options to ar
17307
17308              --c2hs-options OPTS
17309                     give extra options to c2hs
17310
17311              --cpphs-options OPTS
17312                     give extra options to cpphs
17313
17314              --doctest-options OPTS
17315                     give extra options to doctest
17316
17317              --gcc-options OPTS
17318                     give extra options to gcc
17319
17320              --ghc-options OPTS
17321                     give extra options to ghc
17322
17323              --ghc-pkg-options OPTS
17324                     give extra options to ghc-pkg
17325
17326              --ghcjs-options OPTS
17327                     give extra options to ghcjs
17328
17329              --ghcjs-pkg-options OPTS
17330                     give extra options to ghcjs-pkg
17331
17332              --greencard-options OPTS
17333                     give extra options to greencard
17334
17335              --haddock-options OPTS
17336                     give extra options to haddock
17337
17338              --happy-options OPTS
17339                     give extra options to happy
17340
17341              --haskell-suite-options OPTS
17342                     give extra options to haskell-suite
17343
17344              --haskell-suite-pkg-options OPTS
17345                     give extra options to haskell-suite-pkg
17346
17347              --hmake-options OPTS
17348                     give extra options to hmake
17349
17350              --hpc-options OPTS
17351                     give extra options to hpc
17352
17353              --hsc2hs-options OPTS
17354                     give extra options to hsc2hs
17355
17356              --hscolour-options OPTS
17357                     give extra options to hscolour
17358
17359              --jhc-options OPTS
17360                     give extra options to jhc
17361
17362              --ld-options OPTS
17363                     give extra options to ld
17364
17365              --pkg-config-options OPTS
17366                     give extra options to pkg-config
17367
17368              --runghc-options OPTS
17369                     give extra options to runghc
17370
17371              --strip-options OPTS
17372                     give extra options to strip
17373
17374              --tar-options OPTS
17375                     give extra options to tar
17376
17377              --uhc-options OPTS
17378                     give extra options to uhc
17379
17380              --cabal-lib-version VERSION
17381                     Select which version of the Cabal lib  to  use  to  build
17382                     packages (useful for testing).
17383
17384              --constraint CONSTRAINT
17385                     Specify    constraints    on    a    package    (version,
17386                     installed/source, flags)
17387
17388              --preference CONSTRAINT
17389                     Specify preferences (soft constraints) on the version  of
17390                     a package
17391
17392              --solver SOLVER
17393                     Select  dependency  solver  to  use  (default:  modular).
17394                     Choices: modular.
17395
17396              --allow-older [DEPS]
17397                     Ignore lower bounds in all dependencies or DEPS
17398
17399              --allow-newer [DEPS]
17400                     Ignore upper bounds in all dependencies or DEPS
17401
17402
17403       cabal update
17404
17405       Usage: cabal update [FLAGS]
17406
17407
17408       For all known remote repositories, download the package list.
17409
17410
17411       Relevant global configuration keys:
17412         remote-repo
17413         remote-repo-cache
17414         local-repo
17415
17416       The update command is a part of the legacy v1 style of cabal usage.
17417
17418       Please switch to using either the new project style and the  new-update
17419       command or the legacy v1-update alias as new-style projects will become
17420       the default in the next version of cabal-install. Please file a bug  if
17421       you  cannot  replicate  a  working v1- use case with the new-style com‐
17422       mands.
17423
17424       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
17425
17426
17427       Flags:
17428              -v, --verbose [n]
17429                     Control verbosity (n is 0--3, default verbosity level  is
17430                     1)
17431
17432              --index-state STATE
17433                     Update  the  source  package  index  to  its  state as it
17434                     existed at a previous time. Accepts unix-timestamps (e.g.
17435                     '@1474732068'),     ISO8601    UTC    timestamps    (e.g.
17436                     '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD').
17437
17438
17439       cabal v1-update
17440
17441       Usage: cabal v1-update [FLAGS]
17442
17443
17444       For all known remote repositories, download the package list.
17445
17446
17447       Relevant global configuration keys:
17448         remote-repo
17449         remote-repo-cache
17450         local-repo
17451
17452       The v1-update command is a part of the legacy v1 style of cabal usage.
17453
17454       It is a legacy feature and will be  removed  in  a  future  release  of
17455       cabal-install.  Please file a bug if you cannot replicate a working v1-
17456       use case with the new-style commands.
17457
17458       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
17459
17460
17461       Flags:
17462              -v, --verbose [n]
17463                     Control verbosity (n is 0--3, default verbosity level  is
17464                     1)
17465
17466              --index-state STATE
17467                     Update  the  source  package  index  to  its  state as it
17468                     existed at a previous time. Accepts unix-timestamps (e.g.
17469                     '@1474732068'),     ISO8601    UTC    timestamps    (e.g.
17470                     '2016-09-24T17:47:48Z'), or 'HEAD' (default: 'HEAD').
17471
17472
17473       cabal build
17474
17475       Usage: cabal build [FLAGS]
17476          or: cabal build COMPONENTS [FLAGS]
17477
17478
17479       Components encompass executables, tests, and benchmarks.
17480
17481       Affected by configuration options, see `configure`.
17482
17483
17484       Examples:
17485         cabal build               All the components in the package
17486         cabal build foo           A component (i.e. lib, exe, test suite)
17487
17488       The flags --with-PROG and --PROG-option(s) can be used with the follow‐
17489       ing programs:
17490         alex  ar c2hs cpphs doctest gcc ghc ghc-pkg ghcjs ghcjs-pkg greencard
17491       haddock
17492         happy haskell-suite haskell-suite-pkg hmake hpc hsc2hs  hscolour  jhc
17493       ld
17494         pkg-config runghc strip tar uhc
17495
17496       The build command is a part of the legacy v1 style of cabal usage.
17497
17498       Please  switch  to using either the new project style and the new-build
17499       command or the legacy v1-build alias as new-style projects will  become
17500       the  default in the next version of cabal-install. Please file a bug if
17501       you cannot replicate a working v1- use case  with  the  new-style  com‐
17502       mands.
17503
17504       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
17505
17506
17507       Flags:
17508              -v, --verbose [n]
17509                     Control  verbosity (n is 0--3, default verbosity level is
17510                     1)
17511
17512              --builddir, --distdir, --distpref DIR
17513                     The directory where  Cabal  puts  generated  build  files
17514                     (default dist)
17515
17516              -j, --jobs [NUM]
17517                     Run  NUM  jobs  simultaneously  (or '$ncpus' if no NUM is
17518                     given).
17519
17520              --with-alex PATH
17521                     give the path to alex
17522
17523              --with-ar PATH
17524                     give the path to ar
17525
17526              --with-c2hs PATH
17527                     give the path to c2hs
17528
17529              --with-cpphs PATH
17530                     give the path to cpphs
17531
17532              --with-doctest PATH
17533                     give the path to doctest
17534
17535              --with-gcc PATH
17536                     give the path to gcc
17537
17538              --with-ghc PATH
17539                     give the path to ghc
17540
17541              --with-ghc-pkg PATH
17542                     give the path to ghc-pkg
17543
17544              --with-ghcjs PATH
17545                     give the path to ghcjs
17546
17547              --with-ghcjs-pkg PATH
17548                     give the path to ghcjs-pkg
17549
17550              --with-greencard PATH
17551                     give the path to greencard
17552
17553              --with-haddock PATH
17554                     give the path to haddock
17555
17556              --with-happy PATH
17557                     give the path to happy
17558
17559              --with-haskell-suite PATH
17560                     give the path to haskell-suite
17561
17562              --with-haskell-suite-pkg PATH
17563                     give the path to haskell-suite-pkg
17564
17565              --with-hmake PATH
17566                     give the path to hmake
17567
17568              --with-hpc PATH
17569                     give the path to hpc
17570
17571              --with-hsc2hs PATH
17572                     give the path to hsc2hs
17573
17574              --with-hscolour PATH
17575                     give the path to hscolour
17576
17577              --with-jhc PATH
17578                     give the path to jhc
17579
17580              --with-ld PATH
17581                     give the path to ld
17582
17583              --with-pkg-config PATH
17584                     give the path to pkg-config
17585
17586              --with-runghc PATH
17587                     give the path to runghc
17588
17589              --with-strip PATH
17590                     give the path to strip
17591
17592              --with-tar PATH
17593                     give the path to tar
17594
17595              --with-uhc PATH
17596                     give the path to uhc
17597
17598              --alex-option OPT
17599                     give an extra option to alex (no need  to  quote  options
17600                     containing spaces)
17601
17602              --ar-option OPT
17603                     give an extra option to ar (no need to quote options con‐
17604                     taining spaces)
17605
17606              --c2hs-option OPT
17607                     give an extra option to c2hs (no need  to  quote  options
17608                     containing spaces)
17609
17610              --cpphs-option OPT
17611                     give  an  extra option to cpphs (no need to quote options
17612                     containing spaces)
17613
17614              --doctest-option OPT
17615                     give an extra option to doctest (no need to quote options
17616                     containing spaces)
17617
17618              --gcc-option OPT
17619                     give  an  extra  option  to gcc (no need to quote options
17620                     containing spaces)
17621
17622              --ghc-option OPT
17623                     give an extra option to ghc (no  need  to  quote  options
17624                     containing spaces)
17625
17626              --ghc-pkg-option OPT
17627                     give an extra option to ghc-pkg (no need to quote options
17628                     containing spaces)
17629
17630              --ghcjs-option OPT
17631                     give an extra option to ghcjs (no need to  quote  options
17632                     containing spaces)
17633
17634              --ghcjs-pkg-option OPT
17635                     give  an  extra  option  to  ghcjs-pkg  (no need to quote
17636                     options containing spaces)
17637
17638              --greencard-option OPT
17639                     give an extra option  to  greencard  (no  need  to  quote
17640                     options containing spaces)
17641
17642              --haddock-option OPT
17643                     give an extra option to haddock (no need to quote options
17644                     containing spaces)
17645
17646              --happy-option OPT
17647                     give an extra option to happy (no need to  quote  options
17648                     containing spaces)
17649
17650              --haskell-suite-option OPT
17651                     give  an  extra option to haskell-suite (no need to quote
17652                     options containing spaces)
17653
17654              --haskell-suite-pkg-option OPT
17655                     give an extra option to  haskell-suite-pkg  (no  need  to
17656                     quote options containing spaces)
17657
17658              --hmake-option OPT
17659                     give  an  extra option to hmake (no need to quote options
17660                     containing spaces)
17661
17662              --hpc-option OPT
17663                     give an extra option to hpc (no  need  to  quote  options
17664                     containing spaces)
17665
17666              --hsc2hs-option OPT
17667                     give  an extra option to hsc2hs (no need to quote options
17668                     containing spaces)
17669
17670              --hscolour-option OPT
17671                     give an extra  option  to  hscolour  (no  need  to  quote
17672                     options containing spaces)
17673
17674              --jhc-option OPT
17675                     give  an  extra  option  to jhc (no need to quote options
17676                     containing spaces)
17677
17678              --ld-option OPT
17679                     give an extra option to ld (no need to quote options con‐
17680                     taining spaces)
17681
17682              --pkg-config-option OPT
17683                     give  an  extra  option  to  pkg-config (no need to quote
17684                     options containing spaces)
17685
17686              --runghc-option OPT
17687                     give an extra option to runghc (no need to quote  options
17688                     containing spaces)
17689
17690              --strip-option OPT
17691                     give  an  extra option to strip (no need to quote options
17692                     containing spaces)
17693
17694              --tar-option OPT
17695                     give an extra option to tar (no  need  to  quote  options
17696                     containing spaces)
17697
17698              --uhc-option OPT
17699                     give  an  extra  option  to uhc (no need to quote options
17700                     containing spaces)
17701
17702              --alex-options OPTS
17703                     give extra options to alex
17704
17705              --ar-options OPTS
17706                     give extra options to ar
17707
17708              --c2hs-options OPTS
17709                     give extra options to c2hs
17710
17711              --cpphs-options OPTS
17712                     give extra options to cpphs
17713
17714              --doctest-options OPTS
17715                     give extra options to doctest
17716
17717              --gcc-options OPTS
17718                     give extra options to gcc
17719
17720              --ghc-options OPTS
17721                     give extra options to ghc
17722
17723              --ghc-pkg-options OPTS
17724                     give extra options to ghc-pkg
17725
17726              --ghcjs-options OPTS
17727                     give extra options to ghcjs
17728
17729              --ghcjs-pkg-options OPTS
17730                     give extra options to ghcjs-pkg
17731
17732              --greencard-options OPTS
17733                     give extra options to greencard
17734
17735              --haddock-options OPTS
17736                     give extra options to haddock
17737
17738              --happy-options OPTS
17739                     give extra options to happy
17740
17741              --haskell-suite-options OPTS
17742                     give extra options to haskell-suite
17743
17744              --haskell-suite-pkg-options OPTS
17745                     give extra options to haskell-suite-pkg
17746
17747              --hmake-options OPTS
17748                     give extra options to hmake
17749
17750              --hpc-options OPTS
17751                     give extra options to hpc
17752
17753              --hsc2hs-options OPTS
17754                     give extra options to hsc2hs
17755
17756              --hscolour-options OPTS
17757                     give extra options to hscolour
17758
17759              --jhc-options OPTS
17760                     give extra options to jhc
17761
17762              --ld-options OPTS
17763                     give extra options to ld
17764
17765              --pkg-config-options OPTS
17766                     give extra options to pkg-config
17767
17768              --runghc-options OPTS
17769                     give extra options to runghc
17770
17771              --strip-options OPTS
17772                     give extra options to strip
17773
17774              --tar-options OPTS
17775                     give extra options to tar
17776
17777              --uhc-options OPTS
17778                     give extra options to uhc
17779
17780              --only
17781                     Don't reinstall add-source dependencies (sandbox-only)
17782
17783
17784       cabal v1-build
17785
17786       Usage: cabal v1-build [FLAGS]
17787          or: cabal v1-build COMPONENTS [FLAGS]
17788
17789
17790       Components encompass executables, tests, and benchmarks.
17791
17792       Affected by configuration options, see `v1-configure`.
17793
17794
17795       Examples:
17796         cabal v1-build               All the components in the package
17797         cabal v1-build foo           A component (i.e. lib, exe, test suite)
17798
17799       The flags --with-PROG and --PROG-option(s) can be used with the follow‐
17800       ing programs:
17801         alex  ar c2hs cpphs doctest gcc ghc ghc-pkg ghcjs ghcjs-pkg greencard
17802       haddock
17803         happy haskell-suite haskell-suite-pkg hmake hpc hsc2hs  hscolour  jhc
17804       ld
17805         pkg-config runghc strip tar uhc
17806
17807       The v1-build command is a part of the legacy v1 style of cabal usage.
17808
17809       It  is  a  legacy  feature  and  will be removed in a future release of
17810       cabal-install. Please file a bug if you cannot replicate a working  v1-
17811       use case with the new-style commands.
17812
17813       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
17814
17815
17816       Flags:
17817              -v, --verbose [n]
17818                     Control  verbosity (n is 0--3, default verbosity level is
17819                     1)
17820
17821              --builddir, --distdir, --distpref DIR
17822                     The directory where  Cabal  puts  generated  build  files
17823                     (default dist)
17824
17825              -j, --jobs [NUM]
17826                     Run  NUM  jobs  simultaneously  (or '$ncpus' if no NUM is
17827                     given).
17828
17829              --with-alex PATH
17830                     give the path to alex
17831
17832              --with-ar PATH
17833                     give the path to ar
17834
17835              --with-c2hs PATH
17836                     give the path to c2hs
17837
17838              --with-cpphs PATH
17839                     give the path to cpphs
17840
17841              --with-doctest PATH
17842                     give the path to doctest
17843
17844              --with-gcc PATH
17845                     give the path to gcc
17846
17847              --with-ghc PATH
17848                     give the path to ghc
17849
17850              --with-ghc-pkg PATH
17851                     give the path to ghc-pkg
17852
17853              --with-ghcjs PATH
17854                     give the path to ghcjs
17855
17856              --with-ghcjs-pkg PATH
17857                     give the path to ghcjs-pkg
17858
17859              --with-greencard PATH
17860                     give the path to greencard
17861
17862              --with-haddock PATH
17863                     give the path to haddock
17864
17865              --with-happy PATH
17866                     give the path to happy
17867
17868              --with-haskell-suite PATH
17869                     give the path to haskell-suite
17870
17871              --with-haskell-suite-pkg PATH
17872                     give the path to haskell-suite-pkg
17873
17874              --with-hmake PATH
17875                     give the path to hmake
17876
17877              --with-hpc PATH
17878                     give the path to hpc
17879
17880              --with-hsc2hs PATH
17881                     give the path to hsc2hs
17882
17883              --with-hscolour PATH
17884                     give the path to hscolour
17885
17886              --with-jhc PATH
17887                     give the path to jhc
17888
17889              --with-ld PATH
17890                     give the path to ld
17891
17892              --with-pkg-config PATH
17893                     give the path to pkg-config
17894
17895              --with-runghc PATH
17896                     give the path to runghc
17897
17898              --with-strip PATH
17899                     give the path to strip
17900
17901              --with-tar PATH
17902                     give the path to tar
17903
17904              --with-uhc PATH
17905                     give the path to uhc
17906
17907              --alex-option OPT
17908                     give an extra option to alex (no need  to  quote  options
17909                     containing spaces)
17910
17911              --ar-option OPT
17912                     give an extra option to ar (no need to quote options con‐
17913                     taining spaces)
17914
17915              --c2hs-option OPT
17916                     give an extra option to c2hs (no need  to  quote  options
17917                     containing spaces)
17918
17919              --cpphs-option OPT
17920                     give  an  extra option to cpphs (no need to quote options
17921                     containing spaces)
17922
17923              --doctest-option OPT
17924                     give an extra option to doctest (no need to quote options
17925                     containing spaces)
17926
17927              --gcc-option OPT
17928                     give  an  extra  option  to gcc (no need to quote options
17929                     containing spaces)
17930
17931              --ghc-option OPT
17932                     give an extra option to ghc (no  need  to  quote  options
17933                     containing spaces)
17934
17935              --ghc-pkg-option OPT
17936                     give an extra option to ghc-pkg (no need to quote options
17937                     containing spaces)
17938
17939              --ghcjs-option OPT
17940                     give an extra option to ghcjs (no need to  quote  options
17941                     containing spaces)
17942
17943              --ghcjs-pkg-option OPT
17944                     give  an  extra  option  to  ghcjs-pkg  (no need to quote
17945                     options containing spaces)
17946
17947              --greencard-option OPT
17948                     give an extra option  to  greencard  (no  need  to  quote
17949                     options containing spaces)
17950
17951              --haddock-option OPT
17952                     give an extra option to haddock (no need to quote options
17953                     containing spaces)
17954
17955              --happy-option OPT
17956                     give an extra option to happy (no need to  quote  options
17957                     containing spaces)
17958
17959              --haskell-suite-option OPT
17960                     give  an  extra option to haskell-suite (no need to quote
17961                     options containing spaces)
17962
17963              --haskell-suite-pkg-option OPT
17964                     give an extra option to  haskell-suite-pkg  (no  need  to
17965                     quote options containing spaces)
17966
17967              --hmake-option OPT
17968                     give  an  extra option to hmake (no need to quote options
17969                     containing spaces)
17970
17971              --hpc-option OPT
17972                     give an extra option to hpc (no  need  to  quote  options
17973                     containing spaces)
17974
17975              --hsc2hs-option OPT
17976                     give  an extra option to hsc2hs (no need to quote options
17977                     containing spaces)
17978
17979              --hscolour-option OPT
17980                     give an extra  option  to  hscolour  (no  need  to  quote
17981                     options containing spaces)
17982
17983              --jhc-option OPT
17984                     give  an  extra  option  to jhc (no need to quote options
17985                     containing spaces)
17986
17987              --ld-option OPT
17988                     give an extra option to ld (no need to quote options con‐
17989                     taining spaces)
17990
17991              --pkg-config-option OPT
17992                     give  an  extra  option  to  pkg-config (no need to quote
17993                     options containing spaces)
17994
17995              --runghc-option OPT
17996                     give an extra option to runghc (no need to quote  options
17997                     containing spaces)
17998
17999              --strip-option OPT
18000                     give  an  extra option to strip (no need to quote options
18001                     containing spaces)
18002
18003              --tar-option OPT
18004                     give an extra option to tar (no  need  to  quote  options
18005                     containing spaces)
18006
18007              --uhc-option OPT
18008                     give  an  extra  option  to uhc (no need to quote options
18009                     containing spaces)
18010
18011              --alex-options OPTS
18012                     give extra options to alex
18013
18014              --ar-options OPTS
18015                     give extra options to ar
18016
18017              --c2hs-options OPTS
18018                     give extra options to c2hs
18019
18020              --cpphs-options OPTS
18021                     give extra options to cpphs
18022
18023              --doctest-options OPTS
18024                     give extra options to doctest
18025
18026              --gcc-options OPTS
18027                     give extra options to gcc
18028
18029              --ghc-options OPTS
18030                     give extra options to ghc
18031
18032              --ghc-pkg-options OPTS
18033                     give extra options to ghc-pkg
18034
18035              --ghcjs-options OPTS
18036                     give extra options to ghcjs
18037
18038              --ghcjs-pkg-options OPTS
18039                     give extra options to ghcjs-pkg
18040
18041              --greencard-options OPTS
18042                     give extra options to greencard
18043
18044              --haddock-options OPTS
18045                     give extra options to haddock
18046
18047              --happy-options OPTS
18048                     give extra options to happy
18049
18050              --haskell-suite-options OPTS
18051                     give extra options to haskell-suite
18052
18053              --haskell-suite-pkg-options OPTS
18054                     give extra options to haskell-suite-pkg
18055
18056              --hmake-options OPTS
18057                     give extra options to hmake
18058
18059              --hpc-options OPTS
18060                     give extra options to hpc
18061
18062              --hsc2hs-options OPTS
18063                     give extra options to hsc2hs
18064
18065              --hscolour-options OPTS
18066                     give extra options to hscolour
18067
18068              --jhc-options OPTS
18069                     give extra options to jhc
18070
18071              --ld-options OPTS
18072                     give extra options to ld
18073
18074              --pkg-config-options OPTS
18075                     give extra options to pkg-config
18076
18077              --runghc-options OPTS
18078                     give extra options to runghc
18079
18080              --strip-options OPTS
18081                     give extra options to strip
18082
18083              --tar-options OPTS
18084                     give extra options to tar
18085
18086              --uhc-options OPTS
18087                     give extra options to uhc
18088
18089              --only
18090                     Don't reinstall add-source dependencies (sandbox-only)
18091
18092
18093       cabal repl
18094
18095       Usage: cabal repl [COMPONENT] [FLAGS]
18096
18097
18098       If the current directory contains no package, ignores COMPONENT parame‐
18099       ters  and  opens  an  interactive  interpreter session; if a sandbox is
18100       present, its package database will be used.
18101
18102       Otherwise, (re)configures with the given or default  flags,  and  loads
18103       the  interpreter  with the relevant modules. For executables, tests and
18104       benchmarks, loads the main module (and its dependencies); for libraries
18105       all exposed/other modules.
18106
18107       The  default component is the library itself, or the executable if that
18108       is the only component.
18109
18110       Support for loading specific modules is  planned  but  not  implemented
18111       yet.  For  certain  scenarios,  `cabal exec -- ghci :l Foo` may be used
18112       instead. Note that `exec` will not (re)configure and you will  have  to
18113       specify the location of other modules, if required.
18114
18115
18116       Examples:
18117         cabal repl               The first component in the package
18118         cabal  repl  foo            A  named  component  (i.e. lib, exe, test
18119       suite)
18120         cabal repl --ghc-options="-lstdc++"  Specifying flags for interpreter
18121
18122       The repl command is a part of the legacy v1 style of cabal usage.
18123
18124       Please switch to using either the new project style  and  the  new-repl
18125       command  or  the legacy v1-repl alias as new-style projects will become
18126       the default in the next version of cabal-install. Please file a bug  if
18127       you  cannot  replicate  a  working v1- use case with the new-style com‐
18128       mands.
18129
18130       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
18131
18132
18133       Flags:
18134              -v, --verbose [n]
18135                     Control verbosity (n is 0--3, default verbosity level  is
18136                     1)
18137
18138              --builddir, --distdir, --distpref DIR
18139                     The  directory  where  Cabal  puts  generated build files
18140                     (default dist)
18141
18142              --with-alex PATH
18143                     give the path to alex
18144
18145              --with-ar PATH
18146                     give the path to ar
18147
18148              --with-c2hs PATH
18149                     give the path to c2hs
18150
18151              --with-cpphs PATH
18152                     give the path to cpphs
18153
18154              --with-doctest PATH
18155                     give the path to doctest
18156
18157              --with-gcc PATH
18158                     give the path to gcc
18159
18160              --with-ghc PATH
18161                     give the path to ghc
18162
18163              --with-ghc-pkg PATH
18164                     give the path to ghc-pkg
18165
18166              --with-ghcjs PATH
18167                     give the path to ghcjs
18168
18169              --with-ghcjs-pkg PATH
18170                     give the path to ghcjs-pkg
18171
18172              --with-greencard PATH
18173                     give the path to greencard
18174
18175              --with-haddock PATH
18176                     give the path to haddock
18177
18178              --with-happy PATH
18179                     give the path to happy
18180
18181              --with-haskell-suite PATH
18182                     give the path to haskell-suite
18183
18184              --with-haskell-suite-pkg PATH
18185                     give the path to haskell-suite-pkg
18186
18187              --with-hmake PATH
18188                     give the path to hmake
18189
18190              --with-hpc PATH
18191                     give the path to hpc
18192
18193              --with-hsc2hs PATH
18194                     give the path to hsc2hs
18195
18196              --with-hscolour PATH
18197                     give the path to hscolour
18198
18199              --with-jhc PATH
18200                     give the path to jhc
18201
18202              --with-ld PATH
18203                     give the path to ld
18204
18205              --with-pkg-config PATH
18206                     give the path to pkg-config
18207
18208              --with-runghc PATH
18209                     give the path to runghc
18210
18211              --with-strip PATH
18212                     give the path to strip
18213
18214              --with-tar PATH
18215                     give the path to tar
18216
18217              --with-uhc PATH
18218                     give the path to uhc
18219
18220              --alex-option OPT
18221                     give an extra option to alex (no need  to  quote  options
18222                     containing spaces)
18223
18224              --ar-option OPT
18225                     give an extra option to ar (no need to quote options con‐
18226                     taining spaces)
18227
18228              --c2hs-option OPT
18229                     give an extra option to c2hs (no need  to  quote  options
18230                     containing spaces)
18231
18232              --cpphs-option OPT
18233                     give  an  extra option to cpphs (no need to quote options
18234                     containing spaces)
18235
18236              --doctest-option OPT
18237                     give an extra option to doctest (no need to quote options
18238                     containing spaces)
18239
18240              --gcc-option OPT
18241                     give  an  extra  option  to gcc (no need to quote options
18242                     containing spaces)
18243
18244              --ghc-option OPT
18245                     give an extra option to ghc (no  need  to  quote  options
18246                     containing spaces)
18247
18248              --ghc-pkg-option OPT
18249                     give an extra option to ghc-pkg (no need to quote options
18250                     containing spaces)
18251
18252              --ghcjs-option OPT
18253                     give an extra option to ghcjs (no need to  quote  options
18254                     containing spaces)
18255
18256              --ghcjs-pkg-option OPT
18257                     give  an  extra  option  to  ghcjs-pkg  (no need to quote
18258                     options containing spaces)
18259
18260              --greencard-option OPT
18261                     give an extra option  to  greencard  (no  need  to  quote
18262                     options containing spaces)
18263
18264              --haddock-option OPT
18265                     give an extra option to haddock (no need to quote options
18266                     containing spaces)
18267
18268              --happy-option OPT
18269                     give an extra option to happy (no need to  quote  options
18270                     containing spaces)
18271
18272              --haskell-suite-option OPT
18273                     give  an  extra option to haskell-suite (no need to quote
18274                     options containing spaces)
18275
18276              --haskell-suite-pkg-option OPT
18277                     give an extra option to  haskell-suite-pkg  (no  need  to
18278                     quote options containing spaces)
18279
18280              --hmake-option OPT
18281                     give  an  extra option to hmake (no need to quote options
18282                     containing spaces)
18283
18284              --hpc-option OPT
18285                     give an extra option to hpc (no  need  to  quote  options
18286                     containing spaces)
18287
18288              --hsc2hs-option OPT
18289                     give  an extra option to hsc2hs (no need to quote options
18290                     containing spaces)
18291
18292              --hscolour-option OPT
18293                     give an extra  option  to  hscolour  (no  need  to  quote
18294                     options containing spaces)
18295
18296              --jhc-option OPT
18297                     give  an  extra  option  to jhc (no need to quote options
18298                     containing spaces)
18299
18300              --ld-option OPT
18301                     give an extra option to ld (no need to quote options con‐
18302                     taining spaces)
18303
18304              --pkg-config-option OPT
18305                     give  an  extra  option  to  pkg-config (no need to quote
18306                     options containing spaces)
18307
18308              --runghc-option OPT
18309                     give an extra option to runghc (no need to quote  options
18310                     containing spaces)
18311
18312              --strip-option OPT
18313                     give  an  extra option to strip (no need to quote options
18314                     containing spaces)
18315
18316              --tar-option OPT
18317                     give an extra option to tar (no  need  to  quote  options
18318                     containing spaces)
18319
18320              --uhc-option OPT
18321                     give  an  extra  option  to uhc (no need to quote options
18322                     containing spaces)
18323
18324              --alex-options OPTS
18325                     give extra options to alex
18326
18327              --ar-options OPTS
18328                     give extra options to ar
18329
18330              --c2hs-options OPTS
18331                     give extra options to c2hs
18332
18333              --cpphs-options OPTS
18334                     give extra options to cpphs
18335
18336              --doctest-options OPTS
18337                     give extra options to doctest
18338
18339              --gcc-options OPTS
18340                     give extra options to gcc
18341
18342              --ghc-options OPTS
18343                     give extra options to ghc
18344
18345              --ghc-pkg-options OPTS
18346                     give extra options to ghc-pkg
18347
18348              --ghcjs-options OPTS
18349                     give extra options to ghcjs
18350
18351              --ghcjs-pkg-options OPTS
18352                     give extra options to ghcjs-pkg
18353
18354              --greencard-options OPTS
18355                     give extra options to greencard
18356
18357              --haddock-options OPTS
18358                     give extra options to haddock
18359
18360              --happy-options OPTS
18361                     give extra options to happy
18362
18363              --haskell-suite-options OPTS
18364                     give extra options to haskell-suite
18365
18366              --haskell-suite-pkg-options OPTS
18367                     give extra options to haskell-suite-pkg
18368
18369              --hmake-options OPTS
18370                     give extra options to hmake
18371
18372              --hpc-options OPTS
18373                     give extra options to hpc
18374
18375              --hsc2hs-options OPTS
18376                     give extra options to hsc2hs
18377
18378              --hscolour-options OPTS
18379                     give extra options to hscolour
18380
18381              --jhc-options OPTS
18382                     give extra options to jhc
18383
18384              --ld-options OPTS
18385                     give extra options to ld
18386
18387              --pkg-config-options OPTS
18388                     give extra options to pkg-config
18389
18390              --runghc-options OPTS
18391                     give extra options to runghc
18392
18393              --strip-options OPTS
18394                     give extra options to strip
18395
18396              --tar-options OPTS
18397                     give extra options to tar
18398
18399              --uhc-options OPTS
18400                     give extra options to uhc
18401
18402              --reload
18403                     Used from within an interpreter to update files.
18404
18405              --repl-options FLAG
18406                     use this option for the repl
18407
18408              --only
18409                     Don't reinstall add-source dependencies (sandbox-only)
18410
18411
18412       cabal v1-repl
18413
18414       Usage: cabal v1-repl [COMPONENT] [FLAGS]
18415
18416
18417       If the current directory contains no package, ignores COMPONENT parame‐
18418       ters  and  opens  an  interactive  interpreter session; if a sandbox is
18419       present, its package database will be used.
18420
18421       Otherwise, (re)configures with the given or default  flags,  and  loads
18422       the  interpreter  with the relevant modules. For executables, tests and
18423       benchmarks, loads the main module (and its dependencies); for libraries
18424       all exposed/other modules.
18425
18426       The  default component is the library itself, or the executable if that
18427       is the only component.
18428
18429       Support for loading specific modules is  planned  but  not  implemented
18430       yet.  For certain scenarios, `cabal v1-exec -- ghci :l Foo` may be used
18431       instead. Note that `v1-exec` will not (re)configure and you  will  have
18432       to specify the location of other modules, if required.
18433
18434
18435       Examples:
18436         cabal v1-repl               The first component in the package
18437         cabal  v1-repl  foo            A named component (i.e. lib, exe, test
18438       suite)
18439         cabal v1-repl --ghc-options="-lstdc++"  Specifying flags  for  inter‐
18440       preter
18441
18442       The v1-repl command is a part of the legacy v1 style of cabal usage.
18443
18444       It  is  a  legacy  feature  and  will be removed in a future release of
18445       cabal-install. Please file a bug if you cannot replicate a working  v1-
18446       use case with the new-style commands.
18447
18448       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
18449
18450
18451       Flags:
18452              -v, --verbose [n]
18453                     Control  verbosity (n is 0--3, default verbosity level is
18454                     1)
18455
18456              --builddir, --distdir, --distpref DIR
18457                     The directory where  Cabal  puts  generated  build  files
18458                     (default dist)
18459
18460              --with-alex PATH
18461                     give the path to alex
18462
18463              --with-ar PATH
18464                     give the path to ar
18465
18466              --with-c2hs PATH
18467                     give the path to c2hs
18468
18469              --with-cpphs PATH
18470                     give the path to cpphs
18471
18472              --with-doctest PATH
18473                     give the path to doctest
18474
18475              --with-gcc PATH
18476                     give the path to gcc
18477
18478              --with-ghc PATH
18479                     give the path to ghc
18480
18481              --with-ghc-pkg PATH
18482                     give the path to ghc-pkg
18483
18484              --with-ghcjs PATH
18485                     give the path to ghcjs
18486
18487              --with-ghcjs-pkg PATH
18488                     give the path to ghcjs-pkg
18489
18490              --with-greencard PATH
18491                     give the path to greencard
18492
18493              --with-haddock PATH
18494                     give the path to haddock
18495
18496              --with-happy PATH
18497                     give the path to happy
18498
18499              --with-haskell-suite PATH
18500                     give the path to haskell-suite
18501
18502              --with-haskell-suite-pkg PATH
18503                     give the path to haskell-suite-pkg
18504
18505              --with-hmake PATH
18506                     give the path to hmake
18507
18508              --with-hpc PATH
18509                     give the path to hpc
18510
18511              --with-hsc2hs PATH
18512                     give the path to hsc2hs
18513
18514              --with-hscolour PATH
18515                     give the path to hscolour
18516
18517              --with-jhc PATH
18518                     give the path to jhc
18519
18520              --with-ld PATH
18521                     give the path to ld
18522
18523              --with-pkg-config PATH
18524                     give the path to pkg-config
18525
18526              --with-runghc PATH
18527                     give the path to runghc
18528
18529              --with-strip PATH
18530                     give the path to strip
18531
18532              --with-tar PATH
18533                     give the path to tar
18534
18535              --with-uhc PATH
18536                     give the path to uhc
18537
18538              --alex-option OPT
18539                     give  an  extra  option to alex (no need to quote options
18540                     containing spaces)
18541
18542              --ar-option OPT
18543                     give an extra option to ar (no need to quote options con‐
18544                     taining spaces)
18545
18546              --c2hs-option OPT
18547                     give  an  extra  option to c2hs (no need to quote options
18548                     containing spaces)
18549
18550              --cpphs-option OPT
18551                     give an extra option to cpphs (no need to  quote  options
18552                     containing spaces)
18553
18554              --doctest-option OPT
18555                     give an extra option to doctest (no need to quote options
18556                     containing spaces)
18557
18558              --gcc-option OPT
18559                     give an extra option to gcc (no  need  to  quote  options
18560                     containing spaces)
18561
18562              --ghc-option OPT
18563                     give  an  extra  option  to ghc (no need to quote options
18564                     containing spaces)
18565
18566              --ghc-pkg-option OPT
18567                     give an extra option to ghc-pkg (no need to quote options
18568                     containing spaces)
18569
18570              --ghcjs-option OPT
18571                     give  an  extra option to ghcjs (no need to quote options
18572                     containing spaces)
18573
18574              --ghcjs-pkg-option OPT
18575                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
18576                     options containing spaces)
18577
18578              --greencard-option OPT
18579                     give  an  extra  option  to  greencard  (no need to quote
18580                     options containing spaces)
18581
18582              --haddock-option OPT
18583                     give an extra option to haddock (no need to quote options
18584                     containing spaces)
18585
18586              --happy-option OPT
18587                     give  an  extra option to happy (no need to quote options
18588                     containing spaces)
18589
18590              --haskell-suite-option OPT
18591                     give an extra option to haskell-suite (no need  to  quote
18592                     options containing spaces)
18593
18594              --haskell-suite-pkg-option OPT
18595                     give  an  extra  option  to haskell-suite-pkg (no need to
18596                     quote options containing spaces)
18597
18598              --hmake-option OPT
18599                     give an extra option to hmake (no need to  quote  options
18600                     containing spaces)
18601
18602              --hpc-option OPT
18603                     give  an  extra  option  to hpc (no need to quote options
18604                     containing spaces)
18605
18606              --hsc2hs-option OPT
18607                     give an extra option to hsc2hs (no need to quote  options
18608                     containing spaces)
18609
18610              --hscolour-option OPT
18611                     give  an  extra  option  to  hscolour  (no  need to quote
18612                     options containing spaces)
18613
18614              --jhc-option OPT
18615                     give an extra option to jhc (no  need  to  quote  options
18616                     containing spaces)
18617
18618              --ld-option OPT
18619                     give an extra option to ld (no need to quote options con‐
18620                     taining spaces)
18621
18622              --pkg-config-option OPT
18623                     give an extra option to  pkg-config  (no  need  to  quote
18624                     options containing spaces)
18625
18626              --runghc-option OPT
18627                     give  an extra option to runghc (no need to quote options
18628                     containing spaces)
18629
18630              --strip-option OPT
18631                     give an extra option to strip (no need to  quote  options
18632                     containing spaces)
18633
18634              --tar-option OPT
18635                     give  an  extra  option  to tar (no need to quote options
18636                     containing spaces)
18637
18638              --uhc-option OPT
18639                     give an extra option to uhc (no  need  to  quote  options
18640                     containing spaces)
18641
18642              --alex-options OPTS
18643                     give extra options to alex
18644
18645              --ar-options OPTS
18646                     give extra options to ar
18647
18648              --c2hs-options OPTS
18649                     give extra options to c2hs
18650
18651              --cpphs-options OPTS
18652                     give extra options to cpphs
18653
18654              --doctest-options OPTS
18655                     give extra options to doctest
18656
18657              --gcc-options OPTS
18658                     give extra options to gcc
18659
18660              --ghc-options OPTS
18661                     give extra options to ghc
18662
18663              --ghc-pkg-options OPTS
18664                     give extra options to ghc-pkg
18665
18666              --ghcjs-options OPTS
18667                     give extra options to ghcjs
18668
18669              --ghcjs-pkg-options OPTS
18670                     give extra options to ghcjs-pkg
18671
18672              --greencard-options OPTS
18673                     give extra options to greencard
18674
18675              --haddock-options OPTS
18676                     give extra options to haddock
18677
18678              --happy-options OPTS
18679                     give extra options to happy
18680
18681              --haskell-suite-options OPTS
18682                     give extra options to haskell-suite
18683
18684              --haskell-suite-pkg-options OPTS
18685                     give extra options to haskell-suite-pkg
18686
18687              --hmake-options OPTS
18688                     give extra options to hmake
18689
18690              --hpc-options OPTS
18691                     give extra options to hpc
18692
18693              --hsc2hs-options OPTS
18694                     give extra options to hsc2hs
18695
18696              --hscolour-options OPTS
18697                     give extra options to hscolour
18698
18699              --jhc-options OPTS
18700                     give extra options to jhc
18701
18702              --ld-options OPTS
18703                     give extra options to ld
18704
18705              --pkg-config-options OPTS
18706                     give extra options to pkg-config
18707
18708              --runghc-options OPTS
18709                     give extra options to runghc
18710
18711              --strip-options OPTS
18712                     give extra options to strip
18713
18714              --tar-options OPTS
18715                     give extra options to tar
18716
18717              --uhc-options OPTS
18718                     give extra options to uhc
18719
18720              --reload
18721                     Used from within an interpreter to update files.
18722
18723              --repl-options FLAG
18724                     use this option for the repl
18725
18726              --only
18727                     Don't reinstall add-source dependencies (sandbox-only)
18728
18729
18730       cabal freeze
18731
18732       Usage: cabal freeze [FLAGS]
18733
18734
18735       Calculates  a  valid  set  of dependencies and their exact versions. If
18736       successful, saves the result to the file `cabal.config`.
18737
18738       The package versions specified in `cabal.config` will be used  for  any
18739       future installs.
18740
18741       An existing `cabal.config` is ignored and overwritten.
18742
18743
18744       The freeze command is a part of the legacy v1 style of cabal usage.
18745
18746       Please  switch to using either the new project style and the new-freeze
18747       command or the legacy v1-freeze alias as new-style projects will become
18748       the  default in the next version of cabal-install. Please file a bug if
18749       you cannot replicate a working v1- use case  with  the  new-style  com‐
18750       mands.
18751
18752       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
18753
18754
18755       Flags:
18756              -v, --verbose [n]
18757                     Control  verbosity (n is 0--3, default verbosity level is
18758                     1)
18759
18760              --dry-run
18761                     Do not freeze anything, only print what would be frozen
18762
18763              --enable-tests
18764              --disable-tests
18765                     freezing of the dependencies of any tests suites  in  the
18766                     package description file.
18767
18768              --enable-benchmarks
18769              --disable-benchmarks
18770                     freezing  of the dependencies of any benchmarks suites in
18771                     the package description file.
18772
18773              --solver SOLVER
18774                     Select  dependency  solver  to  use  (default:  modular).
18775                     Choices: modular.
18776
18777              --max-backjumps NUM
18778                     Maximum   number   of  backjumps  allowed  while  solving
18779                     (default: 2000). Use a negative number to  enable  unlim‐
18780                     ited  backtracking.  Use  0  to disable backtracking com‐
18781                     pletely.
18782
18783              --reorder-goals
18784              --no-reorder-goals
18785                     Try to reorder goals  according  to  certain  heuristics.
18786                     Slows  things  down on average, but may make backtracking
18787                     faster for some packages.
18788
18789              --count-conflicts
18790              --no-count-conflicts
18791                     Try to speed up solving  by  preferring  goals  that  are
18792                     involved in a lot of conflicts (default).
18793
18794              --independent-goals
18795              --no-independent-goals
18796                     Treat  several  goals on the command line as independent.
18797                     If several goals depend on the  same  package,  different
18798                     versions can be chosen.
18799
18800              --shadow-installed-packages
18801              --no-shadow-installed-packages
18802                     If  multiple  package  instances  of the same version are
18803                     installed, treat all but one as shadowed.
18804
18805              --strong-flags
18806              --no-strong-flags
18807                     Do not defer flag choices (this used to be the default in
18808                     cabal-install <= 1.20).
18809
18810              --allow-boot-library-installs
18811              --no-allow-boot-library-installs
18812                     Allow  cabal  to  install base, ghc-prim, integer-simple,
18813                     integer-gmp, and template-haskell.
18814
18815
18816       cabal v1-freeze
18817
18818       Usage: cabal freeze [FLAGS]
18819
18820
18821       Calculates a valid set of dependencies and  their  exact  versions.  If
18822       successful, saves the result to the file `cabal.config`.
18823
18824       The  package  versions specified in `cabal.config` will be used for any
18825       future installs.
18826
18827       An existing `cabal.config` is ignored and overwritten.
18828
18829
18830       The v1-freeze command is a part of the legacy v1 style of cabal usage.
18831
18832       It is a legacy feature and will be  removed  in  a  future  release  of
18833       cabal-install.  Please file a bug if you cannot replicate a working v1-
18834       use case with the new-style commands.
18835
18836       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
18837
18838
18839       Flags:
18840              -v, --verbose [n]
18841                     Control verbosity (n is 0--3, default verbosity level  is
18842                     1)
18843
18844              --dry-run
18845                     Do not freeze anything, only print what would be frozen
18846
18847              --enable-tests
18848              --disable-tests
18849                     freezing  of  the dependencies of any tests suites in the
18850                     package description file.
18851
18852              --enable-benchmarks
18853              --disable-benchmarks
18854                     freezing of the dependencies of any benchmarks suites  in
18855                     the package description file.
18856
18857              --solver SOLVER
18858                     Select  dependency  solver  to  use  (default:  modular).
18859                     Choices: modular.
18860
18861              --max-backjumps NUM
18862                     Maximum  number  of  backjumps  allowed   while   solving
18863                     (default:  2000).  Use a negative number to enable unlim‐
18864                     ited backtracking. Use 0  to  disable  backtracking  com‐
18865                     pletely.
18866
18867              --reorder-goals
18868              --no-reorder-goals
18869                     Try  to  reorder  goals  according to certain heuristics.
18870                     Slows things down on average, but may  make  backtracking
18871                     faster for some packages.
18872
18873              --count-conflicts
18874              --no-count-conflicts
18875                     Try  to  speed  up  solving  by preferring goals that are
18876                     involved in a lot of conflicts (default).
18877
18878              --independent-goals
18879              --no-independent-goals
18880                     Treat several goals on the command line  as  independent.
18881                     If  several  goals  depend on the same package, different
18882                     versions can be chosen.
18883
18884              --shadow-installed-packages
18885              --no-shadow-installed-packages
18886                     If multiple package instances of  the  same  version  are
18887                     installed, treat all but one as shadowed.
18888
18889              --strong-flags
18890              --no-strong-flags
18891                     Do not defer flag choices (this used to be the default in
18892                     cabal-install <= 1.20).
18893
18894              --allow-boot-library-installs
18895              --no-allow-boot-library-installs
18896                     Allow cabal to install  base,  ghc-prim,  integer-simple,
18897                     integer-gmp, and template-haskell.
18898
18899
18900       cabal haddock
18901
18902       Usage: cabal haddock [FLAGS]
18903          or: cabal haddock COMPONENTS [FLAGS]
18904
18905
18906       Requires the program haddock, version 2.x.
18907
18908
18909       The haddock command is a part of the legacy v1 style of cabal usage.
18910
18911       Please switch to using either the new project style and the new-haddock
18912       command or the legacy  v1-haddock  alias  as  new-style  projects  will
18913       become  the default in the next version of cabal-install. Please file a
18914       bug if you cannot replicate a working v1- use case with  the  new-style
18915       commands.
18916
18917       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
18918
18919
18920       Flags:
18921              -v, --verbose [n]
18922                     Control  verbosity (n is 0--3, default verbosity level is
18923                     1)
18924
18925              --builddir, --distdir, --distpref DIR
18926                     The directory where  Cabal  puts  generated  build  files
18927                     (default dist)
18928
18929              --keep-temp-files
18930                     Keep temporary files
18931
18932              --hoogle
18933                     Generate a hoogle database
18934
18935              --html
18936                     Generate HTML documentation (the default)
18937
18938              --html-location URL
18939                     Location of HTML documentation for pre-requisite packages
18940
18941              --for-hackage
18942                     Collection  of  flags  to generate documentation suitable
18943                     for upload to hackage
18944
18945              --executables
18946                     Run haddock for Executables targets
18947
18948              --tests
18949                     Run haddock for Test Suite targets
18950
18951              --benchmarks
18952                     Run haddock for Benchmark targets
18953
18954              --foreign-libraries
18955                     Run haddock for Foreign Library targets
18956
18957              --all
18958                     Run haddock for all targets
18959
18960              --internal
18961                     Run haddock for internal modules and include all symbols
18962
18963              --css PATH
18964                     Use PATH as the haddock stylesheet
18965
18966              --hyperlink-source, --hyperlink-sources, --hyperlinked-source
18967                     Hyperlink the documentation to the source code
18968
18969              --quickjump
18970                     Generate an index for interactive  documentation  naviga‐
18971                     tion
18972
18973              --hscolour-css PATH
18974                     Use PATH as the HsColour stylesheet
18975
18976              --contents-location URL
18977                     Bake URL in as the location for the contents page
18978
18979              --with-ghc PATH
18980                     give the path to ghc
18981
18982              --with-haddock PATH
18983                     give the path to haddock
18984
18985              --ghc-option OPT
18986                     give  an  extra  option  to ghc (no need to quote options
18987                     containing spaces)
18988
18989              --haddock-option OPT
18990                     give an extra option to haddock (no need to quote options
18991                     containing spaces)
18992
18993              --ghc-options OPTS
18994                     give extra options to ghc
18995
18996              --haddock-options OPTS
18997                     give extra options to haddock
18998
18999
19000       cabal v1-haddock
19001
19002       Usage: cabal v1-haddock [FLAGS]
19003          or: cabal v1-haddock COMPONENTS [FLAGS]
19004
19005
19006       Requires the program haddock, version 2.x.
19007
19008
19009       The v1-haddock command is a part of the legacy v1 style of cabal usage.
19010
19011       It  is  a  legacy  feature  and  will be removed in a future release of
19012       cabal-install. Please file a bug if you cannot replicate a working  v1-
19013       use case with the new-style commands.
19014
19015       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
19016
19017
19018       Flags:
19019              -v, --verbose [n]
19020                     Control  verbosity (n is 0--3, default verbosity level is
19021                     1)
19022
19023              --builddir, --distdir, --distpref DIR
19024                     The directory where  Cabal  puts  generated  build  files
19025                     (default dist)
19026
19027              --keep-temp-files
19028                     Keep temporary files
19029
19030              --hoogle
19031                     Generate a hoogle database
19032
19033              --html
19034                     Generate HTML documentation (the default)
19035
19036              --html-location URL
19037                     Location of HTML documentation for pre-requisite packages
19038
19039              --for-hackage
19040                     Collection  of  flags  to generate documentation suitable
19041                     for upload to hackage
19042
19043              --executables
19044                     Run haddock for Executables targets
19045
19046              --tests
19047                     Run haddock for Test Suite targets
19048
19049              --benchmarks
19050                     Run haddock for Benchmark targets
19051
19052              --foreign-libraries
19053                     Run haddock for Foreign Library targets
19054
19055              --all
19056                     Run haddock for all targets
19057
19058              --internal
19059                     Run haddock for internal modules and include all symbols
19060
19061              --css PATH
19062                     Use PATH as the haddock stylesheet
19063
19064              --hyperlink-source, --hyperlink-sources, --hyperlinked-source
19065                     Hyperlink the documentation to the source code
19066
19067              --quickjump
19068                     Generate an index for interactive  documentation  naviga‐
19069                     tion
19070
19071              --hscolour-css PATH
19072                     Use PATH as the HsColour stylesheet
19073
19074              --contents-location URL
19075                     Bake URL in as the location for the contents page
19076
19077              --with-ghc PATH
19078                     give the path to ghc
19079
19080              --with-haddock PATH
19081                     give the path to haddock
19082
19083              --ghc-option OPT
19084                     give  an  extra  option  to ghc (no need to quote options
19085                     containing spaces)
19086
19087              --haddock-option OPT
19088                     give an extra option to haddock (no need to quote options
19089                     containing spaces)
19090
19091              --ghc-options OPTS
19092                     give extra options to ghc
19093
19094              --haddock-options OPTS
19095                     give extra options to haddock
19096
19097
19098       cabal install
19099
19100       Usage: cabal install [FLAGS]
19101          or: cabal install [FLAGS] PACKAGES
19102
19103
19104       Installs  one  or more packages. By default, the installed package will
19105       be registered in the user's  package  database  or,  if  a  sandbox  is
19106       present in the current directory, inside the sandbox.
19107
19108       If  PACKAGES are specified, downloads and installs those packages. Oth‐
19109       erwise, install the package in the current directory (and/or its depen‐
19110       dencies)  (there  must be exactly one .cabal file in the current direc‐
19111       tory).
19112
19113       When using a sandbox, the flags for `install` only affect  the  current
19114       command  and have no effect on future commands. (To achieve that, `con‐
19115       figure` must be used.)  In contrast, without a sandbox,  the  flags  to
19116       `install`  are  saved  and  affect  future commands such as `build` and
19117       `repl`. See the help for `configure`  for  a  list  of  commands  being
19118       affected.
19119
19120       Installed  executables  will  by default (and without a sandbox) be put
19121       into `~/.cabal/bin/`. If you want installed executable to be  available
19122       globally,  make  sure  that the PATH environment variable contains that
19123       directory.  When using a sandbox, executables will be put into  `$SAND‐
19124       BOX/bin/` (by default: `./.cabal-sandbox/bin/`).
19125
19126       When  specifying --bindir, consider also specifying --datadir; this way
19127       the sandbox can be deleted and the executable should  continue  working
19128       as long as bindir and datadir are left untouched.
19129
19130
19131       The flags --with-PROG and --PROG-option(s) can be used with the follow‐
19132       ing programs:
19133         alex ar c2hs cpphs doctest gcc ghc ghc-pkg ghcjs ghcjs-pkg  greencard
19134       haddock
19135         happy  haskell-suite  haskell-suite-pkg hmake hpc hsc2hs hscolour jhc
19136       ld
19137         pkg-config runghc strip tar uhc
19138
19139       Examples:
19140         cabal install                     Package in the current directory
19141         cabal install foo                 Package from the hackage server
19142         cabal install foo-1.0             Specific version of a package
19143         cabal install 'foo < 2'           Constrained package version
19144         cabal install haddock --bindir=$HOME/hask-bin/  --datadir=$HOME/hask-
19145       data/
19146                                           Change installation destination
19147
19148       The install command is a part of the legacy v1 style of cabal usage.
19149
19150       Please switch to using either the new project style and the new-install
19151       command or the legacy  v1-install  alias  as  new-style  projects  will
19152       become  the default in the next version of cabal-install. Please file a
19153       bug if you cannot replicate a working v1- use case with  the  new-style
19154       commands.
19155
19156       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
19157
19158
19159       Flags:
19160              -v, --verbose [n]
19161                     Control  verbosity (n is 0--3, default verbosity level is
19162                     1)
19163
19164              --builddir, --distdir, --distpref DIR
19165                     The directory where  Cabal  puts  generated  build  files
19166                     (default dist)
19167
19168              -g, --ghc
19169                     compile with GHC
19170
19171              --ghcjs
19172                     compile with GHCJS
19173
19174              --uhc
19175                     compile with UHC
19176
19177              --haskell-suite
19178                     compile with a haskell-suite compiler
19179
19180              --cabal-file PATH
19181                     use this Cabal file
19182
19183              -w, --with-compiler PATH
19184                     give the path to a particular compiler
19185
19186              --with-hc-pkg PATH
19187                     give the path to the package tool
19188
19189              --prefix DIR
19190                     bake this prefix in preparation of installation
19191
19192              --bindir DIR
19193                     installation directory for executables
19194
19195              --libdir DIR
19196                     installation directory for libraries
19197
19198              --libsubdir DIR
19199                     subdirectory of libdir in which libs are installed
19200
19201              --dynlibdir DIR
19202                     installation directory for dynamic libraries
19203
19204              --libexecdir DIR
19205                     installation directory for program executables
19206
19207              --libexecsubdir DIR
19208                     subdirectory  of  libexecdir in which private executables
19209                     are installed
19210
19211              --datadir DIR
19212                     installation directory for read-only data
19213
19214              --datasubdir DIR
19215                     subdirectory of datadir in which data files are installed
19216
19217              --docdir DIR
19218                     installation directory for documentation
19219
19220              --htmldir DIR
19221                     installation directory for HTML documentation
19222
19223              --haddockdir DIR
19224                     installation directory for haddock interfaces
19225
19226              --sysconfdir DIR
19227                     installation directory for configuration files
19228
19229              --program-prefix PREFIX
19230                     prefix to be applied to installed executables
19231
19232              --program-suffix SUFFIX
19233                     suffix to be applied to installed executables
19234
19235              --enable-library-vanilla
19236              --disable-library-vanilla
19237                     Vanilla libraries
19238
19239              -p, --enable-library-profiling
19240              --disable-library-profiling
19241                     Library profiling
19242
19243              --enable-shared
19244              --disable-shared
19245                     Shared library
19246
19247              --enable-static
19248              --disable-static
19249                     Static library
19250
19251              --enable-executable-dynamic
19252              --disable-executable-dynamic
19253                     Executable dynamic linking
19254
19255              --enable-profiling
19256              --disable-profiling
19257                     Executable and library profiling
19258
19259              --enable-executable-profiling
19260              --disable-executable-profiling
19261                     Executable profiling (DEPRECATED)
19262
19263              --profiling-detail level
19264                     Profiling  detail  level  for  executable   and   library
19265                     (default,  none,  exported-functions, toplevel-functions,
19266                     all-functions).
19267
19268              --library-profiling-detail level
19269                     Profiling detail level for libraries only.
19270
19271              -O, --enable-optimization, --enable-optimisation [n]
19272                     Build with optimization (n is 0--2, default is 1)
19273
19274              --disable-optimization, --disable-optimisation
19275                     Build without optimization
19276
19277              --enable-debug-info [n]
19278                     Emit debug info (n is 0--3, default is 0)
19279
19280              --disable-debug-info
19281                     Don't emit debug info
19282
19283              --enable-library-for-ghci
19284              --disable-library-for-ghci
19285                     compile library for use with GHCi
19286
19287              --enable-split-sections
19288              --disable-split-sections
19289                     compile library code such that unneeded  definitions  can
19290                     be dropped from the final executable (GHC 7.8+)
19291
19292              --enable-split-objs
19293              --disable-split-objs
19294                     split library into smaller objects to reduce binary sizes
19295                     (GHC 6.6+)
19296
19297              --enable-executable-stripping
19298              --disable-executable-stripping
19299                     strip executables  upon  installation  to  reduce  binary
19300                     sizes
19301
19302              --enable-library-stripping
19303              --disable-library-stripping
19304                     strip libraries upon installation to reduce binary sizes
19305
19306              --configure-option OPT
19307                     Extra option for configure
19308
19309              --user
19310              --global
19311                     doing a per-user installation
19312
19313              --package-db DB
19314                     Append  the given package database to the list of package
19315                     databases used  (to  satisfy  dependencies  and  register
19316                     into).  May  be  a specific file, 'global' or 'user'. The
19317                     initial  list  is  ['global'],  ['global',  'user'],   or
19318                     ['global',  $sandbox],  depending on context. Use 'clear'
19319                     to reset the list  to  empty.  See  the  user  guide  for
19320                     details.
19321
19322              -f, --flags FLAGS
19323                     Force values for the given flags in Cabal conditionals in
19324                     the .cabal file.  E.g.,  --flags="debug  -usebytestrings"
19325                     forces  the  flag "debug" to true and "usebytestrings" to
19326                     false.
19327
19328              --extra-include-dirs PATH
19329                     A list of directories to search for header files
19330
19331              --enable-deterministic
19332              --disable-deterministic
19333                     Try to be as deterministic as possible (used by the  test
19334                     suite)
19335
19336              --ipid IPID
19337                     Installed package ID to compile this package as
19338
19339              --cid CID
19340                     Installed component ID to compile this component as
19341
19342              --extra-lib-dirs PATH
19343                     A list of directories to search for external libraries
19344
19345              --extra-framework-dirs PATH
19346                     A  list  of directories to search for external frameworks
19347                     (OS X only)
19348
19349              --extra-prog-path PATH
19350                     A list of directories to search for required programs (in
19351                     addition to the normal search locations)
19352
19353              --instantiate-with NAME=MOD
19354                     A mapping of signature names to concrete module instanti‐
19355                     ations.
19356
19357              --enable-tests
19358              --disable-tests
19359                     dependency  checking  and  compilation  for  test  suites
19360                     listed in the package description file.
19361
19362              --enable-coverage
19363              --disable-coverage
19364                     build package with Haskell Program Coverage. (GHC only)
19365
19366              --enable-library-coverage
19367              --disable-library-coverage
19368                     build  package  with Haskell Program Coverage. (GHC only)
19369                     (DEPRECATED)
19370
19371              --enable-benchmarks
19372              --disable-benchmarks
19373                     dependency checking and compilation for benchmarks listed
19374                     in the package description file.
19375
19376              --enable-relocatable
19377              --disable-relocatable
19378                     building a package that is relocatable. (GHC only)
19379
19380              --disable-response-files
19381                     enable  workaround for old versions of programs like "ar"
19382                     that do not support @file arguments
19383
19384              --with-alex PATH
19385                     give the path to alex
19386
19387              --with-ar PATH
19388                     give the path to ar
19389
19390              --with-c2hs PATH
19391                     give the path to c2hs
19392
19393              --with-cpphs PATH
19394                     give the path to cpphs
19395
19396              --with-doctest PATH
19397                     give the path to doctest
19398
19399              --with-gcc PATH
19400                     give the path to gcc
19401
19402              --with-ghc PATH
19403                     give the path to ghc
19404
19405              --with-ghc-pkg PATH
19406                     give the path to ghc-pkg
19407
19408              --with-ghcjs PATH
19409                     give the path to ghcjs
19410
19411              --with-ghcjs-pkg PATH
19412                     give the path to ghcjs-pkg
19413
19414              --with-greencard PATH
19415                     give the path to greencard
19416
19417              --with-haddock PATH
19418                     give the path to haddock
19419
19420              --with-happy PATH
19421                     give the path to happy
19422
19423              --with-haskell-suite PATH
19424                     give the path to haskell-suite
19425
19426              --with-haskell-suite-pkg PATH
19427                     give the path to haskell-suite-pkg
19428
19429              --with-hmake PATH
19430                     give the path to hmake
19431
19432              --with-hpc PATH
19433                     give the path to hpc
19434
19435              --with-hsc2hs PATH
19436                     give the path to hsc2hs
19437
19438              --with-hscolour PATH
19439                     give the path to hscolour
19440
19441              --with-jhc PATH
19442                     give the path to jhc
19443
19444              --with-ld PATH
19445                     give the path to ld
19446
19447              --with-pkg-config PATH
19448                     give the path to pkg-config
19449
19450              --with-runghc PATH
19451                     give the path to runghc
19452
19453              --with-strip PATH
19454                     give the path to strip
19455
19456              --with-tar PATH
19457                     give the path to tar
19458
19459              --with-uhc PATH
19460                     give the path to uhc
19461
19462              --alex-option OPT
19463                     give an extra option to alex (no need  to  quote  options
19464                     containing spaces)
19465
19466              --ar-option OPT
19467                     give an extra option to ar (no need to quote options con‐
19468                     taining spaces)
19469
19470              --c2hs-option OPT
19471                     give an extra option to c2hs (no need  to  quote  options
19472                     containing spaces)
19473
19474              --cpphs-option OPT
19475                     give  an  extra option to cpphs (no need to quote options
19476                     containing spaces)
19477
19478              --doctest-option OPT
19479                     give an extra option to doctest (no need to quote options
19480                     containing spaces)
19481
19482              --gcc-option OPT
19483                     give  an  extra  option  to gcc (no need to quote options
19484                     containing spaces)
19485
19486              --ghc-option OPT
19487                     give an extra option to ghc (no  need  to  quote  options
19488                     containing spaces)
19489
19490              --ghc-pkg-option OPT
19491                     give an extra option to ghc-pkg (no need to quote options
19492                     containing spaces)
19493
19494              --ghcjs-option OPT
19495                     give an extra option to ghcjs (no need to  quote  options
19496                     containing spaces)
19497
19498              --ghcjs-pkg-option OPT
19499                     give  an  extra  option  to  ghcjs-pkg  (no need to quote
19500                     options containing spaces)
19501
19502              --greencard-option OPT
19503                     give an extra option  to  greencard  (no  need  to  quote
19504                     options containing spaces)
19505
19506              --haddock-option OPT
19507                     give an extra option to haddock (no need to quote options
19508                     containing spaces)
19509
19510              --happy-option OPT
19511                     give an extra option to happy (no need to  quote  options
19512                     containing spaces)
19513
19514              --haskell-suite-option OPT
19515                     give  an  extra option to haskell-suite (no need to quote
19516                     options containing spaces)
19517
19518              --haskell-suite-pkg-option OPT
19519                     give an extra option to  haskell-suite-pkg  (no  need  to
19520                     quote options containing spaces)
19521
19522              --hmake-option OPT
19523                     give  an  extra option to hmake (no need to quote options
19524                     containing spaces)
19525
19526              --hpc-option OPT
19527                     give an extra option to hpc (no  need  to  quote  options
19528                     containing spaces)
19529
19530              --hsc2hs-option OPT
19531                     give  an extra option to hsc2hs (no need to quote options
19532                     containing spaces)
19533
19534              --hscolour-option OPT
19535                     give an extra  option  to  hscolour  (no  need  to  quote
19536                     options containing spaces)
19537
19538              --jhc-option OPT
19539                     give  an  extra  option  to jhc (no need to quote options
19540                     containing spaces)
19541
19542              --ld-option OPT
19543                     give an extra option to ld (no need to quote options con‐
19544                     taining spaces)
19545
19546              --pkg-config-option OPT
19547                     give  an  extra  option  to  pkg-config (no need to quote
19548                     options containing spaces)
19549
19550              --runghc-option OPT
19551                     give an extra option to runghc (no need to quote  options
19552                     containing spaces)
19553
19554              --strip-option OPT
19555                     give  an  extra option to strip (no need to quote options
19556                     containing spaces)
19557
19558              --tar-option OPT
19559                     give an extra option to tar (no  need  to  quote  options
19560                     containing spaces)
19561
19562              --uhc-option OPT
19563                     give  an  extra  option  to uhc (no need to quote options
19564                     containing spaces)
19565
19566              --alex-options OPTS
19567                     give extra options to alex
19568
19569              --ar-options OPTS
19570                     give extra options to ar
19571
19572              --c2hs-options OPTS
19573                     give extra options to c2hs
19574
19575              --cpphs-options OPTS
19576                     give extra options to cpphs
19577
19578              --doctest-options OPTS
19579                     give extra options to doctest
19580
19581              --gcc-options OPTS
19582                     give extra options to gcc
19583
19584              --ghc-options OPTS
19585                     give extra options to ghc
19586
19587              --ghc-pkg-options OPTS
19588                     give extra options to ghc-pkg
19589
19590              --ghcjs-options OPTS
19591                     give extra options to ghcjs
19592
19593              --ghcjs-pkg-options OPTS
19594                     give extra options to ghcjs-pkg
19595
19596              --greencard-options OPTS
19597                     give extra options to greencard
19598
19599              --haddock-options OPTS
19600                     give extra options to haddock
19601
19602              --happy-options OPTS
19603                     give extra options to happy
19604
19605              --haskell-suite-options OPTS
19606                     give extra options to haskell-suite
19607
19608              --haskell-suite-pkg-options OPTS
19609                     give extra options to haskell-suite-pkg
19610
19611              --hmake-options OPTS
19612                     give extra options to hmake
19613
19614              --hpc-options OPTS
19615                     give extra options to hpc
19616
19617              --hsc2hs-options OPTS
19618                     give extra options to hsc2hs
19619
19620              --hscolour-options OPTS
19621                     give extra options to hscolour
19622
19623              --jhc-options OPTS
19624                     give extra options to jhc
19625
19626              --ld-options OPTS
19627                     give extra options to ld
19628
19629              --pkg-config-options OPTS
19630                     give extra options to pkg-config
19631
19632              --runghc-options OPTS
19633                     give extra options to runghc
19634
19635              --strip-options OPTS
19636                     give extra options to strip
19637
19638              --tar-options OPTS
19639                     give extra options to tar
19640
19641              --uhc-options OPTS
19642                     give extra options to uhc
19643
19644              --cabal-lib-version VERSION
19645                     Select which version of the Cabal lib  to  use  to  build
19646                     packages (useful for testing).
19647
19648              --constraint CONSTRAINT
19649                     Specify    constraints    on    a    package    (version,
19650                     installed/source, flags)
19651
19652              --preference CONSTRAINT
19653                     Specify preferences (soft constraints) on the version  of
19654                     a package
19655
19656              --solver SOLVER
19657                     Select  dependency  solver  to  use  (default:  modular).
19658                     Choices: modular.
19659
19660              --allow-older [DEPS]
19661                     Ignore lower bounds in all dependencies or DEPS
19662
19663              --allow-newer [DEPS]
19664                     Ignore upper bounds in all dependencies or DEPS
19665
19666              --enable-documentation
19667              --disable-documentation
19668                     building of documentation
19669
19670              --doc-index-file TEMPLATE
19671                     A central index of haddock  API  documentation  (template
19672                     cannot use $pkgid)
19673
19674              --dry-run
19675                     Do  not  install  anything,  only  print  what  would  be
19676                     installed.
19677
19678              --max-backjumps NUM
19679                     Maximum  number  of  backjumps  allowed   while   solving
19680                     (default:  2000).  Use a negative number to enable unlim‐
19681                     ited backtracking. Use 0  to  disable  backtracking  com‐
19682                     pletely.
19683
19684              --reorder-goals
19685              --no-reorder-goals
19686                     Try  to  reorder  goals  according to certain heuristics.
19687                     Slows things down on average, but may  make  backtracking
19688                     faster for some packages.
19689
19690              --count-conflicts
19691              --no-count-conflicts
19692                     Try  to  speed  up  solving  by preferring goals that are
19693                     involved in a lot of conflicts (default).
19694
19695              --independent-goals
19696              --no-independent-goals
19697                     Treat several goals on the command line  as  independent.
19698                     If  several  goals  depend on the same package, different
19699                     versions can be chosen.
19700
19701              --shadow-installed-packages
19702              --no-shadow-installed-packages
19703                     If multiple package instances of  the  same  version  are
19704                     installed, treat all but one as shadowed.
19705
19706              --strong-flags
19707              --no-strong-flags
19708                     Do not defer flag choices (this used to be the default in
19709                     cabal-install <= 1.20).
19710
19711              --allow-boot-library-installs
19712              --no-allow-boot-library-installs
19713                     Allow cabal to install  base,  ghc-prim,  integer-simple,
19714                     integer-gmp, and template-haskell.
19715
19716              --reinstall
19717              --no-reinstall
19718                     Install  even  if  it  means  installing the same version
19719                     again.
19720
19721              --avoid-reinstalls
19722              --no-avoid-reinstalls
19723                     Do not select versions that would destructively overwrite
19724                     installed packages.
19725
19726              --force-reinstalls
19727              --no-force-reinstalls
19728                     Reinstall  packages  even  if they will most likely break
19729                     other installed packages.
19730
19731              --upgrade-dependencies
19732              --no-upgrade-dependencies
19733                     Pick the latest version for all dependencies, rather than
19734                     trying to pick an installed version.
19735
19736              --only-dependencies
19737              --no-only-dependencies
19738                     Install  only  the  dependencies  necessary  to build the
19739                     given packages
19740
19741              --dependencies-only
19742              --no-dependencies-only
19743                     A synonym for --only-dependencies
19744
19745              --index-state STATE
19746                     Use source package index state as it existed at a  previ‐
19747                     ous  time.  Accepts unix-timestamps (e.g. '@1474732068'),
19748                     ISO8601 UTC timestamps (e.g. '2016-09-24T17:47:48Z'),  or
19749                     'HEAD' (default: 'HEAD').
19750
19751              --root-cmd COMMAND
19752                     (No longer supported, do not use.)
19753
19754              --symlink-bindir DIR
19755                     Add  symlinks  to  installed executables into this direc‐
19756                     tory.
19757
19758              --build-summary TEMPLATE
19759                     Save build summaries  to  file  (name  template  can  use
19760                     $pkgid, $compiler, $os, $arch)
19761
19762              --build-log TEMPLATE
19763                     Log  all  builds  to  file (name template can use $pkgid,
19764                     $compiler, $os, $arch)
19765
19766              --remote-build-reporting LEVEL
19767                     Generate build reports to send to a remote server  (none,
19768                     anonymous or detailed).
19769
19770              --report-planning-failure
19771                     Generate  build reports when the dependency solver fails.
19772                     This is used by the Hackage build bot.
19773
19774              --enable-per-component
19775              --disable-per-component
19776                     Per-component builds when possible
19777
19778              --one-shot
19779              --no-one-shot
19780                     Do not record the packages in the world file.
19781
19782              --run-tests
19783                     Run package test suites during installation.
19784
19785              -j, --jobs [NUM]
19786                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
19787                     given).
19788
19789              --keep-going
19790                     After a build failure, continue to build other unaffected
19791                     packages.
19792
19793              --offline
19794              --no-offline
19795                     Don't download packages from the Internet.
19796
19797              --project-file FILE
19798                     Set the name of the cabal.project file to search  for  in
19799                     parent directories
19800
19801              --only
19802                     Only installs the package in the current directory.
19803
19804              --haddock-hoogle
19805                     Generate a hoogle database
19806
19807              --haddock-html
19808                     Generate HTML documentation (the default)
19809
19810              --haddock-html-location URL
19811                     Location of HTML documentation for pre-requisite packages
19812
19813              --haddock-for-hackage
19814                     Collection  of  flags  to generate documentation suitable
19815                     for upload to hackage
19816
19817              --haddock-executables
19818                     Run haddock for Executables targets
19819
19820              --haddock-tests
19821                     Run haddock for Test Suite targets
19822
19823              --haddock-benchmarks
19824                     Run haddock for Benchmark targets
19825
19826              --haddock-all
19827                     Run haddock for all targets
19828
19829              --haddock-internal
19830                     Run haddock for internal modules and include all symbols
19831
19832              --haddock-css PATH
19833                     Use PATH as the haddock stylesheet
19834
19835              --haddock-hyperlink-source, --haddock-hyperlink-sources,  --had‐
19836              dock-hyperlinked-source
19837                     Hyperlink the documentation to the source code
19838
19839              --haddock-quickjump
19840                     Generate  an  index for interactive documentation naviga‐
19841                     tion
19842
19843              --haddock-hscolour-css PATH
19844                     Use PATH as the HsColour stylesheet
19845
19846              --haddock-contents-location URL
19847                     Bake URL in as the location for the contents page
19848
19849
19850       cabal v1-install
19851
19852       Usage: cabal v1-install [FLAGS]
19853          or: cabal v1-install [FLAGS] PACKAGES
19854
19855
19856       Installs one or more packages. By default, the installed  package  will
19857       be  registered  in  the  user's  package  database  or, if a sandbox is
19858       present in the current directory, inside the sandbox.
19859
19860       If PACKAGES are specified, downloads and installs those packages.  Oth‐
19861       erwise, install the package in the current directory (and/or its depen‐
19862       dencies) (there must be exactly one .cabal file in the  current  direc‐
19863       tory).
19864
19865       When  using  a sandbox, the flags for `v1-install` only affect the cur‐
19866       rent command and have no effect on future commands. (To  achieve  that,
19867       `v1-configure`  must  be  used.)   In  contrast, without a sandbox, the
19868       flags to `v1-install` are saved and  affect  future  commands  such  as
19869       `v1-build` and `v1-repl`. See the help for `v1-configure` for a list of
19870       commands being affected.
19871
19872       Installed executables will by default (and without a  sandbox)  be  put
19873       into  `~/.cabal/bin/`. If you want installed executable to be available
19874       globally, make sure that the PATH environment  variable  contains  that
19875       directory.   When using a sandbox, executables will be put into `$SAND‐
19876       BOX/bin/` (by default: `./.cabal-sandbox/bin/`).
19877
19878       When specifying --bindir, consider also specifying --datadir; this  way
19879       the  sandbox  can be deleted and the executable should continue working
19880       as long as bindir and datadir are left untouched.
19881
19882
19883       The flags --with-PROG and --PROG-option(s) can be used with the follow‐
19884       ing programs:
19885         alex  ar c2hs cpphs doctest gcc ghc ghc-pkg ghcjs ghcjs-pkg greencard
19886       haddock
19887         happy haskell-suite haskell-suite-pkg hmake hpc hsc2hs  hscolour  jhc
19888       ld
19889         pkg-config runghc strip tar uhc
19890
19891       Examples:
19892         cabal v1-install                     Package in the current directory
19893         cabal v1-install foo                 Package from the hackage server
19894         cabal v1-install foo-1.0             Specific version of a package
19895         cabal v1-install 'foo < 2'           Constrained package version
19896         cabal        v1-install        haddock       --bindir=$HOME/hask-bin/
19897       --datadir=$HOME/hask-data/
19898                                           Change installation destination
19899
19900       The v1-install command is a part of the legacy v1 style of cabal usage.
19901
19902       It is a legacy feature and will be  removed  in  a  future  release  of
19903       cabal-install.  Please file a bug if you cannot replicate a working v1-
19904       use case with the new-style commands.
19905
19906       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
19907
19908
19909       Flags:
19910              -v, --verbose [n]
19911                     Control verbosity (n is 0--3, default verbosity level  is
19912                     1)
19913
19914              --builddir, --distdir, --distpref DIR
19915                     The  directory  where  Cabal  puts  generated build files
19916                     (default dist)
19917
19918              -g, --ghc
19919                     compile with GHC
19920
19921              --ghcjs
19922                     compile with GHCJS
19923
19924              --uhc
19925                     compile with UHC
19926
19927              --haskell-suite
19928                     compile with a haskell-suite compiler
19929
19930              --cabal-file PATH
19931                     use this Cabal file
19932
19933              -w, --with-compiler PATH
19934                     give the path to a particular compiler
19935
19936              --with-hc-pkg PATH
19937                     give the path to the package tool
19938
19939              --prefix DIR
19940                     bake this prefix in preparation of installation
19941
19942              --bindir DIR
19943                     installation directory for executables
19944
19945              --libdir DIR
19946                     installation directory for libraries
19947
19948              --libsubdir DIR
19949                     subdirectory of libdir in which libs are installed
19950
19951              --dynlibdir DIR
19952                     installation directory for dynamic libraries
19953
19954              --libexecdir DIR
19955                     installation directory for program executables
19956
19957              --libexecsubdir DIR
19958                     subdirectory of libexecdir in which  private  executables
19959                     are installed
19960
19961              --datadir DIR
19962                     installation directory for read-only data
19963
19964              --datasubdir DIR
19965                     subdirectory of datadir in which data files are installed
19966
19967              --docdir DIR
19968                     installation directory for documentation
19969
19970              --htmldir DIR
19971                     installation directory for HTML documentation
19972
19973              --haddockdir DIR
19974                     installation directory for haddock interfaces
19975
19976              --sysconfdir DIR
19977                     installation directory for configuration files
19978
19979              --program-prefix PREFIX
19980                     prefix to be applied to installed executables
19981
19982              --program-suffix SUFFIX
19983                     suffix to be applied to installed executables
19984
19985              --enable-library-vanilla
19986              --disable-library-vanilla
19987                     Vanilla libraries
19988
19989              -p, --enable-library-profiling
19990              --disable-library-profiling
19991                     Library profiling
19992
19993              --enable-shared
19994              --disable-shared
19995                     Shared library
19996
19997              --enable-static
19998              --disable-static
19999                     Static library
20000
20001              --enable-executable-dynamic
20002              --disable-executable-dynamic
20003                     Executable dynamic linking
20004
20005              --enable-profiling
20006              --disable-profiling
20007                     Executable and library profiling
20008
20009              --enable-executable-profiling
20010              --disable-executable-profiling
20011                     Executable profiling (DEPRECATED)
20012
20013              --profiling-detail level
20014                     Profiling   detail   level  for  executable  and  library
20015                     (default, none,  exported-functions,  toplevel-functions,
20016                     all-functions).
20017
20018              --library-profiling-detail level
20019                     Profiling detail level for libraries only.
20020
20021              -O, --enable-optimization, --enable-optimisation [n]
20022                     Build with optimization (n is 0--2, default is 1)
20023
20024              --disable-optimization, --disable-optimisation
20025                     Build without optimization
20026
20027              --enable-debug-info [n]
20028                     Emit debug info (n is 0--3, default is 0)
20029
20030              --disable-debug-info
20031                     Don't emit debug info
20032
20033              --enable-library-for-ghci
20034              --disable-library-for-ghci
20035                     compile library for use with GHCi
20036
20037              --enable-split-sections
20038              --disable-split-sections
20039                     compile  library  code such that unneeded definitions can
20040                     be dropped from the final executable (GHC 7.8+)
20041
20042              --enable-split-objs
20043              --disable-split-objs
20044                     split library into smaller objects to reduce binary sizes
20045                     (GHC 6.6+)
20046
20047              --enable-executable-stripping
20048              --disable-executable-stripping
20049                     strip  executables  upon  installation  to  reduce binary
20050                     sizes
20051
20052              --enable-library-stripping
20053              --disable-library-stripping
20054                     strip libraries upon installation to reduce binary sizes
20055
20056              --configure-option OPT
20057                     Extra option for configure
20058
20059              --user
20060              --global
20061                     doing a per-user installation
20062
20063              --package-db DB
20064                     Append the given package database to the list of  package
20065                     databases  used  (to  satisfy  dependencies  and register
20066                     into). May be a specific file, 'global'  or  'user'.  The
20067                     initial   list  is  ['global'],  ['global',  'user'],  or
20068                     ['global', $sandbox], depending on context.  Use  'clear'
20069                     to  reset  the  list  to  empty.  See  the user guide for
20070                     details.
20071
20072              -f, --flags FLAGS
20073                     Force values for the given flags in Cabal conditionals in
20074                     the  .cabal  file.  E.g., --flags="debug -usebytestrings"
20075                     forces the flag "debug" to true and  "usebytestrings"  to
20076                     false.
20077
20078              --extra-include-dirs PATH
20079                     A list of directories to search for header files
20080
20081              --enable-deterministic
20082              --disable-deterministic
20083                     Try  to be as deterministic as possible (used by the test
20084                     suite)
20085
20086              --ipid IPID
20087                     Installed package ID to compile this package as
20088
20089              --cid CID
20090                     Installed component ID to compile this component as
20091
20092              --extra-lib-dirs PATH
20093                     A list of directories to search for external libraries
20094
20095              --extra-framework-dirs PATH
20096                     A list of directories to search for  external  frameworks
20097                     (OS X only)
20098
20099              --extra-prog-path PATH
20100                     A list of directories to search for required programs (in
20101                     addition to the normal search locations)
20102
20103              --instantiate-with NAME=MOD
20104                     A mapping of signature names to concrete module instanti‐
20105                     ations.
20106
20107              --enable-tests
20108              --disable-tests
20109                     dependency  checking  and  compilation  for  test  suites
20110                     listed in the package description file.
20111
20112              --enable-coverage
20113              --disable-coverage
20114                     build package with Haskell Program Coverage. (GHC only)
20115
20116              --enable-library-coverage
20117              --disable-library-coverage
20118                     build package with Haskell Program Coverage.  (GHC  only)
20119                     (DEPRECATED)
20120
20121              --enable-benchmarks
20122              --disable-benchmarks
20123                     dependency checking and compilation for benchmarks listed
20124                     in the package description file.
20125
20126              --enable-relocatable
20127              --disable-relocatable
20128                     building a package that is relocatable. (GHC only)
20129
20130              --disable-response-files
20131                     enable workaround for old versions of programs like  "ar"
20132                     that do not support @file arguments
20133
20134              --with-alex PATH
20135                     give the path to alex
20136
20137              --with-ar PATH
20138                     give the path to ar
20139
20140              --with-c2hs PATH
20141                     give the path to c2hs
20142
20143              --with-cpphs PATH
20144                     give the path to cpphs
20145
20146              --with-doctest PATH
20147                     give the path to doctest
20148
20149              --with-gcc PATH
20150                     give the path to gcc
20151
20152              --with-ghc PATH
20153                     give the path to ghc
20154
20155              --with-ghc-pkg PATH
20156                     give the path to ghc-pkg
20157
20158              --with-ghcjs PATH
20159                     give the path to ghcjs
20160
20161              --with-ghcjs-pkg PATH
20162                     give the path to ghcjs-pkg
20163
20164              --with-greencard PATH
20165                     give the path to greencard
20166
20167              --with-haddock PATH
20168                     give the path to haddock
20169
20170              --with-happy PATH
20171                     give the path to happy
20172
20173              --with-haskell-suite PATH
20174                     give the path to haskell-suite
20175
20176              --with-haskell-suite-pkg PATH
20177                     give the path to haskell-suite-pkg
20178
20179              --with-hmake PATH
20180                     give the path to hmake
20181
20182              --with-hpc PATH
20183                     give the path to hpc
20184
20185              --with-hsc2hs PATH
20186                     give the path to hsc2hs
20187
20188              --with-hscolour PATH
20189                     give the path to hscolour
20190
20191              --with-jhc PATH
20192                     give the path to jhc
20193
20194              --with-ld PATH
20195                     give the path to ld
20196
20197              --with-pkg-config PATH
20198                     give the path to pkg-config
20199
20200              --with-runghc PATH
20201                     give the path to runghc
20202
20203              --with-strip PATH
20204                     give the path to strip
20205
20206              --with-tar PATH
20207                     give the path to tar
20208
20209              --with-uhc PATH
20210                     give the path to uhc
20211
20212              --alex-option OPT
20213                     give  an  extra  option to alex (no need to quote options
20214                     containing spaces)
20215
20216              --ar-option OPT
20217                     give an extra option to ar (no need to quote options con‐
20218                     taining spaces)
20219
20220              --c2hs-option OPT
20221                     give  an  extra  option to c2hs (no need to quote options
20222                     containing spaces)
20223
20224              --cpphs-option OPT
20225                     give an extra option to cpphs (no need to  quote  options
20226                     containing spaces)
20227
20228              --doctest-option OPT
20229                     give an extra option to doctest (no need to quote options
20230                     containing spaces)
20231
20232              --gcc-option OPT
20233                     give an extra option to gcc (no  need  to  quote  options
20234                     containing spaces)
20235
20236              --ghc-option OPT
20237                     give  an  extra  option  to ghc (no need to quote options
20238                     containing spaces)
20239
20240              --ghc-pkg-option OPT
20241                     give an extra option to ghc-pkg (no need to quote options
20242                     containing spaces)
20243
20244              --ghcjs-option OPT
20245                     give  an  extra option to ghcjs (no need to quote options
20246                     containing spaces)
20247
20248              --ghcjs-pkg-option OPT
20249                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
20250                     options containing spaces)
20251
20252              --greencard-option OPT
20253                     give  an  extra  option  to  greencard  (no need to quote
20254                     options containing spaces)
20255
20256              --haddock-option OPT
20257                     give an extra option to haddock (no need to quote options
20258                     containing spaces)
20259
20260              --happy-option OPT
20261                     give  an  extra option to happy (no need to quote options
20262                     containing spaces)
20263
20264              --haskell-suite-option OPT
20265                     give an extra option to haskell-suite (no need  to  quote
20266                     options containing spaces)
20267
20268              --haskell-suite-pkg-option OPT
20269                     give  an  extra  option  to haskell-suite-pkg (no need to
20270                     quote options containing spaces)
20271
20272              --hmake-option OPT
20273                     give an extra option to hmake (no need to  quote  options
20274                     containing spaces)
20275
20276              --hpc-option OPT
20277                     give  an  extra  option  to hpc (no need to quote options
20278                     containing spaces)
20279
20280              --hsc2hs-option OPT
20281                     give an extra option to hsc2hs (no need to quote  options
20282                     containing spaces)
20283
20284              --hscolour-option OPT
20285                     give  an  extra  option  to  hscolour  (no  need to quote
20286                     options containing spaces)
20287
20288              --jhc-option OPT
20289                     give an extra option to jhc (no  need  to  quote  options
20290                     containing spaces)
20291
20292              --ld-option OPT
20293                     give an extra option to ld (no need to quote options con‐
20294                     taining spaces)
20295
20296              --pkg-config-option OPT
20297                     give an extra option to  pkg-config  (no  need  to  quote
20298                     options containing spaces)
20299
20300              --runghc-option OPT
20301                     give  an extra option to runghc (no need to quote options
20302                     containing spaces)
20303
20304              --strip-option OPT
20305                     give an extra option to strip (no need to  quote  options
20306                     containing spaces)
20307
20308              --tar-option OPT
20309                     give  an  extra  option  to tar (no need to quote options
20310                     containing spaces)
20311
20312              --uhc-option OPT
20313                     give an extra option to uhc (no  need  to  quote  options
20314                     containing spaces)
20315
20316              --alex-options OPTS
20317                     give extra options to alex
20318
20319              --ar-options OPTS
20320                     give extra options to ar
20321
20322              --c2hs-options OPTS
20323                     give extra options to c2hs
20324
20325              --cpphs-options OPTS
20326                     give extra options to cpphs
20327
20328              --doctest-options OPTS
20329                     give extra options to doctest
20330
20331              --gcc-options OPTS
20332                     give extra options to gcc
20333
20334              --ghc-options OPTS
20335                     give extra options to ghc
20336
20337              --ghc-pkg-options OPTS
20338                     give extra options to ghc-pkg
20339
20340              --ghcjs-options OPTS
20341                     give extra options to ghcjs
20342
20343              --ghcjs-pkg-options OPTS
20344                     give extra options to ghcjs-pkg
20345
20346              --greencard-options OPTS
20347                     give extra options to greencard
20348
20349              --haddock-options OPTS
20350                     give extra options to haddock
20351
20352              --happy-options OPTS
20353                     give extra options to happy
20354
20355              --haskell-suite-options OPTS
20356                     give extra options to haskell-suite
20357
20358              --haskell-suite-pkg-options OPTS
20359                     give extra options to haskell-suite-pkg
20360
20361              --hmake-options OPTS
20362                     give extra options to hmake
20363
20364              --hpc-options OPTS
20365                     give extra options to hpc
20366
20367              --hsc2hs-options OPTS
20368                     give extra options to hsc2hs
20369
20370              --hscolour-options OPTS
20371                     give extra options to hscolour
20372
20373              --jhc-options OPTS
20374                     give extra options to jhc
20375
20376              --ld-options OPTS
20377                     give extra options to ld
20378
20379              --pkg-config-options OPTS
20380                     give extra options to pkg-config
20381
20382              --runghc-options OPTS
20383                     give extra options to runghc
20384
20385              --strip-options OPTS
20386                     give extra options to strip
20387
20388              --tar-options OPTS
20389                     give extra options to tar
20390
20391              --uhc-options OPTS
20392                     give extra options to uhc
20393
20394              --cabal-lib-version VERSION
20395                     Select  which  version  of  the Cabal lib to use to build
20396                     packages (useful for testing).
20397
20398              --constraint CONSTRAINT
20399                     Specify    constraints    on    a    package    (version,
20400                     installed/source, flags)
20401
20402              --preference CONSTRAINT
20403                     Specify  preferences (soft constraints) on the version of
20404                     a package
20405
20406              --solver SOLVER
20407                     Select  dependency  solver  to  use  (default:  modular).
20408                     Choices: modular.
20409
20410              --allow-older [DEPS]
20411                     Ignore lower bounds in all dependencies or DEPS
20412
20413              --allow-newer [DEPS]
20414                     Ignore upper bounds in all dependencies or DEPS
20415
20416              --enable-documentation
20417              --disable-documentation
20418                     building of documentation
20419
20420              --doc-index-file TEMPLATE
20421                     A  central  index  of haddock API documentation (template
20422                     cannot use $pkgid)
20423
20424              --dry-run
20425                     Do  not  install  anything,  only  print  what  would  be
20426                     installed.
20427
20428              --max-backjumps NUM
20429                     Maximum   number   of  backjumps  allowed  while  solving
20430                     (default: 2000). Use a negative number to  enable  unlim‐
20431                     ited  backtracking.  Use  0  to disable backtracking com‐
20432                     pletely.
20433
20434              --reorder-goals
20435              --no-reorder-goals
20436                     Try to reorder goals  according  to  certain  heuristics.
20437                     Slows  things  down on average, but may make backtracking
20438                     faster for some packages.
20439
20440              --count-conflicts
20441              --no-count-conflicts
20442                     Try to speed up solving  by  preferring  goals  that  are
20443                     involved in a lot of conflicts (default).
20444
20445              --independent-goals
20446              --no-independent-goals
20447                     Treat  several  goals on the command line as independent.
20448                     If several goals depend on the  same  package,  different
20449                     versions can be chosen.
20450
20451              --shadow-installed-packages
20452              --no-shadow-installed-packages
20453                     If  multiple  package  instances  of the same version are
20454                     installed, treat all but one as shadowed.
20455
20456              --strong-flags
20457              --no-strong-flags
20458                     Do not defer flag choices (this used to be the default in
20459                     cabal-install <= 1.20).
20460
20461              --allow-boot-library-installs
20462              --no-allow-boot-library-installs
20463                     Allow  cabal  to  install base, ghc-prim, integer-simple,
20464                     integer-gmp, and template-haskell.
20465
20466              --reinstall
20467              --no-reinstall
20468                     Install even if it  means  installing  the  same  version
20469                     again.
20470
20471              --avoid-reinstalls
20472              --no-avoid-reinstalls
20473                     Do not select versions that would destructively overwrite
20474                     installed packages.
20475
20476              --force-reinstalls
20477              --no-force-reinstalls
20478                     Reinstall packages even if they will  most  likely  break
20479                     other installed packages.
20480
20481              --upgrade-dependencies
20482              --no-upgrade-dependencies
20483                     Pick the latest version for all dependencies, rather than
20484                     trying to pick an installed version.
20485
20486              --only-dependencies
20487              --no-only-dependencies
20488                     Install only the  dependencies  necessary  to  build  the
20489                     given packages
20490
20491              --dependencies-only
20492              --no-dependencies-only
20493                     A synonym for --only-dependencies
20494
20495              --index-state STATE
20496                     Use  source package index state as it existed at a previ‐
20497                     ous time. Accepts unix-timestamps  (e.g.  '@1474732068'),
20498                     ISO8601  UTC timestamps (e.g. '2016-09-24T17:47:48Z'), or
20499                     'HEAD' (default: 'HEAD').
20500
20501              --root-cmd COMMAND
20502                     (No longer supported, do not use.)
20503
20504              --symlink-bindir DIR
20505                     Add symlinks to installed executables  into  this  direc‐
20506                     tory.
20507
20508              --build-summary TEMPLATE
20509                     Save  build  summaries  to  file  (name  template can use
20510                     $pkgid, $compiler, $os, $arch)
20511
20512              --build-log TEMPLATE
20513                     Log all builds to file (name  template  can  use  $pkgid,
20514                     $compiler, $os, $arch)
20515
20516              --remote-build-reporting LEVEL
20517                     Generate  build reports to send to a remote server (none,
20518                     anonymous or detailed).
20519
20520              --report-planning-failure
20521                     Generate build reports when the dependency solver  fails.
20522                     This is used by the Hackage build bot.
20523
20524              --enable-per-component
20525              --disable-per-component
20526                     Per-component builds when possible
20527
20528              --one-shot
20529              --no-one-shot
20530                     Do not record the packages in the world file.
20531
20532              --run-tests
20533                     Run package test suites during installation.
20534
20535              -j, --jobs [NUM]
20536                     Run  NUM  jobs  simultaneously  (or '$ncpus' if no NUM is
20537                     given).
20538
20539              --keep-going
20540                     After a build failure, continue to build other unaffected
20541                     packages.
20542
20543              --offline
20544              --no-offline
20545                     Don't download packages from the Internet.
20546
20547              --project-file FILE
20548                     Set  the  name of the cabal.project file to search for in
20549                     parent directories
20550
20551              --only
20552                     Only installs the package in the current directory.
20553
20554              --haddock-hoogle
20555                     Generate a hoogle database
20556
20557              --haddock-html
20558                     Generate HTML documentation (the default)
20559
20560              --haddock-html-location URL
20561                     Location of HTML documentation for pre-requisite packages
20562
20563              --haddock-for-hackage
20564                     Collection of flags to  generate  documentation  suitable
20565                     for upload to hackage
20566
20567              --haddock-executables
20568                     Run haddock for Executables targets
20569
20570              --haddock-tests
20571                     Run haddock for Test Suite targets
20572
20573              --haddock-benchmarks
20574                     Run haddock for Benchmark targets
20575
20576              --haddock-all
20577                     Run haddock for all targets
20578
20579              --haddock-internal
20580                     Run haddock for internal modules and include all symbols
20581
20582              --haddock-css PATH
20583                     Use PATH as the haddock stylesheet
20584
20585              --haddock-hyperlink-source,  --haddock-hyperlink-sources, --had‐
20586              dock-hyperlinked-source
20587                     Hyperlink the documentation to the source code
20588
20589              --haddock-quickjump
20590                     Generate an index for interactive  documentation  naviga‐
20591                     tion
20592
20593              --haddock-hscolour-css PATH
20594                     Use PATH as the HsColour stylesheet
20595
20596              --haddock-contents-location URL
20597                     Bake URL in as the location for the contents page
20598
20599
20600       cabal run
20601
20602       Usage: cabal run [FLAGS] [EXECUTABLE] [-- EXECUTABLE_FLAGS]
20603
20604
20605       Builds  and  then  runs  the  specified executable. If no executable is
20606       specified, but the package contains just one executable,  that  one  is
20607       built and executed.
20608
20609       Use  `cabal  test --show-details=streaming` to run a test-suite and get
20610       its full output.
20611
20612
20613       Examples:
20614         cabal run
20615           Run the only executable in the current package;
20616         cabal run foo -- --fooflag
20617           Works similar to `./foo --fooflag`.
20618
20619       The run command is a part of the legacy v1 style of cabal usage.
20620
20621       Please switch to using either the new project  style  and  the  new-run
20622       command  or  the  legacy v1-run alias as new-style projects will become
20623       the default in the next version of cabal-install. Please file a bug  if
20624       you  cannot  replicate  a  working v1- use case with the new-style com‐
20625       mands.
20626
20627       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
20628
20629
20630       Flags:
20631              -v, --verbose [n]
20632                     Control verbosity (n is 0--3, default verbosity level  is
20633                     1)
20634
20635              --builddir, --distdir, --distpref DIR
20636                     The  directory  where  Cabal  puts  generated build files
20637                     (default dist)
20638
20639              -j, --jobs [NUM]
20640                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
20641                     given).
20642
20643              --with-alex PATH
20644                     give the path to alex
20645
20646              --with-ar PATH
20647                     give the path to ar
20648
20649              --with-c2hs PATH
20650                     give the path to c2hs
20651
20652              --with-cpphs PATH
20653                     give the path to cpphs
20654
20655              --with-doctest PATH
20656                     give the path to doctest
20657
20658              --with-gcc PATH
20659                     give the path to gcc
20660
20661              --with-ghc PATH
20662                     give the path to ghc
20663
20664              --with-ghc-pkg PATH
20665                     give the path to ghc-pkg
20666
20667              --with-ghcjs PATH
20668                     give the path to ghcjs
20669
20670              --with-ghcjs-pkg PATH
20671                     give the path to ghcjs-pkg
20672
20673              --with-greencard PATH
20674                     give the path to greencard
20675
20676              --with-haddock PATH
20677                     give the path to haddock
20678
20679              --with-happy PATH
20680                     give the path to happy
20681
20682              --with-haskell-suite PATH
20683                     give the path to haskell-suite
20684
20685              --with-haskell-suite-pkg PATH
20686                     give the path to haskell-suite-pkg
20687
20688              --with-hmake PATH
20689                     give the path to hmake
20690
20691              --with-hpc PATH
20692                     give the path to hpc
20693
20694              --with-hsc2hs PATH
20695                     give the path to hsc2hs
20696
20697              --with-hscolour PATH
20698                     give the path to hscolour
20699
20700              --with-jhc PATH
20701                     give the path to jhc
20702
20703              --with-ld PATH
20704                     give the path to ld
20705
20706              --with-pkg-config PATH
20707                     give the path to pkg-config
20708
20709              --with-runghc PATH
20710                     give the path to runghc
20711
20712              --with-strip PATH
20713                     give the path to strip
20714
20715              --with-tar PATH
20716                     give the path to tar
20717
20718              --with-uhc PATH
20719                     give the path to uhc
20720
20721              --alex-option OPT
20722                     give  an  extra  option to alex (no need to quote options
20723                     containing spaces)
20724
20725              --ar-option OPT
20726                     give an extra option to ar (no need to quote options con‐
20727                     taining spaces)
20728
20729              --c2hs-option OPT
20730                     give  an  extra  option to c2hs (no need to quote options
20731                     containing spaces)
20732
20733              --cpphs-option OPT
20734                     give an extra option to cpphs (no need to  quote  options
20735                     containing spaces)
20736
20737              --doctest-option OPT
20738                     give an extra option to doctest (no need to quote options
20739                     containing spaces)
20740
20741              --gcc-option OPT
20742                     give an extra option to gcc (no  need  to  quote  options
20743                     containing spaces)
20744
20745              --ghc-option OPT
20746                     give  an  extra  option  to ghc (no need to quote options
20747                     containing spaces)
20748
20749              --ghc-pkg-option OPT
20750                     give an extra option to ghc-pkg (no need to quote options
20751                     containing spaces)
20752
20753              --ghcjs-option OPT
20754                     give  an  extra option to ghcjs (no need to quote options
20755                     containing spaces)
20756
20757              --ghcjs-pkg-option OPT
20758                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
20759                     options containing spaces)
20760
20761              --greencard-option OPT
20762                     give  an  extra  option  to  greencard  (no need to quote
20763                     options containing spaces)
20764
20765              --haddock-option OPT
20766                     give an extra option to haddock (no need to quote options
20767                     containing spaces)
20768
20769              --happy-option OPT
20770                     give  an  extra option to happy (no need to quote options
20771                     containing spaces)
20772
20773              --haskell-suite-option OPT
20774                     give an extra option to haskell-suite (no need  to  quote
20775                     options containing spaces)
20776
20777              --haskell-suite-pkg-option OPT
20778                     give  an  extra  option  to haskell-suite-pkg (no need to
20779                     quote options containing spaces)
20780
20781              --hmake-option OPT
20782                     give an extra option to hmake (no need to  quote  options
20783                     containing spaces)
20784
20785              --hpc-option OPT
20786                     give  an  extra  option  to hpc (no need to quote options
20787                     containing spaces)
20788
20789              --hsc2hs-option OPT
20790                     give an extra option to hsc2hs (no need to quote  options
20791                     containing spaces)
20792
20793              --hscolour-option OPT
20794                     give  an  extra  option  to  hscolour  (no  need to quote
20795                     options containing spaces)
20796
20797              --jhc-option OPT
20798                     give an extra option to jhc (no  need  to  quote  options
20799                     containing spaces)
20800
20801              --ld-option OPT
20802                     give an extra option to ld (no need to quote options con‐
20803                     taining spaces)
20804
20805              --pkg-config-option OPT
20806                     give an extra option to  pkg-config  (no  need  to  quote
20807                     options containing spaces)
20808
20809              --runghc-option OPT
20810                     give  an extra option to runghc (no need to quote options
20811                     containing spaces)
20812
20813              --strip-option OPT
20814                     give an extra option to strip (no need to  quote  options
20815                     containing spaces)
20816
20817              --tar-option OPT
20818                     give  an  extra  option  to tar (no need to quote options
20819                     containing spaces)
20820
20821              --uhc-option OPT
20822                     give an extra option to uhc (no  need  to  quote  options
20823                     containing spaces)
20824
20825              --alex-options OPTS
20826                     give extra options to alex
20827
20828              --ar-options OPTS
20829                     give extra options to ar
20830
20831              --c2hs-options OPTS
20832                     give extra options to c2hs
20833
20834              --cpphs-options OPTS
20835                     give extra options to cpphs
20836
20837              --doctest-options OPTS
20838                     give extra options to doctest
20839
20840              --gcc-options OPTS
20841                     give extra options to gcc
20842
20843              --ghc-options OPTS
20844                     give extra options to ghc
20845
20846              --ghc-pkg-options OPTS
20847                     give extra options to ghc-pkg
20848
20849              --ghcjs-options OPTS
20850                     give extra options to ghcjs
20851
20852              --ghcjs-pkg-options OPTS
20853                     give extra options to ghcjs-pkg
20854
20855              --greencard-options OPTS
20856                     give extra options to greencard
20857
20858              --haddock-options OPTS
20859                     give extra options to haddock
20860
20861              --happy-options OPTS
20862                     give extra options to happy
20863
20864              --haskell-suite-options OPTS
20865                     give extra options to haskell-suite
20866
20867              --haskell-suite-pkg-options OPTS
20868                     give extra options to haskell-suite-pkg
20869
20870              --hmake-options OPTS
20871                     give extra options to hmake
20872
20873              --hpc-options OPTS
20874                     give extra options to hpc
20875
20876              --hsc2hs-options OPTS
20877                     give extra options to hsc2hs
20878
20879              --hscolour-options OPTS
20880                     give extra options to hscolour
20881
20882              --jhc-options OPTS
20883                     give extra options to jhc
20884
20885              --ld-options OPTS
20886                     give extra options to ld
20887
20888              --pkg-config-options OPTS
20889                     give extra options to pkg-config
20890
20891              --runghc-options OPTS
20892                     give extra options to runghc
20893
20894              --strip-options OPTS
20895                     give extra options to strip
20896
20897              --tar-options OPTS
20898                     give extra options to tar
20899
20900              --uhc-options OPTS
20901                     give extra options to uhc
20902
20903              --only
20904                     Don't reinstall add-source dependencies (sandbox-only)
20905
20906
20907       cabal v1-run
20908
20909       Usage: cabal v1-run [FLAGS] [EXECUTABLE] [-- EXECUTABLE_FLAGS]
20910
20911
20912       Builds  and  then  runs  the  specified executable. If no executable is
20913       specified, but the package contains just one executable,  that  one  is
20914       built and executed.
20915
20916       Use  `cabal  v1-test  --show-details=streaming` to run a test-suite and
20917       get its full output.
20918
20919
20920       Examples:
20921         cabal v1-run
20922           Run the only executable in the current package;
20923         cabal v1-run foo -- --fooflag
20924           Works similar to `./foo --fooflag`.
20925
20926       The v1-run command is a part of the legacy v1 style of cabal usage.
20927
20928       It is a legacy feature and will be  removed  in  a  future  release  of
20929       cabal-install.  Please file a bug if you cannot replicate a working v1-
20930       use case with the new-style commands.
20931
20932       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
20933
20934
20935       Flags:
20936              -v, --verbose [n]
20937                     Control verbosity (n is 0--3, default verbosity level  is
20938                     1)
20939
20940              --builddir, --distdir, --distpref DIR
20941                     The  directory  where  Cabal  puts  generated build files
20942                     (default dist)
20943
20944              -j, --jobs [NUM]
20945                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
20946                     given).
20947
20948              --with-alex PATH
20949                     give the path to alex
20950
20951              --with-ar PATH
20952                     give the path to ar
20953
20954              --with-c2hs PATH
20955                     give the path to c2hs
20956
20957              --with-cpphs PATH
20958                     give the path to cpphs
20959
20960              --with-doctest PATH
20961                     give the path to doctest
20962
20963              --with-gcc PATH
20964                     give the path to gcc
20965
20966              --with-ghc PATH
20967                     give the path to ghc
20968
20969              --with-ghc-pkg PATH
20970                     give the path to ghc-pkg
20971
20972              --with-ghcjs PATH
20973                     give the path to ghcjs
20974
20975              --with-ghcjs-pkg PATH
20976                     give the path to ghcjs-pkg
20977
20978              --with-greencard PATH
20979                     give the path to greencard
20980
20981              --with-haddock PATH
20982                     give the path to haddock
20983
20984              --with-happy PATH
20985                     give the path to happy
20986
20987              --with-haskell-suite PATH
20988                     give the path to haskell-suite
20989
20990              --with-haskell-suite-pkg PATH
20991                     give the path to haskell-suite-pkg
20992
20993              --with-hmake PATH
20994                     give the path to hmake
20995
20996              --with-hpc PATH
20997                     give the path to hpc
20998
20999              --with-hsc2hs PATH
21000                     give the path to hsc2hs
21001
21002              --with-hscolour PATH
21003                     give the path to hscolour
21004
21005              --with-jhc PATH
21006                     give the path to jhc
21007
21008              --with-ld PATH
21009                     give the path to ld
21010
21011              --with-pkg-config PATH
21012                     give the path to pkg-config
21013
21014              --with-runghc PATH
21015                     give the path to runghc
21016
21017              --with-strip PATH
21018                     give the path to strip
21019
21020              --with-tar PATH
21021                     give the path to tar
21022
21023              --with-uhc PATH
21024                     give the path to uhc
21025
21026              --alex-option OPT
21027                     give  an  extra  option to alex (no need to quote options
21028                     containing spaces)
21029
21030              --ar-option OPT
21031                     give an extra option to ar (no need to quote options con‐
21032                     taining spaces)
21033
21034              --c2hs-option OPT
21035                     give  an  extra  option to c2hs (no need to quote options
21036                     containing spaces)
21037
21038              --cpphs-option OPT
21039                     give an extra option to cpphs (no need to  quote  options
21040                     containing spaces)
21041
21042              --doctest-option OPT
21043                     give an extra option to doctest (no need to quote options
21044                     containing spaces)
21045
21046              --gcc-option OPT
21047                     give an extra option to gcc (no  need  to  quote  options
21048                     containing spaces)
21049
21050              --ghc-option OPT
21051                     give  an  extra  option  to ghc (no need to quote options
21052                     containing spaces)
21053
21054              --ghc-pkg-option OPT
21055                     give an extra option to ghc-pkg (no need to quote options
21056                     containing spaces)
21057
21058              --ghcjs-option OPT
21059                     give  an  extra option to ghcjs (no need to quote options
21060                     containing spaces)
21061
21062              --ghcjs-pkg-option OPT
21063                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
21064                     options containing spaces)
21065
21066              --greencard-option OPT
21067                     give  an  extra  option  to  greencard  (no need to quote
21068                     options containing spaces)
21069
21070              --haddock-option OPT
21071                     give an extra option to haddock (no need to quote options
21072                     containing spaces)
21073
21074              --happy-option OPT
21075                     give  an  extra option to happy (no need to quote options
21076                     containing spaces)
21077
21078              --haskell-suite-option OPT
21079                     give an extra option to haskell-suite (no need  to  quote
21080                     options containing spaces)
21081
21082              --haskell-suite-pkg-option OPT
21083                     give  an  extra  option  to haskell-suite-pkg (no need to
21084                     quote options containing spaces)
21085
21086              --hmake-option OPT
21087                     give an extra option to hmake (no need to  quote  options
21088                     containing spaces)
21089
21090              --hpc-option OPT
21091                     give  an  extra  option  to hpc (no need to quote options
21092                     containing spaces)
21093
21094              --hsc2hs-option OPT
21095                     give an extra option to hsc2hs (no need to quote  options
21096                     containing spaces)
21097
21098              --hscolour-option OPT
21099                     give  an  extra  option  to  hscolour  (no  need to quote
21100                     options containing spaces)
21101
21102              --jhc-option OPT
21103                     give an extra option to jhc (no  need  to  quote  options
21104                     containing spaces)
21105
21106              --ld-option OPT
21107                     give an extra option to ld (no need to quote options con‐
21108                     taining spaces)
21109
21110              --pkg-config-option OPT
21111                     give an extra option to  pkg-config  (no  need  to  quote
21112                     options containing spaces)
21113
21114              --runghc-option OPT
21115                     give  an extra option to runghc (no need to quote options
21116                     containing spaces)
21117
21118              --strip-option OPT
21119                     give an extra option to strip (no need to  quote  options
21120                     containing spaces)
21121
21122              --tar-option OPT
21123                     give  an  extra  option  to tar (no need to quote options
21124                     containing spaces)
21125
21126              --uhc-option OPT
21127                     give an extra option to uhc (no  need  to  quote  options
21128                     containing spaces)
21129
21130              --alex-options OPTS
21131                     give extra options to alex
21132
21133              --ar-options OPTS
21134                     give extra options to ar
21135
21136              --c2hs-options OPTS
21137                     give extra options to c2hs
21138
21139              --cpphs-options OPTS
21140                     give extra options to cpphs
21141
21142              --doctest-options OPTS
21143                     give extra options to doctest
21144
21145              --gcc-options OPTS
21146                     give extra options to gcc
21147
21148              --ghc-options OPTS
21149                     give extra options to ghc
21150
21151              --ghc-pkg-options OPTS
21152                     give extra options to ghc-pkg
21153
21154              --ghcjs-options OPTS
21155                     give extra options to ghcjs
21156
21157              --ghcjs-pkg-options OPTS
21158                     give extra options to ghcjs-pkg
21159
21160              --greencard-options OPTS
21161                     give extra options to greencard
21162
21163              --haddock-options OPTS
21164                     give extra options to haddock
21165
21166              --happy-options OPTS
21167                     give extra options to happy
21168
21169              --haskell-suite-options OPTS
21170                     give extra options to haskell-suite
21171
21172              --haskell-suite-pkg-options OPTS
21173                     give extra options to haskell-suite-pkg
21174
21175              --hmake-options OPTS
21176                     give extra options to hmake
21177
21178              --hpc-options OPTS
21179                     give extra options to hpc
21180
21181              --hsc2hs-options OPTS
21182                     give extra options to hsc2hs
21183
21184              --hscolour-options OPTS
21185                     give extra options to hscolour
21186
21187              --jhc-options OPTS
21188                     give extra options to jhc
21189
21190              --ld-options OPTS
21191                     give extra options to ld
21192
21193              --pkg-config-options OPTS
21194                     give extra options to pkg-config
21195
21196              --runghc-options OPTS
21197                     give extra options to runghc
21198
21199              --strip-options OPTS
21200                     give extra options to strip
21201
21202              --tar-options OPTS
21203                     give extra options to tar
21204
21205              --uhc-options OPTS
21206                     give extra options to uhc
21207
21208              --only
21209                     Don't reinstall add-source dependencies (sandbox-only)
21210
21211
21212       cabal test
21213
21214       Usage: cabal test [FLAGS]
21215          or: cabal test TESTCOMPONENTS [FLAGS]
21216
21217
21218       If  necessary  (re)configures with `--enable-tests` flag and builds the
21219       test suite.
21220
21221       Remember that the tests' dependencies must be installed  if  there  are
21222       additional ones; e.g. with `cabal install --only-dependencies --enable-
21223       tests`.
21224
21225       By defining UserHooks in a custom  Setup.hs,  the  package  can  define
21226       actions to be executed before and after running tests.
21227
21228
21229       The test command is a part of the legacy v1 style of cabal usage.
21230
21231       Please  switch  to  using either the new project style and the new-test
21232       command or the legacy v1-test alias as new-style projects  will  become
21233       the  default in the next version of cabal-install. Please file a bug if
21234       you cannot replicate a working v1- use case  with  the  new-style  com‐
21235       mands.
21236
21237       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
21238
21239
21240       Flags:
21241              -v, --verbose [n]
21242                     Control  verbosity (n is 0--3, default verbosity level is
21243                     1)
21244
21245              --builddir, --distdir, --distpref DIR
21246                     The directory where  Cabal  puts  generated  build  files
21247                     (default dist)
21248
21249              --log TEMPLATE
21250                     Log all test suite results to file (name template can use
21251                     $pkgid, $compiler, $os, $arch, $test-suite, $result)
21252
21253              --machine-log TEMPLATE
21254                     Produce a machine-readable log file  (name  template  can
21255                     use $pkgid, $compiler, $os, $arch, $result)
21256
21257              --show-details FILTER
21258
21259              --keep-tix-files
21260                     keep .tix files for HPC between test runs
21261
21262              --test-options TEMPLATES
21263                     give  extra  options  to test executables (name templates
21264                     can use $pkgid, $compiler, $os, $arch, $test-suite)
21265
21266              --test-option TEMPLATE
21267                     give extra option to test executables (no need  to  quote
21268                     options  containing spaces, name template can use $pkgid,
21269                     $compiler, $os, $arch, $test-suite)
21270
21271              -j, --jobs [NUM]
21272                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
21273                     given).
21274
21275              --with-alex PATH
21276                     give the path to alex
21277
21278              --with-ar PATH
21279                     give the path to ar
21280
21281              --with-c2hs PATH
21282                     give the path to c2hs
21283
21284              --with-cpphs PATH
21285                     give the path to cpphs
21286
21287              --with-doctest PATH
21288                     give the path to doctest
21289
21290              --with-gcc PATH
21291                     give the path to gcc
21292
21293              --with-ghc PATH
21294                     give the path to ghc
21295
21296              --with-ghc-pkg PATH
21297                     give the path to ghc-pkg
21298
21299              --with-ghcjs PATH
21300                     give the path to ghcjs
21301
21302              --with-ghcjs-pkg PATH
21303                     give the path to ghcjs-pkg
21304
21305              --with-greencard PATH
21306                     give the path to greencard
21307
21308              --with-haddock PATH
21309                     give the path to haddock
21310
21311              --with-happy PATH
21312                     give the path to happy
21313
21314              --with-haskell-suite PATH
21315                     give the path to haskell-suite
21316
21317              --with-haskell-suite-pkg PATH
21318                     give the path to haskell-suite-pkg
21319
21320              --with-hmake PATH
21321                     give the path to hmake
21322
21323              --with-hpc PATH
21324                     give the path to hpc
21325
21326              --with-hsc2hs PATH
21327                     give the path to hsc2hs
21328
21329              --with-hscolour PATH
21330                     give the path to hscolour
21331
21332              --with-jhc PATH
21333                     give the path to jhc
21334
21335              --with-ld PATH
21336                     give the path to ld
21337
21338              --with-pkg-config PATH
21339                     give the path to pkg-config
21340
21341              --with-runghc PATH
21342                     give the path to runghc
21343
21344              --with-strip PATH
21345                     give the path to strip
21346
21347              --with-tar PATH
21348                     give the path to tar
21349
21350              --with-uhc PATH
21351                     give the path to uhc
21352
21353              --alex-option OPT
21354                     give  an  extra  option to alex (no need to quote options
21355                     containing spaces)
21356
21357              --ar-option OPT
21358                     give an extra option to ar (no need to quote options con‐
21359                     taining spaces)
21360
21361              --c2hs-option OPT
21362                     give  an  extra  option to c2hs (no need to quote options
21363                     containing spaces)
21364
21365              --cpphs-option OPT
21366                     give an extra option to cpphs (no need to  quote  options
21367                     containing spaces)
21368
21369              --doctest-option OPT
21370                     give an extra option to doctest (no need to quote options
21371                     containing spaces)
21372
21373              --gcc-option OPT
21374                     give an extra option to gcc (no  need  to  quote  options
21375                     containing spaces)
21376
21377              --ghc-option OPT
21378                     give  an  extra  option  to ghc (no need to quote options
21379                     containing spaces)
21380
21381              --ghc-pkg-option OPT
21382                     give an extra option to ghc-pkg (no need to quote options
21383                     containing spaces)
21384
21385              --ghcjs-option OPT
21386                     give  an  extra option to ghcjs (no need to quote options
21387                     containing spaces)
21388
21389              --ghcjs-pkg-option OPT
21390                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
21391                     options containing spaces)
21392
21393              --greencard-option OPT
21394                     give  an  extra  option  to  greencard  (no need to quote
21395                     options containing spaces)
21396
21397              --haddock-option OPT
21398                     give an extra option to haddock (no need to quote options
21399                     containing spaces)
21400
21401              --happy-option OPT
21402                     give  an  extra option to happy (no need to quote options
21403                     containing spaces)
21404
21405              --haskell-suite-option OPT
21406                     give an extra option to haskell-suite (no need  to  quote
21407                     options containing spaces)
21408
21409              --haskell-suite-pkg-option OPT
21410                     give  an  extra  option  to haskell-suite-pkg (no need to
21411                     quote options containing spaces)
21412
21413              --hmake-option OPT
21414                     give an extra option to hmake (no need to  quote  options
21415                     containing spaces)
21416
21417              --hpc-option OPT
21418                     give  an  extra  option  to hpc (no need to quote options
21419                     containing spaces)
21420
21421              --hsc2hs-option OPT
21422                     give an extra option to hsc2hs (no need to quote  options
21423                     containing spaces)
21424
21425              --hscolour-option OPT
21426                     give  an  extra  option  to  hscolour  (no  need to quote
21427                     options containing spaces)
21428
21429              --jhc-option OPT
21430                     give an extra option to jhc (no  need  to  quote  options
21431                     containing spaces)
21432
21433              --ld-option OPT
21434                     give an extra option to ld (no need to quote options con‐
21435                     taining spaces)
21436
21437              --pkg-config-option OPT
21438                     give an extra option to  pkg-config  (no  need  to  quote
21439                     options containing spaces)
21440
21441              --runghc-option OPT
21442                     give  an extra option to runghc (no need to quote options
21443                     containing spaces)
21444
21445              --strip-option OPT
21446                     give an extra option to strip (no need to  quote  options
21447                     containing spaces)
21448
21449              --tar-option OPT
21450                     give  an  extra  option  to tar (no need to quote options
21451                     containing spaces)
21452
21453              --uhc-option OPT
21454                     give an extra option to uhc (no  need  to  quote  options
21455                     containing spaces)
21456
21457              --alex-options OPTS
21458                     give extra options to alex
21459
21460              --ar-options OPTS
21461                     give extra options to ar
21462
21463              --c2hs-options OPTS
21464                     give extra options to c2hs
21465
21466              --cpphs-options OPTS
21467                     give extra options to cpphs
21468
21469              --doctest-options OPTS
21470                     give extra options to doctest
21471
21472              --gcc-options OPTS
21473                     give extra options to gcc
21474
21475              --ghc-options OPTS
21476                     give extra options to ghc
21477
21478              --ghc-pkg-options OPTS
21479                     give extra options to ghc-pkg
21480
21481              --ghcjs-options OPTS
21482                     give extra options to ghcjs
21483
21484              --ghcjs-pkg-options OPTS
21485                     give extra options to ghcjs-pkg
21486
21487              --greencard-options OPTS
21488                     give extra options to greencard
21489
21490              --haddock-options OPTS
21491                     give extra options to haddock
21492
21493              --happy-options OPTS
21494                     give extra options to happy
21495
21496              --haskell-suite-options OPTS
21497                     give extra options to haskell-suite
21498
21499              --haskell-suite-pkg-options OPTS
21500                     give extra options to haskell-suite-pkg
21501
21502              --hmake-options OPTS
21503                     give extra options to hmake
21504
21505              --hpc-options OPTS
21506                     give extra options to hpc
21507
21508              --hsc2hs-options OPTS
21509                     give extra options to hsc2hs
21510
21511              --hscolour-options OPTS
21512                     give extra options to hscolour
21513
21514              --jhc-options OPTS
21515                     give extra options to jhc
21516
21517              --ld-options OPTS
21518                     give extra options to ld
21519
21520              --pkg-config-options OPTS
21521                     give extra options to pkg-config
21522
21523              --runghc-options OPTS
21524                     give extra options to runghc
21525
21526              --strip-options OPTS
21527                     give extra options to strip
21528
21529              --tar-options OPTS
21530                     give extra options to tar
21531
21532              --uhc-options OPTS
21533                     give extra options to uhc
21534
21535              --only
21536                     Don't reinstall add-source dependencies (sandbox-only)
21537
21538
21539       cabal v1-test
21540
21541       Usage: cabal v1-test [FLAGS]
21542          or: cabal v1-test TESTCOMPONENTS [FLAGS]
21543
21544
21545       If  necessary  (re)configures with `--enable-tests` flag and builds the
21546       test suite.
21547
21548       Remember that the tests' dependencies must be installed  if  there  are
21549       additional   ones;  e.g.  with  `cabal  v1-install  --only-dependencies
21550       --enable-tests`.
21551
21552       By defining UserHooks in a custom  Setup.hs,  the  package  can  define
21553       actions to be executed before and after running tests.
21554
21555
21556       The v1-test command is a part of the legacy v1 style of cabal usage.
21557
21558       It  is  a  legacy  feature  and  will be removed in a future release of
21559       cabal-install. Please file a bug if you cannot replicate a working  v1-
21560       use case with the new-style commands.
21561
21562       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
21563
21564
21565       Flags:
21566              -v, --verbose [n]
21567                     Control  verbosity (n is 0--3, default verbosity level is
21568                     1)
21569
21570              --builddir, --distdir, --distpref DIR
21571                     The directory where  Cabal  puts  generated  build  files
21572                     (default dist)
21573
21574              --log TEMPLATE
21575                     Log all test suite results to file (name template can use
21576                     $pkgid, $compiler, $os, $arch, $test-suite, $result)
21577
21578              --machine-log TEMPLATE
21579                     Produce a machine-readable log file  (name  template  can
21580                     use $pkgid, $compiler, $os, $arch, $result)
21581
21582              --show-details FILTER
21583
21584              --keep-tix-files
21585                     keep .tix files for HPC between test runs
21586
21587              --test-options TEMPLATES
21588                     give  extra  options  to test executables (name templates
21589                     can use $pkgid, $compiler, $os, $arch, $test-suite)
21590
21591              --test-option TEMPLATE
21592                     give extra option to test executables (no need  to  quote
21593                     options  containing spaces, name template can use $pkgid,
21594                     $compiler, $os, $arch, $test-suite)
21595
21596              -j, --jobs [NUM]
21597                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
21598                     given).
21599
21600              --with-alex PATH
21601                     give the path to alex
21602
21603              --with-ar PATH
21604                     give the path to ar
21605
21606              --with-c2hs PATH
21607                     give the path to c2hs
21608
21609              --with-cpphs PATH
21610                     give the path to cpphs
21611
21612              --with-doctest PATH
21613                     give the path to doctest
21614
21615              --with-gcc PATH
21616                     give the path to gcc
21617
21618              --with-ghc PATH
21619                     give the path to ghc
21620
21621              --with-ghc-pkg PATH
21622                     give the path to ghc-pkg
21623
21624              --with-ghcjs PATH
21625                     give the path to ghcjs
21626
21627              --with-ghcjs-pkg PATH
21628                     give the path to ghcjs-pkg
21629
21630              --with-greencard PATH
21631                     give the path to greencard
21632
21633              --with-haddock PATH
21634                     give the path to haddock
21635
21636              --with-happy PATH
21637                     give the path to happy
21638
21639              --with-haskell-suite PATH
21640                     give the path to haskell-suite
21641
21642              --with-haskell-suite-pkg PATH
21643                     give the path to haskell-suite-pkg
21644
21645              --with-hmake PATH
21646                     give the path to hmake
21647
21648              --with-hpc PATH
21649                     give the path to hpc
21650
21651              --with-hsc2hs PATH
21652                     give the path to hsc2hs
21653
21654              --with-hscolour PATH
21655                     give the path to hscolour
21656
21657              --with-jhc PATH
21658                     give the path to jhc
21659
21660              --with-ld PATH
21661                     give the path to ld
21662
21663              --with-pkg-config PATH
21664                     give the path to pkg-config
21665
21666              --with-runghc PATH
21667                     give the path to runghc
21668
21669              --with-strip PATH
21670                     give the path to strip
21671
21672              --with-tar PATH
21673                     give the path to tar
21674
21675              --with-uhc PATH
21676                     give the path to uhc
21677
21678              --alex-option OPT
21679                     give  an  extra  option to alex (no need to quote options
21680                     containing spaces)
21681
21682              --ar-option OPT
21683                     give an extra option to ar (no need to quote options con‐
21684                     taining spaces)
21685
21686              --c2hs-option OPT
21687                     give  an  extra  option to c2hs (no need to quote options
21688                     containing spaces)
21689
21690              --cpphs-option OPT
21691                     give an extra option to cpphs (no need to  quote  options
21692                     containing spaces)
21693
21694              --doctest-option OPT
21695                     give an extra option to doctest (no need to quote options
21696                     containing spaces)
21697
21698              --gcc-option OPT
21699                     give an extra option to gcc (no  need  to  quote  options
21700                     containing spaces)
21701
21702              --ghc-option OPT
21703                     give  an  extra  option  to ghc (no need to quote options
21704                     containing spaces)
21705
21706              --ghc-pkg-option OPT
21707                     give an extra option to ghc-pkg (no need to quote options
21708                     containing spaces)
21709
21710              --ghcjs-option OPT
21711                     give  an  extra option to ghcjs (no need to quote options
21712                     containing spaces)
21713
21714              --ghcjs-pkg-option OPT
21715                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
21716                     options containing spaces)
21717
21718              --greencard-option OPT
21719                     give  an  extra  option  to  greencard  (no need to quote
21720                     options containing spaces)
21721
21722              --haddock-option OPT
21723                     give an extra option to haddock (no need to quote options
21724                     containing spaces)
21725
21726              --happy-option OPT
21727                     give  an  extra option to happy (no need to quote options
21728                     containing spaces)
21729
21730              --haskell-suite-option OPT
21731                     give an extra option to haskell-suite (no need  to  quote
21732                     options containing spaces)
21733
21734              --haskell-suite-pkg-option OPT
21735                     give  an  extra  option  to haskell-suite-pkg (no need to
21736                     quote options containing spaces)
21737
21738              --hmake-option OPT
21739                     give an extra option to hmake (no need to  quote  options
21740                     containing spaces)
21741
21742              --hpc-option OPT
21743                     give  an  extra  option  to hpc (no need to quote options
21744                     containing spaces)
21745
21746              --hsc2hs-option OPT
21747                     give an extra option to hsc2hs (no need to quote  options
21748                     containing spaces)
21749
21750              --hscolour-option OPT
21751                     give  an  extra  option  to  hscolour  (no  need to quote
21752                     options containing spaces)
21753
21754              --jhc-option OPT
21755                     give an extra option to jhc (no  need  to  quote  options
21756                     containing spaces)
21757
21758              --ld-option OPT
21759                     give an extra option to ld (no need to quote options con‐
21760                     taining spaces)
21761
21762              --pkg-config-option OPT
21763                     give an extra option to  pkg-config  (no  need  to  quote
21764                     options containing spaces)
21765
21766              --runghc-option OPT
21767                     give  an extra option to runghc (no need to quote options
21768                     containing spaces)
21769
21770              --strip-option OPT
21771                     give an extra option to strip (no need to  quote  options
21772                     containing spaces)
21773
21774              --tar-option OPT
21775                     give  an  extra  option  to tar (no need to quote options
21776                     containing spaces)
21777
21778              --uhc-option OPT
21779                     give an extra option to uhc (no  need  to  quote  options
21780                     containing spaces)
21781
21782              --alex-options OPTS
21783                     give extra options to alex
21784
21785              --ar-options OPTS
21786                     give extra options to ar
21787
21788              --c2hs-options OPTS
21789                     give extra options to c2hs
21790
21791              --cpphs-options OPTS
21792                     give extra options to cpphs
21793
21794              --doctest-options OPTS
21795                     give extra options to doctest
21796
21797              --gcc-options OPTS
21798                     give extra options to gcc
21799
21800              --ghc-options OPTS
21801                     give extra options to ghc
21802
21803              --ghc-pkg-options OPTS
21804                     give extra options to ghc-pkg
21805
21806              --ghcjs-options OPTS
21807                     give extra options to ghcjs
21808
21809              --ghcjs-pkg-options OPTS
21810                     give extra options to ghcjs-pkg
21811
21812              --greencard-options OPTS
21813                     give extra options to greencard
21814
21815              --haddock-options OPTS
21816                     give extra options to haddock
21817
21818              --happy-options OPTS
21819                     give extra options to happy
21820
21821              --haskell-suite-options OPTS
21822                     give extra options to haskell-suite
21823
21824              --haskell-suite-pkg-options OPTS
21825                     give extra options to haskell-suite-pkg
21826
21827              --hmake-options OPTS
21828                     give extra options to hmake
21829
21830              --hpc-options OPTS
21831                     give extra options to hpc
21832
21833              --hsc2hs-options OPTS
21834                     give extra options to hsc2hs
21835
21836              --hscolour-options OPTS
21837                     give extra options to hscolour
21838
21839              --jhc-options OPTS
21840                     give extra options to jhc
21841
21842              --ld-options OPTS
21843                     give extra options to ld
21844
21845              --pkg-config-options OPTS
21846                     give extra options to pkg-config
21847
21848              --runghc-options OPTS
21849                     give extra options to runghc
21850
21851              --strip-options OPTS
21852                     give extra options to strip
21853
21854              --tar-options OPTS
21855                     give extra options to tar
21856
21857              --uhc-options OPTS
21858                     give extra options to uhc
21859
21860              --only
21861                     Don't reinstall add-source dependencies (sandbox-only)
21862
21863
21864       cabal bench
21865
21866       Usage: cabal bench [FLAGS]
21867          or: cabal bench BENCHCOMPONENTS [FLAGS]
21868
21869
21870       If  necessary (re)configures with `--enable-benchmarks` flag and builds
21871       the benchmarks.
21872
21873       Remember that the benchmarks' dependencies must be installed  if  there
21874       are  additional  ones;  e.g.  with  `cabal  install --only-dependencies
21875       --enable-benchmarks`.
21876
21877       By defining UserHooks in a custom  Setup.hs,  the  package  can  define
21878       actions to be executed before and after running benchmarks.
21879
21880
21881       The bench command is a part of the legacy v1 style of cabal usage.
21882
21883       Please  switch  to using either the new project style and the new-bench
21884       command or the legacy v1-bench alias as new-style projects will  become
21885       the  default in the next version of cabal-install. Please file a bug if
21886       you cannot replicate a working v1- use case  with  the  new-style  com‐
21887       mands.
21888
21889       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
21890
21891
21892       Flags:
21893              -v, --verbose [n]
21894                     Control  verbosity (n is 0--3, default verbosity level is
21895                     1)
21896
21897              --builddir, --distdir, --distpref DIR
21898                     The directory where  Cabal  puts  generated  build  files
21899                     (default dist)
21900
21901              --benchmark-options TEMPLATES
21902                     give  extra  options  to benchmark executables (name tem‐
21903                     plates can use $pkgid, $compiler, $os, $arch, $benchmark)
21904
21905              --benchmark-option TEMPLATE
21906                     give extra option to benchmark executables  (no  need  to
21907                     quote  options  containing  spaces, name template can use
21908                     $pkgid, $compiler, $os, $arch, $benchmark)
21909
21910              -j, --jobs [NUM]
21911                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
21912                     given).
21913
21914              --with-alex PATH
21915                     give the path to alex
21916
21917              --with-ar PATH
21918                     give the path to ar
21919
21920              --with-c2hs PATH
21921                     give the path to c2hs
21922
21923              --with-cpphs PATH
21924                     give the path to cpphs
21925
21926              --with-doctest PATH
21927                     give the path to doctest
21928
21929              --with-gcc PATH
21930                     give the path to gcc
21931
21932              --with-ghc PATH
21933                     give the path to ghc
21934
21935              --with-ghc-pkg PATH
21936                     give the path to ghc-pkg
21937
21938              --with-ghcjs PATH
21939                     give the path to ghcjs
21940
21941              --with-ghcjs-pkg PATH
21942                     give the path to ghcjs-pkg
21943
21944              --with-greencard PATH
21945                     give the path to greencard
21946
21947              --with-haddock PATH
21948                     give the path to haddock
21949
21950              --with-happy PATH
21951                     give the path to happy
21952
21953              --with-haskell-suite PATH
21954                     give the path to haskell-suite
21955
21956              --with-haskell-suite-pkg PATH
21957                     give the path to haskell-suite-pkg
21958
21959              --with-hmake PATH
21960                     give the path to hmake
21961
21962              --with-hpc PATH
21963                     give the path to hpc
21964
21965              --with-hsc2hs PATH
21966                     give the path to hsc2hs
21967
21968              --with-hscolour PATH
21969                     give the path to hscolour
21970
21971              --with-jhc PATH
21972                     give the path to jhc
21973
21974              --with-ld PATH
21975                     give the path to ld
21976
21977              --with-pkg-config PATH
21978                     give the path to pkg-config
21979
21980              --with-runghc PATH
21981                     give the path to runghc
21982
21983              --with-strip PATH
21984                     give the path to strip
21985
21986              --with-tar PATH
21987                     give the path to tar
21988
21989              --with-uhc PATH
21990                     give the path to uhc
21991
21992              --alex-option OPT
21993                     give  an  extra  option to alex (no need to quote options
21994                     containing spaces)
21995
21996              --ar-option OPT
21997                     give an extra option to ar (no need to quote options con‐
21998                     taining spaces)
21999
22000              --c2hs-option OPT
22001                     give  an  extra  option to c2hs (no need to quote options
22002                     containing spaces)
22003
22004              --cpphs-option OPT
22005                     give an extra option to cpphs (no need to  quote  options
22006                     containing spaces)
22007
22008              --doctest-option OPT
22009                     give an extra option to doctest (no need to quote options
22010                     containing spaces)
22011
22012              --gcc-option OPT
22013                     give an extra option to gcc (no  need  to  quote  options
22014                     containing spaces)
22015
22016              --ghc-option OPT
22017                     give  an  extra  option  to ghc (no need to quote options
22018                     containing spaces)
22019
22020              --ghc-pkg-option OPT
22021                     give an extra option to ghc-pkg (no need to quote options
22022                     containing spaces)
22023
22024              --ghcjs-option OPT
22025                     give  an  extra option to ghcjs (no need to quote options
22026                     containing spaces)
22027
22028              --ghcjs-pkg-option OPT
22029                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
22030                     options containing spaces)
22031
22032              --greencard-option OPT
22033                     give  an  extra  option  to  greencard  (no need to quote
22034                     options containing spaces)
22035
22036              --haddock-option OPT
22037                     give an extra option to haddock (no need to quote options
22038                     containing spaces)
22039
22040              --happy-option OPT
22041                     give  an  extra option to happy (no need to quote options
22042                     containing spaces)
22043
22044              --haskell-suite-option OPT
22045                     give an extra option to haskell-suite (no need  to  quote
22046                     options containing spaces)
22047
22048              --haskell-suite-pkg-option OPT
22049                     give  an  extra  option  to haskell-suite-pkg (no need to
22050                     quote options containing spaces)
22051
22052              --hmake-option OPT
22053                     give an extra option to hmake (no need to  quote  options
22054                     containing spaces)
22055
22056              --hpc-option OPT
22057                     give  an  extra  option  to hpc (no need to quote options
22058                     containing spaces)
22059
22060              --hsc2hs-option OPT
22061                     give an extra option to hsc2hs (no need to quote  options
22062                     containing spaces)
22063
22064              --hscolour-option OPT
22065                     give  an  extra  option  to  hscolour  (no  need to quote
22066                     options containing spaces)
22067
22068              --jhc-option OPT
22069                     give an extra option to jhc (no  need  to  quote  options
22070                     containing spaces)
22071
22072              --ld-option OPT
22073                     give an extra option to ld (no need to quote options con‐
22074                     taining spaces)
22075
22076              --pkg-config-option OPT
22077                     give an extra option to  pkg-config  (no  need  to  quote
22078                     options containing spaces)
22079
22080              --runghc-option OPT
22081                     give  an extra option to runghc (no need to quote options
22082                     containing spaces)
22083
22084              --strip-option OPT
22085                     give an extra option to strip (no need to  quote  options
22086                     containing spaces)
22087
22088              --tar-option OPT
22089                     give  an  extra  option  to tar (no need to quote options
22090                     containing spaces)
22091
22092              --uhc-option OPT
22093                     give an extra option to uhc (no  need  to  quote  options
22094                     containing spaces)
22095
22096              --alex-options OPTS
22097                     give extra options to alex
22098
22099              --ar-options OPTS
22100                     give extra options to ar
22101
22102              --c2hs-options OPTS
22103                     give extra options to c2hs
22104
22105              --cpphs-options OPTS
22106                     give extra options to cpphs
22107
22108              --doctest-options OPTS
22109                     give extra options to doctest
22110
22111              --gcc-options OPTS
22112                     give extra options to gcc
22113
22114              --ghc-options OPTS
22115                     give extra options to ghc
22116
22117              --ghc-pkg-options OPTS
22118                     give extra options to ghc-pkg
22119
22120              --ghcjs-options OPTS
22121                     give extra options to ghcjs
22122
22123              --ghcjs-pkg-options OPTS
22124                     give extra options to ghcjs-pkg
22125
22126              --greencard-options OPTS
22127                     give extra options to greencard
22128
22129              --haddock-options OPTS
22130                     give extra options to haddock
22131
22132              --happy-options OPTS
22133                     give extra options to happy
22134
22135              --haskell-suite-options OPTS
22136                     give extra options to haskell-suite
22137
22138              --haskell-suite-pkg-options OPTS
22139                     give extra options to haskell-suite-pkg
22140
22141              --hmake-options OPTS
22142                     give extra options to hmake
22143
22144              --hpc-options OPTS
22145                     give extra options to hpc
22146
22147              --hsc2hs-options OPTS
22148                     give extra options to hsc2hs
22149
22150              --hscolour-options OPTS
22151                     give extra options to hscolour
22152
22153              --jhc-options OPTS
22154                     give extra options to jhc
22155
22156              --ld-options OPTS
22157                     give extra options to ld
22158
22159              --pkg-config-options OPTS
22160                     give extra options to pkg-config
22161
22162              --runghc-options OPTS
22163                     give extra options to runghc
22164
22165              --strip-options OPTS
22166                     give extra options to strip
22167
22168              --tar-options OPTS
22169                     give extra options to tar
22170
22171              --uhc-options OPTS
22172                     give extra options to uhc
22173
22174              --only
22175                     Don't reinstall add-source dependencies (sandbox-only)
22176
22177
22178       cabal v1-bench
22179
22180       Usage: cabal v1-bench [FLAGS]
22181          or: cabal v1-bench BENCHCOMPONENTS [FLAGS]
22182
22183
22184       If  necessary (re)configures with `--enable-benchmarks` flag and builds
22185       the benchmarks.
22186
22187       Remember that the benchmarks' dependencies must be installed  if  there
22188       are  additional  ones;  e.g. with `cabal v1-install --only-dependencies
22189       --enable-benchmarks`.
22190
22191       By defining UserHooks in a custom  Setup.hs,  the  package  can  define
22192       actions to be executed before and after running benchmarks.
22193
22194
22195       The v1-bench command is a part of the legacy v1 style of cabal usage.
22196
22197       It  is  a  legacy  feature  and  will be removed in a future release of
22198       cabal-install. Please file a bug if you cannot replicate a working  v1-
22199       use case with the new-style commands.
22200
22201       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
22202
22203
22204       Flags:
22205              -v, --verbose [n]
22206                     Control  verbosity (n is 0--3, default verbosity level is
22207                     1)
22208
22209              --builddir, --distdir, --distpref DIR
22210                     The directory where  Cabal  puts  generated  build  files
22211                     (default dist)
22212
22213              --benchmark-options TEMPLATES
22214                     give  extra  options  to benchmark executables (name tem‐
22215                     plates can use $pkgid, $compiler, $os, $arch, $benchmark)
22216
22217              --benchmark-option TEMPLATE
22218                     give extra option to benchmark executables  (no  need  to
22219                     quote  options  containing  spaces, name template can use
22220                     $pkgid, $compiler, $os, $arch, $benchmark)
22221
22222              -j, --jobs [NUM]
22223                     Run NUM jobs simultaneously (or '$ncpus'  if  no  NUM  is
22224                     given).
22225
22226              --with-alex PATH
22227                     give the path to alex
22228
22229              --with-ar PATH
22230                     give the path to ar
22231
22232              --with-c2hs PATH
22233                     give the path to c2hs
22234
22235              --with-cpphs PATH
22236                     give the path to cpphs
22237
22238              --with-doctest PATH
22239                     give the path to doctest
22240
22241              --with-gcc PATH
22242                     give the path to gcc
22243
22244              --with-ghc PATH
22245                     give the path to ghc
22246
22247              --with-ghc-pkg PATH
22248                     give the path to ghc-pkg
22249
22250              --with-ghcjs PATH
22251                     give the path to ghcjs
22252
22253              --with-ghcjs-pkg PATH
22254                     give the path to ghcjs-pkg
22255
22256              --with-greencard PATH
22257                     give the path to greencard
22258
22259              --with-haddock PATH
22260                     give the path to haddock
22261
22262              --with-happy PATH
22263                     give the path to happy
22264
22265              --with-haskell-suite PATH
22266                     give the path to haskell-suite
22267
22268              --with-haskell-suite-pkg PATH
22269                     give the path to haskell-suite-pkg
22270
22271              --with-hmake PATH
22272                     give the path to hmake
22273
22274              --with-hpc PATH
22275                     give the path to hpc
22276
22277              --with-hsc2hs PATH
22278                     give the path to hsc2hs
22279
22280              --with-hscolour PATH
22281                     give the path to hscolour
22282
22283              --with-jhc PATH
22284                     give the path to jhc
22285
22286              --with-ld PATH
22287                     give the path to ld
22288
22289              --with-pkg-config PATH
22290                     give the path to pkg-config
22291
22292              --with-runghc PATH
22293                     give the path to runghc
22294
22295              --with-strip PATH
22296                     give the path to strip
22297
22298              --with-tar PATH
22299                     give the path to tar
22300
22301              --with-uhc PATH
22302                     give the path to uhc
22303
22304              --alex-option OPT
22305                     give  an  extra  option to alex (no need to quote options
22306                     containing spaces)
22307
22308              --ar-option OPT
22309                     give an extra option to ar (no need to quote options con‐
22310                     taining spaces)
22311
22312              --c2hs-option OPT
22313                     give  an  extra  option to c2hs (no need to quote options
22314                     containing spaces)
22315
22316              --cpphs-option OPT
22317                     give an extra option to cpphs (no need to  quote  options
22318                     containing spaces)
22319
22320              --doctest-option OPT
22321                     give an extra option to doctest (no need to quote options
22322                     containing spaces)
22323
22324              --gcc-option OPT
22325                     give an extra option to gcc (no  need  to  quote  options
22326                     containing spaces)
22327
22328              --ghc-option OPT
22329                     give  an  extra  option  to ghc (no need to quote options
22330                     containing spaces)
22331
22332              --ghc-pkg-option OPT
22333                     give an extra option to ghc-pkg (no need to quote options
22334                     containing spaces)
22335
22336              --ghcjs-option OPT
22337                     give  an  extra option to ghcjs (no need to quote options
22338                     containing spaces)
22339
22340              --ghcjs-pkg-option OPT
22341                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
22342                     options containing spaces)
22343
22344              --greencard-option OPT
22345                     give  an  extra  option  to  greencard  (no need to quote
22346                     options containing spaces)
22347
22348              --haddock-option OPT
22349                     give an extra option to haddock (no need to quote options
22350                     containing spaces)
22351
22352              --happy-option OPT
22353                     give  an  extra option to happy (no need to quote options
22354                     containing spaces)
22355
22356              --haskell-suite-option OPT
22357                     give an extra option to haskell-suite (no need  to  quote
22358                     options containing spaces)
22359
22360              --haskell-suite-pkg-option OPT
22361                     give  an  extra  option  to haskell-suite-pkg (no need to
22362                     quote options containing spaces)
22363
22364              --hmake-option OPT
22365                     give an extra option to hmake (no need to  quote  options
22366                     containing spaces)
22367
22368              --hpc-option OPT
22369                     give  an  extra  option  to hpc (no need to quote options
22370                     containing spaces)
22371
22372              --hsc2hs-option OPT
22373                     give an extra option to hsc2hs (no need to quote  options
22374                     containing spaces)
22375
22376              --hscolour-option OPT
22377                     give  an  extra  option  to  hscolour  (no  need to quote
22378                     options containing spaces)
22379
22380              --jhc-option OPT
22381                     give an extra option to jhc (no  need  to  quote  options
22382                     containing spaces)
22383
22384              --ld-option OPT
22385                     give an extra option to ld (no need to quote options con‐
22386                     taining spaces)
22387
22388              --pkg-config-option OPT
22389                     give an extra option to  pkg-config  (no  need  to  quote
22390                     options containing spaces)
22391
22392              --runghc-option OPT
22393                     give  an extra option to runghc (no need to quote options
22394                     containing spaces)
22395
22396              --strip-option OPT
22397                     give an extra option to strip (no need to  quote  options
22398                     containing spaces)
22399
22400              --tar-option OPT
22401                     give  an  extra  option  to tar (no need to quote options
22402                     containing spaces)
22403
22404              --uhc-option OPT
22405                     give an extra option to uhc (no  need  to  quote  options
22406                     containing spaces)
22407
22408              --alex-options OPTS
22409                     give extra options to alex
22410
22411              --ar-options OPTS
22412                     give extra options to ar
22413
22414              --c2hs-options OPTS
22415                     give extra options to c2hs
22416
22417              --cpphs-options OPTS
22418                     give extra options to cpphs
22419
22420              --doctest-options OPTS
22421                     give extra options to doctest
22422
22423              --gcc-options OPTS
22424                     give extra options to gcc
22425
22426              --ghc-options OPTS
22427                     give extra options to ghc
22428
22429              --ghc-pkg-options OPTS
22430                     give extra options to ghc-pkg
22431
22432              --ghcjs-options OPTS
22433                     give extra options to ghcjs
22434
22435              --ghcjs-pkg-options OPTS
22436                     give extra options to ghcjs-pkg
22437
22438              --greencard-options OPTS
22439                     give extra options to greencard
22440
22441              --haddock-options OPTS
22442                     give extra options to haddock
22443
22444              --happy-options OPTS
22445                     give extra options to happy
22446
22447              --haskell-suite-options OPTS
22448                     give extra options to haskell-suite
22449
22450              --haskell-suite-pkg-options OPTS
22451                     give extra options to haskell-suite-pkg
22452
22453              --hmake-options OPTS
22454                     give extra options to hmake
22455
22456              --hpc-options OPTS
22457                     give extra options to hpc
22458
22459              --hsc2hs-options OPTS
22460                     give extra options to hsc2hs
22461
22462              --hscolour-options OPTS
22463                     give extra options to hscolour
22464
22465              --jhc-options OPTS
22466                     give extra options to jhc
22467
22468              --ld-options OPTS
22469                     give extra options to ld
22470
22471              --pkg-config-options OPTS
22472                     give extra options to pkg-config
22473
22474              --runghc-options OPTS
22475                     give extra options to runghc
22476
22477              --strip-options OPTS
22478                     give extra options to strip
22479
22480              --tar-options OPTS
22481                     give extra options to tar
22482
22483              --uhc-options OPTS
22484                     give extra options to uhc
22485
22486              --only
22487                     Don't reinstall add-source dependencies (sandbox-only)
22488
22489
22490       cabal exec
22491
22492       Usage: cabal exec [FLAGS] [--] COMMAND [--] [ARGS]
22493
22494
22495       A  directly  invoked  GHC  will not automatically be aware of any sand‐
22496       boxes: the GHC_PACKAGE_PATH  environment  variable  controls  what  GHC
22497       uses. `cabal exec` can be used to modify this variable: COMMAND will be
22498       executed in a modified environment and thereby uses the sandbox package
22499       database.
22500
22501       If there is no sandbox, behaves as identity (executing COMMAND).
22502
22503       Note  that  other cabal commands change the environment variable appro‐
22504       priately already, so there is no need to wrap those  in  `cabal  exec`.
22505       But  with `cabal exec`, the user has more control and can, for example,
22506       execute custom scripts which indirectly execute GHC.
22507
22508       Note that `cabal repl` is different from `cabal exec --  ghci`  as  the
22509       latter will not forward any additional flags being defined in the local
22510       package to ghci.
22511
22512       See `cabal sandbox`.
22513
22514
22515       Examples:
22516         cabal exec -- ghci -Wall
22517           Start a repl session with sandbox packages and all warnings;
22518         cabal exec gitit -- -f gitit.cnf
22519           Give gitit access to the sandbox packages, and pass it a flag;
22520         cabal exec runghc Foo.hs
22521           Execute runghc on Foo.hs with runghc configured to use the
22522           sandbox package database (if a sandbox is being used).
22523
22524       The exec command is a part of the legacy v1 style of cabal usage.
22525
22526       Please switch to using either the new project style  and  the  new-exec
22527       command  or  the legacy v1-exec alias as new-style projects will become
22528       the default in the next version of cabal-install. Please file a bug  if
22529       you  cannot  replicate  a  working v1- use case with the new-style com‐
22530       mands.
22531
22532       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
22533
22534
22535       Flags:
22536              -v, --verbose [n]
22537                     Control verbosity (n is 0--3, default verbosity level  is
22538                     1)
22539
22540              --builddir, --distdir, --distpref DIR
22541                     The  directory  where  Cabal  puts  generated build files
22542                     (default dist)
22543
22544
22545       cabal v1-exec
22546
22547       Usage: cabal v1-exec [FLAGS] [--] COMMAND [--] [ARGS]
22548
22549
22550       A directly invoked GHC will not automatically be  aware  of  any  sand‐
22551       boxes:  the  GHC_PACKAGE_PATH  environment  variable  controls what GHC
22552       uses. `cabal v1-exec` can be used to modify this variable: COMMAND will
22553       be  executed  in  a  modified  environment and thereby uses the sandbox
22554       package database.
22555
22556       If there is no sandbox, behaves as identity (executing COMMAND).
22557
22558       Note that other cabal commands change the environment  variable  appro‐
22559       priately already, so there is no need to wrap those in `cabal v1-exec`.
22560       But with `cabal v1-exec`, the user has more control and can, for  exam‐
22561       ple, execute custom scripts which indirectly execute GHC.
22562
22563       Note  that `cabal v1-repl` is different from `cabal v1-exec -- ghci` as
22564       the latter will not forward any additional flags being defined  in  the
22565       local package to ghci.
22566
22567       See `cabal sandbox`.
22568
22569
22570       Examples:
22571         cabal v1-exec -- ghci -Wall
22572           Start a repl session with sandbox packages and all warnings;
22573         cabal v1-exec gitit -- -f gitit.cnf
22574           Give gitit access to the sandbox packages, and pass it a flag;
22575         cabal v1-exec runghc Foo.hs
22576           Execute runghc on Foo.hs with runghc configured to use the
22577           sandbox package database (if a sandbox is being used).
22578
22579       The v1-exec command is a part of the legacy v1 style of cabal usage.
22580
22581       It  is  a  legacy  feature  and  will be removed in a future release of
22582       cabal-install. Please file a bug if you cannot replicate a working  v1-
22583       use case with the new-style commands.
22584
22585       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
22586
22587
22588       Flags:
22589              -v, --verbose [n]
22590                     Control  verbosity (n is 0--3, default verbosity level is
22591                     1)
22592
22593              --builddir, --distdir, --distpref DIR
22594                     The directory where  Cabal  puts  generated  build  files
22595                     (default dist)
22596
22597
22598       cabal clean
22599
22600       Usage: cabal clean [FLAGS]
22601
22602
22603       Removes .hi, .o, preprocessed sources, etc.
22604
22605
22606       The clean command is a part of the legacy v1 style of cabal usage.
22607
22608       Please  switch  to using either the new project style and the new-clean
22609       command or the legacy v1-clean alias as new-style projects will  become
22610       the  default in the next version of cabal-install. Please file a bug if
22611       you cannot replicate a working v1- use case  with  the  new-style  com‐
22612       mands.
22613
22614       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
22615
22616
22617       Flags:
22618              -v, --verbose [n]
22619                     Control  verbosity (n is 0--3, default verbosity level is
22620                     1)
22621
22622              --builddir, --distdir, --distpref DIR
22623                     The directory where  Cabal  puts  generated  build  files
22624                     (default dist)
22625
22626              -s, --save-configure
22627                     Do  not remove the configuration file (dist/setup-config)
22628                     during cleaning.  Saves need to reconfigure.
22629
22630
22631       cabal v1-clean
22632
22633       Usage: cabal v1-clean [FLAGS]
22634
22635
22636       Removes .hi, .o, preprocessed sources, etc.
22637
22638
22639       The v1-clean command is a part of the legacy v1 style of cabal usage.
22640
22641       It is a legacy feature and will be  removed  in  a  future  release  of
22642       cabal-install.  Please file a bug if you cannot replicate a working v1-
22643       use case with the new-style commands.
22644
22645       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
22646
22647
22648       Flags:
22649              -v, --verbose [n]
22650                     Control verbosity (n is 0--3, default verbosity level  is
22651                     1)
22652
22653              --builddir, --distdir, --distpref DIR
22654                     The  directory  where  Cabal  puts  generated build files
22655                     (default dist)
22656
22657              -s, --save-configure
22658                     Do not remove the configuration file  (dist/setup-config)
22659                     during cleaning.  Saves need to reconfigure.
22660
22661
22662       cabal sdist
22663
22664       Usage: cabal sdist [FLAGS]
22665
22666
22667       The sdist command is a part of the legacy v1 style of cabal usage.
22668
22669       Please  switch  to using either the new project style and the new-sdist
22670       command or the legacy v1-sdist alias as new-style projects will  become
22671       the  default in the next version of cabal-install. Please file a bug if
22672       you cannot replicate a working v1- use case  with  the  new-style  com‐
22673       mands.
22674
22675       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
22676
22677
22678       Flags:
22679              -v, --verbose [n]
22680                     Control  verbosity (n is 0--3, default verbosity level is
22681                     1)
22682
22683              --builddir, --distdir, --distpref DIR
22684                     The directory where  Cabal  puts  generated  build  files
22685                     (default dist)
22686
22687              --list-sources FILE
22688                     Just write a list of the package's sources to a file
22689
22690              --snapshot
22691                     Produce a snapshot source distribution
22692
22693              --output-directory DIR
22694                     Generate  a  source  distribution in the given directory,
22695                     without creating a tarball
22696
22697              --targz
22698                     Produce a '.tar.gz' format archive (default and  required
22699                     for uploading to hackage)
22700
22701              --zip
22702                     Produce a '.zip' format archive
22703
22704
22705       cabal v1-sdist
22706
22707       Usage: cabal v1-sdist [FLAGS]
22708
22709
22710       The v1-sdist command is a part of the legacy v1 style of cabal usage.
22711
22712       It  is  a  legacy  feature  and  will be removed in a future release of
22713       cabal-install. Please file a bug if you cannot replicate a working  v1-
22714       use case with the new-style commands.
22715
22716       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
22717
22718
22719       Flags:
22720              -v, --verbose [n]
22721                     Control  verbosity (n is 0--3, default verbosity level is
22722                     1)
22723
22724              --builddir, --distdir, --distpref DIR
22725                     The directory where  Cabal  puts  generated  build  files
22726                     (default dist)
22727
22728              --list-sources FILE
22729                     Just write a list of the package's sources to a file
22730
22731              --snapshot
22732                     Produce a snapshot source distribution
22733
22734              --output-directory DIR
22735                     Generate  a  source  distribution in the given directory,
22736                     without creating a tarball
22737
22738              --targz
22739                     Produce a '.tar.gz' format archive (default and  required
22740                     for uploading to hackage)
22741
22742              --zip
22743                     Produce a '.zip' format archive
22744
22745
22746       cabal doctest
22747
22748       Usage: cabal doctest [FLAGS]
22749
22750
22751       Requires the program doctest, version 0.12.
22752
22753
22754       The doctest command is a part of the legacy v1 style of cabal usage.
22755
22756       Please switch to using either the new project style and the new-doctest
22757       command or the legacy  v1-doctest  alias  as  new-style  projects  will
22758       become  the default in the next version of cabal-install. Please file a
22759       bug if you cannot replicate a working v1- use case with  the  new-style
22760       commands.
22761
22762       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
22763
22764
22765       Flags:
22766              -v, --verbose [n]
22767                     Control  verbosity (n is 0--3, default verbosity level is
22768                     1)
22769
22770              --builddir, --distdir, --distpref DIR
22771                     The directory where  Cabal  puts  generated  build  files
22772                     (default dist)
22773
22774              --with-doctest PATH
22775                     give the path to doctest
22776
22777              --doctest-option OPT
22778                     give an extra option to doctest (no need to quote options
22779                     containing spaces)
22780
22781              --doctest-options OPTS
22782                     give extra options to doctest
22783
22784
22785       cabal v1-doctest
22786
22787       Usage: cabal v1-doctest [FLAGS]
22788
22789
22790       Requires the program doctest, version 0.12.
22791
22792
22793       The v1-doctest command is a part of the legacy v1 style of cabal usage.
22794
22795       It is a legacy feature and will be  removed  in  a  future  release  of
22796       cabal-install.  Please file a bug if you cannot replicate a working v1-
22797       use case with the new-style commands.
22798
22799       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
22800
22801
22802       Flags:
22803              -v, --verbose [n]
22804                     Control verbosity (n is 0--3, default verbosity level  is
22805                     1)
22806
22807              --builddir, --distdir, --distpref DIR
22808                     The  directory  where  Cabal  puts  generated build files
22809                     (default dist)
22810
22811              --with-doctest PATH
22812                     give the path to doctest
22813
22814              --doctest-option OPT
22815                     give an extra option to doctest (no need to quote options
22816                     containing spaces)
22817
22818              --doctest-options OPTS
22819                     give extra options to doctest
22820
22821
22822       cabal copy
22823
22824       Usage: cabal copy [FLAGS]
22825          or: cabal copy COMPONENTS [FLAGS]
22826
22827
22828       Components encompass executables and libraries. Does not call register,
22829       and allows a prefix at install time. Without the --destdir  flag,  con‐
22830       figure determines location.
22831
22832
22833       Examples:
22834         cabal copy               All the components in the package
22835         cabal  copy foo           A component (i.e. lib, exe, test suite) The
22836       copy command is a part of the legacy v1 style of cabal usage.
22837
22838       Please switch to using either the new project style  and  the  new-copy
22839       command  or  the legacy v1-copy alias as new-style projects will become
22840       the default in the next version of cabal-install. Please file a bug  if
22841       you  cannot  replicate  a  working v1- use case with the new-style com‐
22842       mands.
22843
22844       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
22845
22846
22847       Flags:
22848              -v, --verbose [n]
22849                     Control verbosity (n is 0--3, default verbosity level  is
22850                     1)
22851
22852              --builddir, --distdir, --distpref DIR
22853                     The  directory  where  Cabal  puts  generated build files
22854                     (default dist)
22855
22856              --destdir DIR
22857                     directory to copy files  to,  prepended  to  installation
22858                     directories
22859
22860              --target-package-db DATABASE
22861                     package  database to copy files into. Required when using
22862                     ${pkgroot} prefix.
22863
22864
22865       cabal v1-copy
22866
22867       Usage: cabal v1-copy [FLAGS]
22868          or: cabal v1-copy COMPONENTS [FLAGS]
22869
22870
22871       Components encompass executables and libraries. Does not call register,
22872       and  allows  a prefix at install time. Without the --destdir flag, con‐
22873       figure determines location.
22874
22875
22876       Examples:
22877         cabal v1-copy               All the components in the package
22878         cabal v1-copy foo           A component (i.e. lib, exe,  test  suite)
22879       The v1-copy command is a part of the legacy v1 style of cabal usage.
22880
22881       It  is  a  legacy  feature  and  will be removed in a future release of
22882       cabal-install. Please file a bug if you cannot replicate a working  v1-
22883       use case with the new-style commands.
22884
22885       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
22886
22887
22888       Flags:
22889              -v, --verbose [n]
22890                     Control  verbosity (n is 0--3, default verbosity level is
22891                     1)
22892
22893              --builddir, --distdir, --distpref DIR
22894                     The directory where  Cabal  puts  generated  build  files
22895                     (default dist)
22896
22897              --destdir DIR
22898                     directory  to  copy  files  to, prepended to installation
22899                     directories
22900
22901              --target-package-db DATABASE
22902                     package database to copy files into. Required when  using
22903                     ${pkgroot} prefix.
22904
22905
22906       cabal register
22907
22908       Usage: cabal register [FLAGS]
22909
22910
22911       The register command is a part of the legacy v1 style of cabal usage.
22912
22913       Please  switch to using either the new project style and the new-regis‐
22914       ter command or the legacy v1-register alias as new-style projects  will
22915       become  the default in the next version of cabal-install. Please file a
22916       bug if you cannot replicate a working v1- use case with  the  new-style
22917       commands.
22918
22919       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
22920
22921
22922       Flags:
22923              -v, --verbose [n]
22924                     Control  verbosity (n is 0--3, default verbosity level is
22925                     1)
22926
22927              --builddir, --distdir, --distpref DIR
22928                     The directory where  Cabal  puts  generated  build  files
22929                     (default dist)
22930
22931              --user
22932                     upon  registration,  register  this package in the user's
22933                     local package database
22934
22935              --global
22936                     (default)upon registration, register this package in  the
22937                     system-wide package database
22938
22939              --inplace
22940                     register  the package in the build location, so it can be
22941                     used without being installed
22942
22943              --gen-script
22944                     instead of registering, generate  a  script  to  register
22945                     later
22946
22947              --gen-pkg-config [PKG]
22948                     instead  of  registering, generate a package registration
22949                     file/directory
22950
22951              --print-ipid
22952                     print the installed package ID calculated for this  pack‐
22953                     age
22954
22955
22956       cabal v1-register
22957
22958       Usage: cabal v1-register [FLAGS]
22959
22960
22961       The  v1-register  command  is  a  part  of the legacy v1 style of cabal
22962       usage.
22963
22964       It is a legacy feature and will be  removed  in  a  future  release  of
22965       cabal-install.  Please file a bug if you cannot replicate a working v1-
22966       use case with the new-style commands.
22967
22968       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
22969
22970
22971       Flags:
22972              -v, --verbose [n]
22973                     Control verbosity (n is 0--3, default verbosity level  is
22974                     1)
22975
22976              --builddir, --distdir, --distpref DIR
22977                     The  directory  where  Cabal  puts  generated build files
22978                     (default dist)
22979
22980              --user
22981                     upon registration, register this package  in  the  user's
22982                     local package database
22983
22984              --global
22985                     (default)upon  registration, register this package in the
22986                     system-wide package database
22987
22988              --inplace
22989                     register the package in the build location, so it can  be
22990                     used without being installed
22991
22992              --gen-script
22993                     instead  of  registering,  generate  a script to register
22994                     later
22995
22996              --gen-pkg-config [PKG]
22997                     instead of registering, generate a  package  registration
22998                     file/directory
22999
23000              --print-ipid
23001                     print  the installed package ID calculated for this pack‐
23002                     age
23003
23004
23005       cabal reconfigure
23006
23007       Usage: cabal reconfigure [FLAGS]
23008
23009
23010       Run `configure` with the most recently used flags, or append  FLAGS  to
23011       the  most recently used configuration. Accepts the same flags as `cabal
23012       configure'.  If the package has  never  been  configured,  the  default
23013       flags are used.
23014
23015
23016       Examples:
23017         cabal reconfigure
23018           Configure with the most recently used flags.
23019         cabal reconfigure -w PATH
23020           Reconfigure with the most recently used flags,
23021           but use the compiler at PATH.
23022
23023
23024       The  reconfigure  command  is  a  part  of the legacy v1 style of cabal
23025       usage.
23026
23027       Please switch to using either the new project style and the  new-recon‐
23028       figure command or the legacy v1-reconfigure alias as new-style projects
23029       will become the default in the next version  of  cabal-install.  Please
23030       file a bug if you cannot replicate a working v1- use case with the new-
23031       style commands.
23032
23033       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
23034
23035
23036       Flags:
23037              -v, --verbose [n]
23038                     Control verbosity (n is 0--3, default verbosity level  is
23039                     1)
23040
23041              --builddir, --distdir, --distpref DIR
23042                     The  directory  where  Cabal  puts  generated build files
23043                     (default dist)
23044
23045              -g, --ghc
23046                     compile with GHC
23047
23048              --ghcjs
23049                     compile with GHCJS
23050
23051              --uhc
23052                     compile with UHC
23053
23054              --haskell-suite
23055                     compile with a haskell-suite compiler
23056
23057              --cabal-file PATH
23058                     use this Cabal file
23059
23060              -w, --with-compiler PATH
23061                     give the path to a particular compiler
23062
23063              --with-hc-pkg PATH
23064                     give the path to the package tool
23065
23066              --prefix DIR
23067                     bake this prefix in preparation of installation
23068
23069              --bindir DIR
23070                     installation directory for executables
23071
23072              --libdir DIR
23073                     installation directory for libraries
23074
23075              --libsubdir DIR
23076                     subdirectory of libdir in which libs are installed
23077
23078              --dynlibdir DIR
23079                     installation directory for dynamic libraries
23080
23081              --libexecdir DIR
23082                     installation directory for program executables
23083
23084              --libexecsubdir DIR
23085                     subdirectory of libexecdir in which  private  executables
23086                     are installed
23087
23088              --datadir DIR
23089                     installation directory for read-only data
23090
23091              --datasubdir DIR
23092                     subdirectory of datadir in which data files are installed
23093
23094              --docdir DIR
23095                     installation directory for documentation
23096
23097              --htmldir DIR
23098                     installation directory for HTML documentation
23099
23100              --haddockdir DIR
23101                     installation directory for haddock interfaces
23102
23103              --sysconfdir DIR
23104                     installation directory for configuration files
23105
23106              --program-prefix PREFIX
23107                     prefix to be applied to installed executables
23108
23109              --program-suffix SUFFIX
23110                     suffix to be applied to installed executables
23111
23112              --enable-library-vanilla
23113              --disable-library-vanilla
23114                     Vanilla libraries
23115
23116              -p, --enable-library-profiling
23117              --disable-library-profiling
23118                     Library profiling
23119
23120              --enable-shared
23121              --disable-shared
23122                     Shared library
23123
23124              --enable-static
23125              --disable-static
23126                     Static library
23127
23128              --enable-executable-dynamic
23129              --disable-executable-dynamic
23130                     Executable dynamic linking
23131
23132              --enable-profiling
23133              --disable-profiling
23134                     Executable and library profiling
23135
23136              --enable-executable-profiling
23137              --disable-executable-profiling
23138                     Executable profiling (DEPRECATED)
23139
23140              --profiling-detail level
23141                     Profiling   detail   level  for  executable  and  library
23142                     (default, none,  exported-functions,  toplevel-functions,
23143                     all-functions).
23144
23145              --library-profiling-detail level
23146                     Profiling detail level for libraries only.
23147
23148              -O, --enable-optimization, --enable-optimisation [n]
23149                     Build with optimization (n is 0--2, default is 1)
23150
23151              --disable-optimization, --disable-optimisation
23152                     Build without optimization
23153
23154              --enable-debug-info [n]
23155                     Emit debug info (n is 0--3, default is 0)
23156
23157              --disable-debug-info
23158                     Don't emit debug info
23159
23160              --enable-library-for-ghci
23161              --disable-library-for-ghci
23162                     compile library for use with GHCi
23163
23164              --enable-split-sections
23165              --disable-split-sections
23166                     compile  library  code such that unneeded definitions can
23167                     be dropped from the final executable (GHC 7.8+)
23168
23169              --enable-split-objs
23170              --disable-split-objs
23171                     split library into smaller objects to reduce binary sizes
23172                     (GHC 6.6+)
23173
23174              --enable-executable-stripping
23175              --disable-executable-stripping
23176                     strip  executables  upon  installation  to  reduce binary
23177                     sizes
23178
23179              --enable-library-stripping
23180              --disable-library-stripping
23181                     strip libraries upon installation to reduce binary sizes
23182
23183              --configure-option OPT
23184                     Extra option for configure
23185
23186              --user
23187              --global
23188                     doing a per-user installation
23189
23190              --package-db DB
23191                     Append the given package database to the list of  package
23192                     databases  used  (to  satisfy  dependencies  and register
23193                     into). May be a specific file, 'global'  or  'user'.  The
23194                     initial   list  is  ['global'],  ['global',  'user'],  or
23195                     ['global', $sandbox], depending on context.  Use  'clear'
23196                     to  reset  the  list  to  empty.  See  the user guide for
23197                     details.
23198
23199              -f, --flags FLAGS
23200                     Force values for the given flags in Cabal conditionals in
23201                     the  .cabal  file.  E.g., --flags="debug -usebytestrings"
23202                     forces the flag "debug" to true and  "usebytestrings"  to
23203                     false.
23204
23205              --extra-include-dirs PATH
23206                     A list of directories to search for header files
23207
23208              --enable-deterministic
23209              --disable-deterministic
23210                     Try  to be as deterministic as possible (used by the test
23211                     suite)
23212
23213              --ipid IPID
23214                     Installed package ID to compile this package as
23215
23216              --cid CID
23217                     Installed component ID to compile this component as
23218
23219              --extra-lib-dirs PATH
23220                     A list of directories to search for external libraries
23221
23222              --extra-framework-dirs PATH
23223                     A list of directories to search for  external  frameworks
23224                     (OS X only)
23225
23226              --extra-prog-path PATH
23227                     A list of directories to search for required programs (in
23228                     addition to the normal search locations)
23229
23230              --instantiate-with NAME=MOD
23231                     A mapping of signature names to concrete module instanti‐
23232                     ations.
23233
23234              --enable-tests
23235              --disable-tests
23236                     dependency  checking  and  compilation  for  test  suites
23237                     listed in the package description file.
23238
23239              --enable-coverage
23240              --disable-coverage
23241                     build package with Haskell Program Coverage. (GHC only)
23242
23243              --enable-library-coverage
23244              --disable-library-coverage
23245                     build package with Haskell Program Coverage.  (GHC  only)
23246                     (DEPRECATED)
23247
23248              --enable-benchmarks
23249              --disable-benchmarks
23250                     dependency checking and compilation for benchmarks listed
23251                     in the package description file.
23252
23253              --enable-relocatable
23254              --disable-relocatable
23255                     building a package that is relocatable. (GHC only)
23256
23257              --disable-response-files
23258                     enable workaround for old versions of programs like  "ar"
23259                     that do not support @file arguments
23260
23261              --with-alex PATH
23262                     give the path to alex
23263
23264              --with-ar PATH
23265                     give the path to ar
23266
23267              --with-c2hs PATH
23268                     give the path to c2hs
23269
23270              --with-cpphs PATH
23271                     give the path to cpphs
23272
23273              --with-doctest PATH
23274                     give the path to doctest
23275
23276              --with-gcc PATH
23277                     give the path to gcc
23278
23279              --with-ghc PATH
23280                     give the path to ghc
23281
23282              --with-ghc-pkg PATH
23283                     give the path to ghc-pkg
23284
23285              --with-ghcjs PATH
23286                     give the path to ghcjs
23287
23288              --with-ghcjs-pkg PATH
23289                     give the path to ghcjs-pkg
23290
23291              --with-greencard PATH
23292                     give the path to greencard
23293
23294              --with-haddock PATH
23295                     give the path to haddock
23296
23297              --with-happy PATH
23298                     give the path to happy
23299
23300              --with-haskell-suite PATH
23301                     give the path to haskell-suite
23302
23303              --with-haskell-suite-pkg PATH
23304                     give the path to haskell-suite-pkg
23305
23306              --with-hmake PATH
23307                     give the path to hmake
23308
23309              --with-hpc PATH
23310                     give the path to hpc
23311
23312              --with-hsc2hs PATH
23313                     give the path to hsc2hs
23314
23315              --with-hscolour PATH
23316                     give the path to hscolour
23317
23318              --with-jhc PATH
23319                     give the path to jhc
23320
23321              --with-ld PATH
23322                     give the path to ld
23323
23324              --with-pkg-config PATH
23325                     give the path to pkg-config
23326
23327              --with-runghc PATH
23328                     give the path to runghc
23329
23330              --with-strip PATH
23331                     give the path to strip
23332
23333              --with-tar PATH
23334                     give the path to tar
23335
23336              --with-uhc PATH
23337                     give the path to uhc
23338
23339              --alex-option OPT
23340                     give  an  extra  option to alex (no need to quote options
23341                     containing spaces)
23342
23343              --ar-option OPT
23344                     give an extra option to ar (no need to quote options con‐
23345                     taining spaces)
23346
23347              --c2hs-option OPT
23348                     give  an  extra  option to c2hs (no need to quote options
23349                     containing spaces)
23350
23351              --cpphs-option OPT
23352                     give an extra option to cpphs (no need to  quote  options
23353                     containing spaces)
23354
23355              --doctest-option OPT
23356                     give an extra option to doctest (no need to quote options
23357                     containing spaces)
23358
23359              --gcc-option OPT
23360                     give an extra option to gcc (no  need  to  quote  options
23361                     containing spaces)
23362
23363              --ghc-option OPT
23364                     give  an  extra  option  to ghc (no need to quote options
23365                     containing spaces)
23366
23367              --ghc-pkg-option OPT
23368                     give an extra option to ghc-pkg (no need to quote options
23369                     containing spaces)
23370
23371              --ghcjs-option OPT
23372                     give  an  extra option to ghcjs (no need to quote options
23373                     containing spaces)
23374
23375              --ghcjs-pkg-option OPT
23376                     give an extra option  to  ghcjs-pkg  (no  need  to  quote
23377                     options containing spaces)
23378
23379              --greencard-option OPT
23380                     give  an  extra  option  to  greencard  (no need to quote
23381                     options containing spaces)
23382
23383              --haddock-option OPT
23384                     give an extra option to haddock (no need to quote options
23385                     containing spaces)
23386
23387              --happy-option OPT
23388                     give  an  extra option to happy (no need to quote options
23389                     containing spaces)
23390
23391              --haskell-suite-option OPT
23392                     give an extra option to haskell-suite (no need  to  quote
23393                     options containing spaces)
23394
23395              --haskell-suite-pkg-option OPT
23396                     give  an  extra  option  to haskell-suite-pkg (no need to
23397                     quote options containing spaces)
23398
23399              --hmake-option OPT
23400                     give an extra option to hmake (no need to  quote  options
23401                     containing spaces)
23402
23403              --hpc-option OPT
23404                     give  an  extra  option  to hpc (no need to quote options
23405                     containing spaces)
23406
23407              --hsc2hs-option OPT
23408                     give an extra option to hsc2hs (no need to quote  options
23409                     containing spaces)
23410
23411              --hscolour-option OPT
23412                     give  an  extra  option  to  hscolour  (no  need to quote
23413                     options containing spaces)
23414
23415              --jhc-option OPT
23416                     give an extra option to jhc (no  need  to  quote  options
23417                     containing spaces)
23418
23419              --ld-option OPT
23420                     give an extra option to ld (no need to quote options con‐
23421                     taining spaces)
23422
23423              --pkg-config-option OPT
23424                     give an extra option to  pkg-config  (no  need  to  quote
23425                     options containing spaces)
23426
23427              --runghc-option OPT
23428                     give  an extra option to runghc (no need to quote options
23429                     containing spaces)
23430
23431              --strip-option OPT
23432                     give an extra option to strip (no need to  quote  options
23433                     containing spaces)
23434
23435              --tar-option OPT
23436                     give  an  extra  option  to tar (no need to quote options
23437                     containing spaces)
23438
23439              --uhc-option OPT
23440                     give an extra option to uhc (no  need  to  quote  options
23441                     containing spaces)
23442
23443              --alex-options OPTS
23444                     give extra options to alex
23445
23446              --ar-options OPTS
23447                     give extra options to ar
23448
23449              --c2hs-options OPTS
23450                     give extra options to c2hs
23451
23452              --cpphs-options OPTS
23453                     give extra options to cpphs
23454
23455              --doctest-options OPTS
23456                     give extra options to doctest
23457
23458              --gcc-options OPTS
23459                     give extra options to gcc
23460
23461              --ghc-options OPTS
23462                     give extra options to ghc
23463
23464              --ghc-pkg-options OPTS
23465                     give extra options to ghc-pkg
23466
23467              --ghcjs-options OPTS
23468                     give extra options to ghcjs
23469
23470              --ghcjs-pkg-options OPTS
23471                     give extra options to ghcjs-pkg
23472
23473              --greencard-options OPTS
23474                     give extra options to greencard
23475
23476              --haddock-options OPTS
23477                     give extra options to haddock
23478
23479              --happy-options OPTS
23480                     give extra options to happy
23481
23482              --haskell-suite-options OPTS
23483                     give extra options to haskell-suite
23484
23485              --haskell-suite-pkg-options OPTS
23486                     give extra options to haskell-suite-pkg
23487
23488              --hmake-options OPTS
23489                     give extra options to hmake
23490
23491              --hpc-options OPTS
23492                     give extra options to hpc
23493
23494              --hsc2hs-options OPTS
23495                     give extra options to hsc2hs
23496
23497              --hscolour-options OPTS
23498                     give extra options to hscolour
23499
23500              --jhc-options OPTS
23501                     give extra options to jhc
23502
23503              --ld-options OPTS
23504                     give extra options to ld
23505
23506              --pkg-config-options OPTS
23507                     give extra options to pkg-config
23508
23509              --runghc-options OPTS
23510                     give extra options to runghc
23511
23512              --strip-options OPTS
23513                     give extra options to strip
23514
23515              --tar-options OPTS
23516                     give extra options to tar
23517
23518              --uhc-options OPTS
23519                     give extra options to uhc
23520
23521              --cabal-lib-version VERSION
23522                     Select  which  version  of  the Cabal lib to use to build
23523                     packages (useful for testing).
23524
23525              --constraint CONSTRAINT
23526                     Specify    constraints    on    a    package    (version,
23527                     installed/source, flags)
23528
23529              --preference CONSTRAINT
23530                     Specify  preferences (soft constraints) on the version of
23531                     a package
23532
23533              --solver SOLVER
23534                     Select  dependency  solver  to  use  (default:  modular).
23535                     Choices: modular.
23536
23537              --allow-older [DEPS]
23538                     Ignore lower bounds in all dependencies or DEPS
23539
23540              --allow-newer [DEPS]
23541                     Ignore upper bounds in all dependencies or DEPS
23542
23543
23544       cabal v1-reconfigure
23545
23546       Usage: cabal v1-reconfigure [FLAGS]
23547
23548
23549       Run  `configure`  with the most recently used flags, or append FLAGS to
23550       the most recently used configuration. Accepts the same flags as  `cabal
23551       v1-configure'.   If  the package has never been configured, the default
23552       flags are used.
23553
23554
23555       Examples:
23556         cabal v1-reconfigure
23557           Configure with the most recently used flags.
23558         cabal v1-reconfigure -w PATH
23559           Reconfigure with the most recently used flags,
23560           but use the compiler at PATH.
23561
23562
23563       The v1-reconfigure command is a part of the legacy v1  style  of  cabal
23564       usage.
23565
23566       It  is  a  legacy  feature  and  will be removed in a future release of
23567       cabal-install. Please file a bug if you cannot replicate a working  v1-
23568       use case with the new-style commands.
23569
23570       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
23571
23572
23573       Flags:
23574              -v, --verbose [n]
23575                     Control  verbosity (n is 0--3, default verbosity level is
23576                     1)
23577
23578              --builddir, --distdir, --distpref DIR
23579                     The directory where  Cabal  puts  generated  build  files
23580                     (default dist)
23581
23582              -g, --ghc
23583                     compile with GHC
23584
23585              --ghcjs
23586                     compile with GHCJS
23587
23588              --uhc
23589                     compile with UHC
23590
23591              --haskell-suite
23592                     compile with a haskell-suite compiler
23593
23594              --cabal-file PATH
23595                     use this Cabal file
23596
23597              -w, --with-compiler PATH
23598                     give the path to a particular compiler
23599
23600              --with-hc-pkg PATH
23601                     give the path to the package tool
23602
23603              --prefix DIR
23604                     bake this prefix in preparation of installation
23605
23606              --bindir DIR
23607                     installation directory for executables
23608
23609              --libdir DIR
23610                     installation directory for libraries
23611
23612              --libsubdir DIR
23613                     subdirectory of libdir in which libs are installed
23614
23615              --dynlibdir DIR
23616                     installation directory for dynamic libraries
23617
23618              --libexecdir DIR
23619                     installation directory for program executables
23620
23621              --libexecsubdir DIR
23622                     subdirectory  of  libexecdir in which private executables
23623                     are installed
23624
23625              --datadir DIR
23626                     installation directory for read-only data
23627
23628              --datasubdir DIR
23629                     subdirectory of datadir in which data files are installed
23630
23631              --docdir DIR
23632                     installation directory for documentation
23633
23634              --htmldir DIR
23635                     installation directory for HTML documentation
23636
23637              --haddockdir DIR
23638                     installation directory for haddock interfaces
23639
23640              --sysconfdir DIR
23641                     installation directory for configuration files
23642
23643              --program-prefix PREFIX
23644                     prefix to be applied to installed executables
23645
23646              --program-suffix SUFFIX
23647                     suffix to be applied to installed executables
23648
23649              --enable-library-vanilla
23650              --disable-library-vanilla
23651                     Vanilla libraries
23652
23653              -p, --enable-library-profiling
23654              --disable-library-profiling
23655                     Library profiling
23656
23657              --enable-shared
23658              --disable-shared
23659                     Shared library
23660
23661              --enable-static
23662              --disable-static
23663                     Static library
23664
23665              --enable-executable-dynamic
23666              --disable-executable-dynamic
23667                     Executable dynamic linking
23668
23669              --enable-profiling
23670              --disable-profiling
23671                     Executable and library profiling
23672
23673              --enable-executable-profiling
23674              --disable-executable-profiling
23675                     Executable profiling (DEPRECATED)
23676
23677              --profiling-detail level
23678                     Profiling  detail  level  for  executable   and   library
23679                     (default,  none,  exported-functions, toplevel-functions,
23680                     all-functions).
23681
23682              --library-profiling-detail level
23683                     Profiling detail level for libraries only.
23684
23685              -O, --enable-optimization, --enable-optimisation [n]
23686                     Build with optimization (n is 0--2, default is 1)
23687
23688              --disable-optimization, --disable-optimisation
23689                     Build without optimization
23690
23691              --enable-debug-info [n]
23692                     Emit debug info (n is 0--3, default is 0)
23693
23694              --disable-debug-info
23695                     Don't emit debug info
23696
23697              --enable-library-for-ghci
23698              --disable-library-for-ghci
23699                     compile library for use with GHCi
23700
23701              --enable-split-sections
23702              --disable-split-sections
23703                     compile library code such that unneeded  definitions  can
23704                     be dropped from the final executable (GHC 7.8+)
23705
23706              --enable-split-objs
23707              --disable-split-objs
23708                     split library into smaller objects to reduce binary sizes
23709                     (GHC 6.6+)
23710
23711              --enable-executable-stripping
23712              --disable-executable-stripping
23713                     strip executables  upon  installation  to  reduce  binary
23714                     sizes
23715
23716              --enable-library-stripping
23717              --disable-library-stripping
23718                     strip libraries upon installation to reduce binary sizes
23719
23720              --configure-option OPT
23721                     Extra option for configure
23722
23723              --user
23724              --global
23725                     doing a per-user installation
23726
23727              --package-db DB
23728                     Append  the given package database to the list of package
23729                     databases used  (to  satisfy  dependencies  and  register
23730                     into).  May  be  a specific file, 'global' or 'user'. The
23731                     initial  list  is  ['global'],  ['global',  'user'],   or
23732                     ['global',  $sandbox],  depending on context. Use 'clear'
23733                     to reset the list  to  empty.  See  the  user  guide  for
23734                     details.
23735
23736              -f, --flags FLAGS
23737                     Force values for the given flags in Cabal conditionals in
23738                     the .cabal file.  E.g.,  --flags="debug  -usebytestrings"
23739                     forces  the  flag "debug" to true and "usebytestrings" to
23740                     false.
23741
23742              --extra-include-dirs PATH
23743                     A list of directories to search for header files
23744
23745              --enable-deterministic
23746              --disable-deterministic
23747                     Try to be as deterministic as possible (used by the  test
23748                     suite)
23749
23750              --ipid IPID
23751                     Installed package ID to compile this package as
23752
23753              --cid CID
23754                     Installed component ID to compile this component as
23755
23756              --extra-lib-dirs PATH
23757                     A list of directories to search for external libraries
23758
23759              --extra-framework-dirs PATH
23760                     A  list  of directories to search for external frameworks
23761                     (OS X only)
23762
23763              --extra-prog-path PATH
23764                     A list of directories to search for required programs (in
23765                     addition to the normal search locations)
23766
23767              --instantiate-with NAME=MOD
23768                     A mapping of signature names to concrete module instanti‐
23769                     ations.
23770
23771              --enable-tests
23772              --disable-tests
23773                     dependency  checking  and  compilation  for  test  suites
23774                     listed in the package description file.
23775
23776              --enable-coverage
23777              --disable-coverage
23778                     build package with Haskell Program Coverage. (GHC only)
23779
23780              --enable-library-coverage
23781              --disable-library-coverage
23782                     build  package  with Haskell Program Coverage. (GHC only)
23783                     (DEPRECATED)
23784
23785              --enable-benchmarks
23786              --disable-benchmarks
23787                     dependency checking and compilation for benchmarks listed
23788                     in the package description file.
23789
23790              --enable-relocatable
23791              --disable-relocatable
23792                     building a package that is relocatable. (GHC only)
23793
23794              --disable-response-files
23795                     enable  workaround for old versions of programs like "ar"
23796                     that do not support @file arguments
23797
23798              --with-alex PATH
23799                     give the path to alex
23800
23801              --with-ar PATH
23802                     give the path to ar
23803
23804              --with-c2hs PATH
23805                     give the path to c2hs
23806
23807              --with-cpphs PATH
23808                     give the path to cpphs
23809
23810              --with-doctest PATH
23811                     give the path to doctest
23812
23813              --with-gcc PATH
23814                     give the path to gcc
23815
23816              --with-ghc PATH
23817                     give the path to ghc
23818
23819              --with-ghc-pkg PATH
23820                     give the path to ghc-pkg
23821
23822              --with-ghcjs PATH
23823                     give the path to ghcjs
23824
23825              --with-ghcjs-pkg PATH
23826                     give the path to ghcjs-pkg
23827
23828              --with-greencard PATH
23829                     give the path to greencard
23830
23831              --with-haddock PATH
23832                     give the path to haddock
23833
23834              --with-happy PATH
23835                     give the path to happy
23836
23837              --with-haskell-suite PATH
23838                     give the path to haskell-suite
23839
23840              --with-haskell-suite-pkg PATH
23841                     give the path to haskell-suite-pkg
23842
23843              --with-hmake PATH
23844                     give the path to hmake
23845
23846              --with-hpc PATH
23847                     give the path to hpc
23848
23849              --with-hsc2hs PATH
23850                     give the path to hsc2hs
23851
23852              --with-hscolour PATH
23853                     give the path to hscolour
23854
23855              --with-jhc PATH
23856                     give the path to jhc
23857
23858              --with-ld PATH
23859                     give the path to ld
23860
23861              --with-pkg-config PATH
23862                     give the path to pkg-config
23863
23864              --with-runghc PATH
23865                     give the path to runghc
23866
23867              --with-strip PATH
23868                     give the path to strip
23869
23870              --with-tar PATH
23871                     give the path to tar
23872
23873              --with-uhc PATH
23874                     give the path to uhc
23875
23876              --alex-option OPT
23877                     give an extra option to alex (no need  to  quote  options
23878                     containing spaces)
23879
23880              --ar-option OPT
23881                     give an extra option to ar (no need to quote options con‐
23882                     taining spaces)
23883
23884              --c2hs-option OPT
23885                     give an extra option to c2hs (no need  to  quote  options
23886                     containing spaces)
23887
23888              --cpphs-option OPT
23889                     give  an  extra option to cpphs (no need to quote options
23890                     containing spaces)
23891
23892              --doctest-option OPT
23893                     give an extra option to doctest (no need to quote options
23894                     containing spaces)
23895
23896              --gcc-option OPT
23897                     give  an  extra  option  to gcc (no need to quote options
23898                     containing spaces)
23899
23900              --ghc-option OPT
23901                     give an extra option to ghc (no  need  to  quote  options
23902                     containing spaces)
23903
23904              --ghc-pkg-option OPT
23905                     give an extra option to ghc-pkg (no need to quote options
23906                     containing spaces)
23907
23908              --ghcjs-option OPT
23909                     give an extra option to ghcjs (no need to  quote  options
23910                     containing spaces)
23911
23912              --ghcjs-pkg-option OPT
23913                     give  an  extra  option  to  ghcjs-pkg  (no need to quote
23914                     options containing spaces)
23915
23916              --greencard-option OPT
23917                     give an extra option  to  greencard  (no  need  to  quote
23918                     options containing spaces)
23919
23920              --haddock-option OPT
23921                     give an extra option to haddock (no need to quote options
23922                     containing spaces)
23923
23924              --happy-option OPT
23925                     give an extra option to happy (no need to  quote  options
23926                     containing spaces)
23927
23928              --haskell-suite-option OPT
23929                     give  an  extra option to haskell-suite (no need to quote
23930                     options containing spaces)
23931
23932              --haskell-suite-pkg-option OPT
23933                     give an extra option to  haskell-suite-pkg  (no  need  to
23934                     quote options containing spaces)
23935
23936              --hmake-option OPT
23937                     give  an  extra option to hmake (no need to quote options
23938                     containing spaces)
23939
23940              --hpc-option OPT
23941                     give an extra option to hpc (no  need  to  quote  options
23942                     containing spaces)
23943
23944              --hsc2hs-option OPT
23945                     give  an extra option to hsc2hs (no need to quote options
23946                     containing spaces)
23947
23948              --hscolour-option OPT
23949                     give an extra  option  to  hscolour  (no  need  to  quote
23950                     options containing spaces)
23951
23952              --jhc-option OPT
23953                     give  an  extra  option  to jhc (no need to quote options
23954                     containing spaces)
23955
23956              --ld-option OPT
23957                     give an extra option to ld (no need to quote options con‐
23958                     taining spaces)
23959
23960              --pkg-config-option OPT
23961                     give  an  extra  option  to  pkg-config (no need to quote
23962                     options containing spaces)
23963
23964              --runghc-option OPT
23965                     give an extra option to runghc (no need to quote  options
23966                     containing spaces)
23967
23968              --strip-option OPT
23969                     give  an  extra option to strip (no need to quote options
23970                     containing spaces)
23971
23972              --tar-option OPT
23973                     give an extra option to tar (no  need  to  quote  options
23974                     containing spaces)
23975
23976              --uhc-option OPT
23977                     give  an  extra  option  to uhc (no need to quote options
23978                     containing spaces)
23979
23980              --alex-options OPTS
23981                     give extra options to alex
23982
23983              --ar-options OPTS
23984                     give extra options to ar
23985
23986              --c2hs-options OPTS
23987                     give extra options to c2hs
23988
23989              --cpphs-options OPTS
23990                     give extra options to cpphs
23991
23992              --doctest-options OPTS
23993                     give extra options to doctest
23994
23995              --gcc-options OPTS
23996                     give extra options to gcc
23997
23998              --ghc-options OPTS
23999                     give extra options to ghc
24000
24001              --ghc-pkg-options OPTS
24002                     give extra options to ghc-pkg
24003
24004              --ghcjs-options OPTS
24005                     give extra options to ghcjs
24006
24007              --ghcjs-pkg-options OPTS
24008                     give extra options to ghcjs-pkg
24009
24010              --greencard-options OPTS
24011                     give extra options to greencard
24012
24013              --haddock-options OPTS
24014                     give extra options to haddock
24015
24016              --happy-options OPTS
24017                     give extra options to happy
24018
24019              --haskell-suite-options OPTS
24020                     give extra options to haskell-suite
24021
24022              --haskell-suite-pkg-options OPTS
24023                     give extra options to haskell-suite-pkg
24024
24025              --hmake-options OPTS
24026                     give extra options to hmake
24027
24028              --hpc-options OPTS
24029                     give extra options to hpc
24030
24031              --hsc2hs-options OPTS
24032                     give extra options to hsc2hs
24033
24034              --hscolour-options OPTS
24035                     give extra options to hscolour
24036
24037              --jhc-options OPTS
24038                     give extra options to jhc
24039
24040              --ld-options OPTS
24041                     give extra options to ld
24042
24043              --pkg-config-options OPTS
24044                     give extra options to pkg-config
24045
24046              --runghc-options OPTS
24047                     give extra options to runghc
24048
24049              --strip-options OPTS
24050                     give extra options to strip
24051
24052              --tar-options OPTS
24053                     give extra options to tar
24054
24055              --uhc-options OPTS
24056                     give extra options to uhc
24057
24058              --cabal-lib-version VERSION
24059                     Select which version of the Cabal lib  to  use  to  build
24060                     packages (useful for testing).
24061
24062              --constraint CONSTRAINT
24063                     Specify    constraints    on    a    package    (version,
24064                     installed/source, flags)
24065
24066              --preference CONSTRAINT
24067                     Specify preferences (soft constraints) on the version  of
24068                     a package
24069
24070              --solver SOLVER
24071                     Select  dependency  solver  to  use  (default:  modular).
24072                     Choices: modular.
24073
24074              --allow-older [DEPS]
24075                     Ignore lower bounds in all dependencies or DEPS
24076
24077              --allow-newer [DEPS]
24078                     Ignore upper bounds in all dependencies or DEPS
24079
24080
24081       cabal sandbox
24082
24083       Usage: cabal sandbox init          [FLAGS]
24084          or: cabal sandbox delete        [FLAGS]
24085          or: cabal sandbox add-source    [FLAGS] PATHS
24086          or: cabal sandbox delete-source [FLAGS] PATHS
24087          or: cabal sandbox list-sources  [FLAGS]
24088          or: cabal sandbox hc-pkg        [FLAGS] [--] COMMAND [--] [ARGS]
24089
24090
24091       Sandboxes are isolated package databases that can be  used  to  prevent
24092       dependency  conflicts  that  arise  when  many  different  packages are
24093       installed in the same database (i.e. the user's database  in  the  home
24094       directory).
24095
24096       A  sandbox in the current directory (created by `sandbox init`) will be
24097       used instead of the user's database for commands such as `install`  and
24098       `build`.  Note  that (a directly invoked) GHC will not automatically be
24099       aware of sandboxes; only if called via appropriate cabal commands, e.g.
24100       `repl`, `build`, `exec`.
24101
24102       Currently,  cabal  will  not  search for a sandbox in folders above the
24103       current one, so cabal will not see the sandbox if you  are  in  a  sub‐
24104       folder of a sandbox.
24105
24106       Subcommands:
24107
24108       init:
24109         Initialize  a  sandbox  in the current directory. An existing package
24110       database
24111         will not be modified, but settings (such as the location of the data‐
24112       base)
24113         can be modified this way.
24114
24115       delete:
24116         Remove the sandbox; deleting all the packages installed inside.
24117
24118       add-source:
24119         Make  one  or more local packages available in the sandbox. PATHS may
24120       be
24121         relative or absolute. Typical usecase is when  you  need  to  make  a
24122       (temporary)
24123         modification to a dependency: You download the package into a differ‐
24124       ent
24125         directory, make the modification, and add that directory to the sand‐
24126       box with
24127         `add-source`.
24128
24129         Unless given `--snapshot`, any add-source'd dependency that was modi‐
24130       fied
24131         since the last build will be re-installed automatically.
24132
24133       delete-source:
24134         Remove an add-source dependency; however, this will not delete the
24135         package(s) that have been installed in the sandbox from  this  depen‐
24136       dency. You
24137         can either unregister the package(s) via `cabal sandbox hc-pkg
24138         unregister`  or  re-create  the  sandbox  (`sandbox  delete;  sandbox
24139       init`).
24140
24141       list-sources:
24142         List the directories of local  packages  made  available  via  `cabal
24143       sandbox
24144         add-source`.
24145
24146       hc-pkg:
24147         Similar  to  `ghc-pkg`,  but for the sandbox package database. Can be
24148       used to
24149         list specific/all packages that are installed in the sandbox. For
24150         subcommands, see the help for ghc-pkg. Affected by the compiler  ver‐
24151       sion
24152         specified by `configure`.
24153
24154
24155
24156       Relevant global configuration keys:
24157         require-sandbox
24158         ignore-sandbox
24159
24160       Examples:
24161         Set up a sandbox with one local dependency, located at ../foo:
24162           cabal sandbox init
24163           cabal sandbox add-source ../foo
24164           cabal install --only-dependencies
24165         Reset the sandbox:
24166           cabal sandbox delete
24167           cabal sandbox init
24168           cabal install --only-dependencies
24169         List the packages in the sandbox:
24170           cabal sandbox hc-pkg list
24171         Unregister the `broken` package from the sandbox:
24172           cabal sandbox hc-pkg -- --force unregister broken
24173
24174       The sandbox command is a part of the legacy v1 style of cabal usage.
24175
24176       Please switch to using either the new project style and the new-sandbox
24177       command or the legacy  v1-sandbox  alias  as  new-style  projects  will
24178       become  the default in the next version of cabal-install. Please file a
24179       bug if you cannot replicate a working v1- use case with  the  new-style
24180       commands.
24181
24182       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
24183
24184
24185       Flags:
24186              -v, --verbose [n]
24187                     Control  verbosity (n is 0--3, default verbosity level is
24188                     1)
24189
24190              --snapshot
24191                     Take a snapshot instead of creating a link (only  applies
24192                     to 'add-source')
24193
24194              --sandbox DIR
24195                     Sandbox location (default: './.cabal-sandbox').
24196
24197
24198       cabal v1-sandbox
24199
24200       Usage: cabal v1-sandbox init          [FLAGS]
24201          or: cabal v1-sandbox delete        [FLAGS]
24202          or: cabal v1-sandbox add-source    [FLAGS] PATHS
24203          or: cabal v1-sandbox delete-source [FLAGS] PATHS
24204          or: cabal v1-sandbox list-sources  [FLAGS]
24205          or: cabal v1-sandbox hc-pkg        [FLAGS] [--] COMMAND [--] [ARGS]
24206
24207
24208       Sandboxes  are  isolated  package databases that can be used to prevent
24209       dependency conflicts  that  arise  when  many  different  packages  are
24210       installed  in  the  same database (i.e. the user's database in the home
24211       directory).
24212
24213       A sandbox in the current directory (created by `v1-sandbox init`)  will
24214       be   used   instead  of  the  user's  database  for  commands  such  as
24215       `v1-install` and `v1-build`. Note that (a directly  invoked)  GHC  will
24216       not automatically be aware of sandboxes; only if called via appropriate
24217       cabal commands, e.g. `v1-repl`, `v1-build`, `v1-exec`.
24218
24219       Currently, cabal will not search for a sandbox  in  folders  above  the
24220       current  one,  so  cabal  will not see the sandbox if you are in a sub‐
24221       folder of a sandbox.
24222
24223       Subcommands:
24224
24225       init:
24226         Initialize a sandbox in the current directory.  An  existing  package
24227       database
24228         will not be modified, but settings (such as the location of the data‐
24229       base)
24230         can be modified this way.
24231
24232       delete:
24233         Remove the sandbox; deleting all the packages installed inside.
24234
24235       add-source:
24236         Make one or more local packages available in the sandbox.  PATHS  may
24237       be
24238         relative  or  absolute.  Typical  usecase  is when you need to make a
24239       (temporary)
24240         modification to a dependency: You download the package into a differ‐
24241       ent
24242         directory, make the modification, and add that directory to the sand‐
24243       box with
24244         `add-source`.
24245
24246         Unless given `--snapshot`, any add-source'd dependency that was modi‐
24247       fied
24248         since the last build will be re-installed automatically.
24249
24250       delete-source:
24251         Remove an add-source dependency; however, this will not delete the
24252         package(s)  that  have been installed in the sandbox from this depen‐
24253       dency. You
24254         can either unregister the package(s) via `cabal v1-sandbox hc-pkg
24255         unregister` or re-create the sandbox (`v1-sandbox delete;  v1-sandbox
24256       init`).
24257
24258       list-sources:
24259         List  the  directories  of  local  packages made available via `cabal
24260       v1-sandbox
24261         add-source`.
24262
24263       hc-pkg:
24264         Similar to `ghc-pkg`, but for the sandbox package  database.  Can  be
24265       used to
24266         list specific/all packages that are installed in the sandbox. For
24267         subcommands,  see the help for ghc-pkg. Affected by the compiler ver‐
24268       sion
24269         specified by `v1-configure`.
24270
24271
24272
24273       Relevant global configuration keys:
24274         require-sandbox
24275         ignore-sandbox
24276
24277       Examples:
24278         Set up a sandbox with one local dependency, located at ../foo:
24279           cabal v1-sandbox init
24280           cabal v1-sandbox add-source ../foo
24281           cabal v1-install --only-dependencies
24282         Reset the sandbox:
24283           cabal v1-sandbox delete
24284           cabal v1-sandbox init
24285           cabal v1-install --only-dependencies
24286         List the packages in the sandbox:
24287           cabal v1-sandbox hc-pkg list
24288         Unregister the `broken` package from the sandbox:
24289           cabal v1-sandbox hc-pkg -- --force unregister broken
24290
24291       The v1-sandbox command is a part of the legacy v1 style of cabal usage.
24292
24293       It is a legacy feature and will be  removed  in  a  future  release  of
24294       cabal-install.  Please file a bug if you cannot replicate a working v1-
24295       use case with the new-style commands.
24296
24297       For more information, see: https://wiki.haskell.org/Cabal/NewBuild
24298
24299
24300       Flags:
24301              -v, --verbose [n]
24302                     Control verbosity (n is 0--3, default verbosity level  is
24303                     1)
24304
24305              --snapshot
24306                     Take  a snapshot instead of creating a link (only applies
24307                     to 'add-source')
24308
24309              --sandbox DIR
24310                     Sandbox location (default: './.cabal-sandbox').
24311
24312
24313

FILES

24315       ~/.cabal/config
24316              The defaults that can be overridden with command-line options.
24317
24318       ~/.cabal/world
24319              A list of all packages whose installation  has  been  explicitly
24320              requested.
24321
24322

BUGS

24324       To  browse  the  list  of  known  issues or report a new one please see
24325       https://github.com/haskell/cabal/labels/cabal-install.
24326
24327
24328
24329
24330                                                                      CABAL(1)
Impressum