| Flag | Description | Packages |
|---|---|---|
| big-endian | When manually selecting the endianness, use big-endian (default is little-endian). | 2 |
| binary | Use binary protocol encoding via postgresql-binary. This may put additional restrictions on supported PostgreSQL server versions. | 5 |
| dbus | Publish a service on the session bus for controlling xmobar. | 3 |
| debug | Enable the extra internal checks. | 21 |
| doc | 3 | |
| emacs | 2 | |
| embed-files | Embed data files into the shake library | 2 |
| executable | build executable file | 44 |
| ffi | Enable the foreign function interface | 2 |
| hls_plugins_fourmolu | Enable fourmolu plugin | 0 |
| hls_plugins_ormolu | Enable ormolu plugin | 0 |
| hls_plugins_stan | Enable stan plugin | 0 |
| hoogle | generate hoogle database for dev-haskell/hoogle | 0 |
| http | Support for fetching resources using HTTP. | 2 |
| llvm | Pull in dependencies for the <pkg>llvm-core/llvm</pkg> codegen backend. | 2 |
| profile | Enable profiling flags | 5 |
| repl | Include support for running a pandoc Lua repl. | 2 |
| server | Include support for running pandoc as an HTTP server. | 3 |
| symlink | Create a symlink to "elm", instead of just installing "elm-bin" binary. | 2 |
| terminfo | Use the terminfo package for POSIX consoles. | 2 |
| test | Enables the hadrian selftest rules which require QuickCheck. Disabling it thus saves on a few dependencies which can be problematic when bootstrapping. | 15 |
| threaded | Run benchmarks with threaded backend. | 5 |
| threads | Enable threading and rtsopts | 5 |
| tls | Enable TLS (SSL) support in PostgreSQL server connections. | 2 |
| Flag | Description | Packages |
|---|---|---|
| aeson | You can disable the use of the `aeson` package using `-f-aeson`. This may be useful for accelerating builds in sandboxes for expert users. | 3 |
| benchpapi | Enable building of benchmarks which use instruction counters. It requires libpapi and only works on Linux so it's protected by flag | 2 |
| binary-laws | Include infrastructure for testing class laws of binary type constructors. It is required that this flag match the value that the `unary-laws` flag was given when building `quickcheck-classes-base`. Disabling `unary-laws` while keeping `binary-laws` enabled is an unsupported configuration. | 2 |
| bounds-checking | if on, use bounds-checking array accesses | 2 |
| boundschecks | Enable bounds checking | 2 |
| buildexamples | Build test executables. | 6 |
| cairo | Enable the cairo backend | 2 |
| comonad | You can disable the use of the `comonad` package using `-f-comonad`. This may be useful for accelerating builds in sandboxes for expert users. | 2 |
| cpu_flags_x86_aes | 3 | |
| cpu_flags_x86_rdrand | 2 | |
| cpu_flags_x86_sse2 | 2 | |
| crypton | Use the [crypton] library as the cryptographic backend. (Does nothing since version 3.1.0.0; might be removed in a future major version) | 3 |
| demos | Build demonstration programs | 2 |
| dev | Development build | 4 |
| devel | Development commands | 5 |
| dump | dump core, stg and cmm to files | 2 |
| embed-data-files | Embed data files into the executable (needed for ghcjs packaging) | 3 |
| example | Build the example application | 2 |
| examples | compile (and install) the example programs | 63 |
| exe | Build executable | 4 |
| fmode-binary | Set the default file translation mode for file I/O operations to _O_BINARY. Some GTK libraries open image files without specifing binary mode. If you have trouble loading gtk in ghci, then it may help to turn this option off. | 2 |
| ghc-lib | Force dependency on ghc-lib-parser even if GHC API in the ghc package is supported | 2 |
| gio | Depend on GIO package, thereby enabling certain features. | 2 |
| gstreamer | 2 | |
| hashable | You can disable the use of the `hashable` package using `-f-hashable`. Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. If disabled we will not supply an instance of `Hashable`. | 2 |
| integer-gmp | Whether or not to use GMP for some functions | 2 |
| internal-bundle-fixities | An internal ad-hoc flag that is enabled by default, Ormolu Live disables it due to missing WASM TH support. | 2 |
| internal-dev | DO NOT USE, ONLY FOR INTERNAL USE. | 2 |
| internal-use-unliftio | DO NOT USE, ONLY FOR INTERNAL USE. | 2 |
| internalchecks | Enable internal consistency checks at the cost of a significant performance penalty | 2 |
| limit-build-mem | Limits memory when building | 2 |
| lukko | Use @lukko@ for file-locking | 2 |
| maintainer | Enable settings for the package maintainer. | 2 |
| network-uri | Get Network.URI from the network-uri package rather than the full network package. | 2 |
| optimize | Enable optimizations | 3 |
| parsec | Add support for parsing with Parsec. | 2 |
| pedantic | Pass additional warning flags and -Werror to GHC. | 2 |
| rasterific | Enable the Haskell-native Rasterific backend | 2 |
| semigroupoids | You can disable the use of the `semigroupoids` package using `-f-semigroupoids`. | 4 |
| semirings | You can disable the use of the `semirings` package using `-f-semirings`. This may be useful for accelerating builds in sandboxes for expert users. | 3 |
| static | 2 | |
| sumtypes | Enable support for non-recursive sum types. | 2 |
| svg | Build the Scalable Vector Graphics (SVG) backend of Cairo. | 4 |
| tagged | You can disable the use of the `tagged` package using `-f-tagged`. Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. | 6 |
| target-attributes | use GCC / clang function attributes instead of global target options. | 2 |
| template-haskell | Enable the use of and export Template Haskell functionality. (Might need to disable this for cross-compiling.) | 6 |
| test-hlint | Enable test suite that checks sources using HLint. | 2 |
| text | Provide instances for text | 3 |
| tools | Build associated tools (in general you won't need this) | 2 |
| unary-laws | Include infrastructure for testing class laws of unary type constructors. It is required that this flag match the value that the `unary-laws` flag was given when building `quickcheck-classes-base`. | 2 |
| unittests | You can disable testing with unittests using `-f-unittests`. | 2 |
| unliftio | Use unliftio-core instead of monad-control | 2 |
| unsafechecks | Enable bounds checking in unsafe operations at the cost of a significant performance penalty | 2 |
| vector | Provide instances for vector | 4 |
| workaround-ghc-mmap-crash | Only use this flag when hit by GHC bug #19421. See clash-compiler PR #2444. | 3 |
| Flag | Description | Packages |
|---|---|---|
| alsa | Use alsa-mixer to get the volume from soundcards. | 2 |
| mpd | MPD support. Needs libmpd installed. | 2 |
| Flag | Description |
|---|---|
| type-errors | Build with type-errors library for better error messages and less memory use |
| Flag | Description |
|---|---|
| lua | Support custom modifications and conversions with the pandoc Lua scripting engine. |
| nightly | Add '-nightly-COMPILEDATE' to the output of '--version'. |
| Flag | Description |
|---|---|
| usecas | Enable the reference implementation to use hardware compare-and-swap. |
| Flag | Description |
|---|---|
| cffi | Controls whether to include c-ffi bits or pure haskell. Default to False for security. |
| ordered-keymap | Use ordered @Data.Map.Strict@ for KeyMap implementation. |
| Flag | Description |
|---|---|
| build-binaries | Build the binaries |
| Flag | Description |
|---|---|
| cross | Set this flag if cross-compiling |
| Flag | Description |
|---|---|
| modifyfilter | Use native event filter functions that are provided by newer ALSA versions |
| Flag | Description |
|---|---|
| non-optimised-c | Force use of non-optimised C routines on @x86_64@. Ineffective when @use-system-library@ flag is active. |
| pkg-config | Use @pkg-config(1)@ to discover system-library location & flags. __NOTE__: This has an effect only when the @use-system-library@ flag is also enabled. |
| system-library | Link against system @libargon2@ library rather than using embedded copy of @libargon2@. See also @pkg-config@ flag. |
| Flag | Description |
|---|---|
| no-cmm | Don't use cmm implementation |
| Flag | Description |
|---|---|
| ghcipretty | Enable pretty-show for pretty-printing purposes |
| Flag | Description |
|---|---|
| charts | Build the modules that provide charting functionality |
| colors | Use pretty printing with colors |
| Flag | Description |
|---|---|
| X | Linux only. Determines whether to target the X11 display server. |
| exposenative | Whether or not to use the native access functions. |
| osmesa | Determines whether or not to use the Mesa 3D rendering context. |
| Flag | Description |
|---|---|
| fclip | Build the 'fclip' executable. |
| flower | Build the 'flower' executable. |
| frecover | Build the 'frecover' executable. |
| Flag | Description |
|---|---|
| withquickcheck | Build with QuickCheck test. Note that Show instances will be different. |
| Flag | Description |
|---|---|
| simd | Use a C SIMD implementation for the ultimate performance of `zipBits`, `invertBits` and `countBits`. Disable this flag if there are problems with the C FFI. |
| Flag | Description |
|---|---|
| sync | Benchmarks synchronisation primitives used in main benchmark. |
| Flag | Description |
|---|---|
| checked | Add bounds-checking to primitive array operations |
| Flag | Description |
|---|---|
| system-bzip2 | Use system bzip2 instead of bundled sources |
| Flag | Description |
|---|---|
| regression | Enable regression suite build. |
| Flag | Description |
|---|---|
| debug-conflict-sets | Add additional information to ConflictSets |
| native-dns | Enable use of the [resolv](https://hackage.haskell.org/package/resolv) & [windns](https://hackage.haskell.org/package/windns) packages for performing DNS lookups |
| Flag | Description |
|---|---|
| license-report | Enable @license-report@ sub-command (only relevant when the @exe@ flag is active) |
| underline | Enable underlining of primary unit-ids |
| Flag | Description |
|---|---|
| curl | Use curl library to query Stackage instead of http-client |
| Flag | Description |
|---|---|
| color-output | use colors in program output |
| Flag | Description |
|---|---|
| representable | Define Representable instance from adjunctions package |
| Flag | Description |
|---|---|
| cpu_flags_x86_ssse3 |
| Flag | Description |
|---|---|
| icu | Use Haskell bindings to the ICU library |
| Flag | Description |
|---|---|
| haddock | Work-around haddock bug on GHC 8.6.* |
| nix | Are we building this package from nix |
| Flag | Description |
|---|---|
| dynamic | Build Clash binaries with GHC flag `-dynamic`. This flag should only be used for packaging purposes. Installations using cabal should use `--enable-executable-dynamic`! |
| ghc-paths | Locate the GHC core libraries using the `ghc-paths` package. Note: this flag may make binaries less relocatable, by hard-coding an absolute path to the core libraries. |
| Flag | Description |
|---|---|
| system-cmark | use |
| Flag | Description |
|---|---|
| quotation | Build the Quote module |
| Flag | Description |
|---|---|
| indexed-traversable | You can disable the use of the `indexed-traversable` package using `-f-indexed-traversable`. Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. If disabled we will not supply instances of `FunctorWithIndex` |
| Flag | Description |
|---|---|
| semigroups | You can disable the use of the `semigroups` package using `-f-semigroups`. Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. |
| statevar | You can disable the use of the `StateVar` package using `-f-StateVar`. Disabling this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. |
| Flag | Description |
|---|---|
| generate | Build generate executable? |
| Flag | Description |
|---|---|
| all-cpolys | Build all the CMAC polynomes up to 10000 bits instead of just the usual ones |
| Flag | Description |
|---|---|
| check-alignment | extra check on alignment in C layers, which cause lowlevel assert errors. for debugging only. |
| cpu_flags_x86_pclmul | |
| old-toolchain-inliner | use -fgnu89-inline to workaround an old compiler / linker / glibc issue. |
| Flag | Description |
|---|---|
| cpu_flags_x86_sse | |
| cpu_flags_x86_sse4_1 |
| Flag | Description |
|---|---|
| canvas | Enable the Haskell-native Canvas backend |
| gtk | Enable the GTK backend |
| postscript | Enable the Haskell-native PostScript backend |
| Flag | Description |
|---|---|
| pgf | install PGF-specific builder tool |
| Flag | Description |
|---|---|
| werror | Enable -Werror |
| Flag | Description |
|---|---|
| cabal-doctest | Install (experimental) cabal-doctest executable |
| Flag | Description |
|---|---|
| attoparsecaeson | Build attoparsec-aeson. |
| Flag | Description |
|---|---|
| benchmark-foreign-libraries | Include other effect libraries in the benchmarks. |
| Flag | Description |
|---|---|
| generate-encodings | Generate encodings. |
| Flag | Description |
|---|---|
| donotgetentropy | Avoid use of the getentropy() *nix function. By default getentropy will be used if detected during compilation (this plays poorly with cross compilation). |
| Flag | Description |
|---|---|
| barbies | "define instances for barbies" |
| cassava | "define instances for cassava" |
| islabel | "export the instance of IsLabel making optics (which could conflict with other packages such as generic-lens)" |
| Flag | Description |
|---|---|
| maxcount | Make use of a recent (>= 2.3.0) Darcs feature which vastly improves the performance of 'latest'. You should disable this flag if you plan to use gitit with an older version of Darcs, or 'latest' will raise an error. |
| Flag | Description |
|---|---|
| useghctypelits | GHC.TypeLits module |
| Flag | Description |
|---|---|
| experimental | Enable building experimental features, known as highly unstable or without good support cross-platform |
| Flag | Description |
|---|---|
| executables | Install executables |
| Flag | Description |
|---|---|
| analysis | Build with statistical analysis support |
| Flag | Description |
|---|---|
| jpeg | |
| png |
| Flag | Description |
|---|---|
| package-abis | record package abis at compile time for improved precision (requires compile-time TH) |
| Flag | Description |
|---|---|
| eras | Enable eras |
| trace | Enable tracing |
| Flag | Description |
|---|---|
| prim-supports-any | The used GHC supports Any as an argument to foreign prim functions (GHC ticket #5931) |
| Flag | Description |
|---|---|
| deverror | Enables `-Werror` for development mode and TravisCI |
| Flag | Description |
|---|---|
| test-exe | Build the ghcide-test-preprocessor executable |
| test-lib | Build the ghcide-test-utils library |
| Flag | Description |
|---|---|
| system-glfw | use <pkg>media-libs/glfw</pkg> instead of bundled version |
| Flag | Description |
|---|---|
| closure-signals | Use the the GClosure-based signals 		implementation. |
| Flag | Description |
|---|---|
| glfw | Enable the GLFW backend |
| glut | Enable the GLUT backend |
| Flag | Description |
|---|---|
| executepipe | Avoid a temporary script by running with runInteractiveProcess. |
| executeshell | Avoid a temporary script by calling via a UNIX shell and its piping syntax. |
| Flag | Description |
|---|---|
| use-maps | Use IntMap instead of mutable arrays. |
| Flag | Description |
|---|---|
| deprecated | Include definitions in this library that are considered obsolete. |
| Flag | Description |
|---|---|
| closuresignals | Use the the GClosure-based signals implementation. |
| Flag | Description |
|---|---|
| vanilla | Disable ALL patches. Only to be used for building non-Gentoo GHC. |
| Flag | Description |
|---|---|
| buildwebsite | Build the hakyll website |
| checkexternal | Include external link checking |
| previewserver | Include the preview server |
| usepandoc | Include Pandoc support |
| watchserver | Include the watch server |
| Flag | Description |
|---|---|
| tests | Build the testsuite, and include the tests in the library. |
| Flag | Description |
|---|---|
| random-initial-seed | 		Randomly initialize the seed on every executable invocation. This 		is not a security feature and is intended only for testing (it 		can affect legitimate use cases). 		 |
| Flag | Description |
|---|---|
| cpu_flags_x86_sse4_2 | |
| detailed-profiling | add detailed profiling information to profiled build-depends |
| Flag | Description |
|---|---|
| ghcide-bench | Build the ghcide-bench executable |
| ghcide-bench-lib | Build the ghcide-bench-lib library |
| ghcide-test-exe | Build the ghcide-test-preprocessor executable |
| hls_plugins_alternate-number-format | Enable Alternate Number Format plugin |
| hls_plugins_cabal | Enable cabal plugin |
| hls_plugins_cabal-fmt | Enable cabalfmt plugin |
| hls_plugins_cabal-gild | Enable cabalgild plugin |
| hls_plugins_call-hierarchy | Enable callHierarchy plugin |
| hls_plugins_change-type-signature | Change a declarations type signature with a Code Action |
| hls_plugins_class | Enable class plugin |
| hls_plugins_code-range | Enable codeRange plugin |
| hls_plugins_eval | Enable eval plugin |
| hls_plugins_explicit-fields | Enable explicit-fields plugin |
| hls_plugins_explicit-fixity | Enable explicit-fixity plugin |
| hls_plugins_floskell | Enable floskell plugin |
| hls_plugins_gadt | Enable GADT plugin |
| hls_plugins_hlint | Enable hlint plugin |
| hls_plugins_import-lens | Enable importLens plugin |
| hls_plugins_module-name | Enable moduleName plugin |
| hls_plugins_notes | Enable notes plugin |
| hls_plugins_overloaded-record-dot | Enable overloadedRecordDot plugin |
| hls_plugins_pragmas | Enable pragmas plugin |
| hls_plugins_qualify-imported-names | Enable qualifyImportedNames plugin |
| hls_plugins_refactor | Enable refactor plugin |
| hls_plugins_rename | Enable rename plugin |
| hls_plugins_retrie | Enable retrie plugin |
| hls_plugins_semantic-tokens | Enable semanticTokens plugin |
| hls_plugins_splice | Enable splice plugin |
| hls_plugins_stylish-haskell | Enable stylishHaskell plugin |
| Flag | Description |
|---|---|
| splitbase | Choose the new smaller, split-up package. |
| Flag | Description |
|---|---|
| primitive | You can disable the use of the `primitive` package using `-f-primitive`. This may be useful for accelerating builds in sandboxes for expert users. |
| Flag | Description |
|---|---|
| disable-chart | Disable Chart-diagrams and Chart for a lighter dependency footprint |
| Flag | Description |
|---|---|
| externallibsass | Use LibSass that is installed in the system |
| sharedlibsass | Build LibSass as a shared library (only if external_libsass = False) |
| Flag | Description |
|---|---|
| gpl | Use GPL libraries, specifically hscolour |
| hsyaml | Use HsYAML instead of yaml |
| Flag | Description |
|---|---|
| stm-stats | Collect STM transaction stats |
| Flag | Description |
|---|---|
| fingertree | Use fingertree implementation of RangeMap |
| Flag | Description |
|---|---|
| no-random-r | When enabled, hmatrix will not depend on the random_r() C function, it is needed for musl libc support. |
| Flag | Description |
|---|---|
| bounded-memory | Run tests of constant memory use (requires +RTS -T) |
| Flag | Description |
|---|---|
| build-exec | Build the `hps-fractals` executable |
| Flag | Description |
|---|---|
| iconv | Enable encoding conversion of the User Comment tag with iconv. It's a nice thing to have but iconv is difficult to install on windows. |
| Flag | Description |
|---|---|
| fast-bignum | Enable fast moving of bignums between OpenSSL and GMP (GHC and OpenSSL version < 1.1.0 only). |
| Flag | Description |
|---|---|
| install-examples | Build and install example programs |
| Flag | Description |
|---|---|
| text-show | Use text-show library for efficient ToHttpApiData implementations. |
| Flag | Description |
|---|---|
| test-proxy | Test with http-proxy |
| Flag | Description |
|---|---|
| embed | Embed data in library binary (Warning: This increases the executable size by about 1Mb unless unneeded language data files are manually removed from the "data" directory before compiling) |
| Flag | Description |
|---|---|
| without-pcre | Disable pcre support |
| Flag | Description |
|---|---|
| hlint | Include HLint support |
| Flag | Description |
|---|---|
| network | Include network support |
| zlib | Include zlib support |
| Flag | Description |
|---|---|
| benchmarks | Build the jmacro-bench executable |
| Flag | Description |
|---|---|
| doctest | doctest |
| Flag | Description |
|---|---|
| call-stacks | Include HasCallStack constraint on calls unchecked calls |
| check-unchecked | Fail unchecked calls when they are called (rather than when the result is evaluated) |
| Flag | Description |
|---|---|
| mapdict | Encode Haskell maps as JSON dicts |
| pretty | Add support for using pretty printing combinators. |
| Flag | Description |
|---|---|
| unsafe | Compile the library without locks. Code may be faster, but not threadsafe. |
| Flag | Description |
|---|---|
| mmap | Enable the file loading via mmap (memory map) |
| Flag | Description |
|---|---|
| full-haskell-antiquotes | Support full Haskell expressions/patterns in antiquotes |
| Flag | Description |
|---|---|
| buildtests | Build the executable to run unit tests. |
| Flag | Description |
|---|---|
| ghc-bundled-libffi | When GHC is configured without @--with-system-libffi@, it will bundle its own copies of @libffi@, one of them statically linked and the other dynamically linked. This flag will force linking against the static copy of @libffi@ that GHC bundles. This avoids a GHC bug (https://gitlab.haskell.org/ghc/ghc/-/issues/15397) that can arise when the linker confuses the system's dynamic @libffi@ with GHC's own dynamic @libffi@. Note that this flag only works when GHC is configured without the @--with-system-libffi@ option. This is the case for most GHC binary distributions, such as those provided by @ghcup@. If you are using a GHC that was configured with @--with-system-libffi@, however, you will need to disable this option and link against the system's version of @libffi@ instead. |
| Flag | Description |
|---|---|
| system-libyaml | Use the system-wide libyaml instead of the bundled copy |
| unicode | Enable unicode output. Otherwise, unicode characters will be escaped. |
| Flag | Description |
|---|---|
| link-z3-as-a-library | link z3 as a library for faster interactions with the SMT solver |
| Flag | Description |
|---|---|
| deterministic-profiling | 			Support building against GHC with <https://phabricator.haskell.org/D4388> backported 		 |
| mirror-modules-helper | Build the "mirror-modules" helper executable. |
| no-plugin | Use the legacy executable for testing. |
| Flag | Description |
|---|---|
| useffi | Use FFI to link C's log1p. Improves accuracy while maintaining the same performance. Disable only if your compiler doesn't support FFI. |
| Flag | Description |
|---|---|
| rely-on-shared-lpeg-library | Do not build lpeg from source, but trust that lpeg is made available in other ways, e.g., through a system-wide installation. The loader will be replaced with a placeholder function that only emits a message. |
| Flag | Description |
|---|---|
| system-lua | Use @pkg-config@ to discover library and include paths. Setting this flag implies `pkg-config`. |
| Flag | Description |
|---|---|
| pkgconfig | Use @pkgconfig@ on unix system to find @liblzma@ |
| Flag | Description |
|---|---|
| unsafe-checks | Enable all the bounds checks for unsafe functions at the cost of performance penalty |
| Flag | Description |
|---|---|
| jsstring-only | Always set MisoString = JSString |
| Flag | Description |
|---|---|
| ibus | enable ibus example |
| pulseaudio | enable pulse example (7.6 disabled because travis) |
| Flag | Description |
|---|---|
| json | Build optional Data.Text.JSON module with JSON Named style support |
| Flag | Description |
|---|---|
| gles | Build for GLES3. This deactivates GL3 support. |
| truetype | Use freetype instead of bundled stb_truetype. |
| Flag | Description |
|---|---|
| small-base | Build the split-up base package. |
| Flag | Description |
|---|---|
| bytestring | Provide instances for bytestring |
| Flag | Description |
|---|---|
| link | Link against OpenCL library. |
| Flag | Description |
|---|---|
| explicit-generic-labels | Require explicit GenericLabelOptics instances in order to use generics-based labels |
| Flag | Description |
|---|---|
| build-example | Build the example executable |
| Flag | Description |
|---|---|
| unsafe-operations | Use unsafe operations (e.g. coercions) to improve performance |
| Flag | Description |
|---|---|
| verbose-tests | Add extra noise to QuickCheck tests (label with test strings) |
| Flag | Description |
|---|---|
| parsec1 | use <pkg>dev-haskell/parsec1</pkg> instead of <pkg>dev-haskell/parsec</pkg> |
| Flag | Description |
|---|---|
| attoparsec | You can disable the use of the `attoparsec` package using `-f-attoparsec`. |
| Flag | Description |
|---|---|
| argon2 | Compile with Argon2 support? |
| bcrypt | Compile with bcrypt support? |
| cryptonite | Use the [cryptonite] library as the cryptographic backend. |
| pbkdf2 | Compile with PBKDF2 support? |
| scrypt | Compile with scrypt support? |
| Flag | Description |
|---|---|
| high-precision-date | for MongoDB use a time storage with nano second precision. |
| Flag | Description |
|---|---|
| build-sanity-exe | Build a sanity check test executable |
| Flag | Description |
|---|---|
| kan-extensions | You can disable the use of the `kan-extensions` package using `-f-kan-extensions`. |
| stm | You can disable the use of the `stm` package using `-f-stm`. |
| transformers | You can disable the use of the `transformers` package using `-f-transformers`. |
| unordered-containers | You can disable the use of the `unordered-containers` package using `-f-unordered-containers`. |
| Flag | Description |
|---|---|
| th | Enable Template Haskell support |
| Flag | Description |
|---|---|
| hdbc | Provide an HDBC driver backend using the raw PostgreSQL protocol. |
| md5 | Enable md5 password authentication method. |
| scientific | Support decoding numeric via scientific (implied by binary). |
| uuid | Support the UUID type via uuid (implied by binary). |
| Flag | Description |
|---|---|
| buildreadme | Build the readme generator |
| Flag | Description |
|---|---|
| create | export Network.PublicSuffixList.Create module |
| runtimelist | read suffix list from dist at startup instead of embedding list into library |
| Flag | Description |
|---|---|
| python-test | Enable extensive python testing |
| Flag | Description |
|---|---|
| fusion | Use fusion AES-GCM engine from picotls |
| Flag | Description |
|---|---|
| pcg | compile with support for PCG from pcg-random |
| Flag | Description |
|---|---|
| embed-linear | Embed a reduced version of Linear avoiding a (huge) dep |
| Flag | Description |
|---|---|
| plugin | Use the GHC plugin Reflex.Optimizer on some of the modules in the package. This is still experimental. |
| Flag | Description |
|---|---|
| no-template-haskell | Disable Template Haskell |
| Flag | Description |
|---|---|
| cfg | CFG functionality, adds dependency on fin and vec |
| intersection | Add intersection constructor. EXPERIMENTAL |
| Flag | Description |
|---|---|
| buildbenchmarks | Build benchmark executables |
| Flag | Description |
|---|---|
| conduit | Build with conduit |
| Flag | Description |
|---|---|
| skip-hlint-tester | Do not build the HLint tester |
| Flag | Description |
|---|---|
| no-linear | Do not depend on 'linear' library |
| Flag | Description |
|---|---|
| profunctors | You can disable the use of the `profunctors` package using `-f-profunctors`. Disabing this is an unsupported configuration, but it may be useful for accelerating builds in sandboxes for expert users. |
| Flag | Description |
|---|---|
| portable | Explicitly enable portable sendfile support (implemented in Haskell) |
| Flag | Description |
|---|---|
| lifted | run the tests against Shelly.Lifted |
| Flag | Description |
|---|---|
| test-doc-coverage | Enable haddock coverage test suite |
| Flag | Description |
|---|---|
| allow-bsd | Allow use of BSD sendfile (disable on GNU/kFreeBSD) |
| Flag | Description |
|---|---|
| force-endianness | Use a manually selected endian when compiling (see flag 'big-endian'). |
| reference | Use the reference implementation instead of the optimized one. |
| Flag | Description |
|---|---|
| pong-server | Build a server that just returns "PONG". Normally useful only for benchmarks. |
| test-server | Build the blackbox testserver |
| Flag | Description |
|---|---|
| newtype-unsafe | Use implementation using @newtype@ and unsafe @Any@, instead of GADT |
| Flag | Description |
|---|---|
| version-1-1-beta | By default this library is compatible with version 2.0 beta of Sphinx. Use this flag if you use Sphinx 1.1 |
| Flag | Description |
|---|---|
| optimised-mixer | Use JavaScript for mix32 |
| Flag | Description |
|---|---|
| omit-data | Omit all Data instances |
| omit-serialize | Omit all the Serialize instances, on the assumption that we will use SafeCopy instances instead. |
| Flag | Description |
|---|---|
| sample_progs | Build sample programs |
| Flag | Description |
|---|---|
| disable-stack-upload | For use only during development and debugging. Disable 'stack upload' so that it does not make HTTP requests. Stack will output information about the HTTP request(s) that it would have made if the command was enabled. |
| Flag | Description |
|---|---|
| directory-ospath-streaming | Whether to use directory-ospath-streaming. Should be false with 9.6 > ghc. |
| Flag | Description |
|---|---|
| usestm | Include instances for STM types. |
| usetmvar | Include instances for TMVar. |
| Flag | Description |
|---|---|
| force-alignment | Adds -DALIGNED_MEMORY to cpp-options |
| Flag | Description |
|---|---|
| c-malloc | Use C malloc instead of GHC malloc |
| fusion-plugin | Use fusion plugin for benchmarks and executables |
| minimal | Build only the core modules |
| no-fusion | Disable rewrite rules for stream fusion |
| streamk | Use CPS style streams when possible |
| Flag | Description |
|---|---|
| folds | Use folds for elimination everywhere |
| force-lstat-readdir | Use lstat instead of checking for dtype in ReadDir |
| has-llvm | Use llvm backend for code generation |
| opt | off=GHC default, on=-O2 |
| unfolds | Use unfolds for generation everywhere |
| Flag | Description |
|---|---|
| bytestring-builder | Use ByteString Builders to construct ByteString outputs instead of the ByteString type itself. If you're regularly constructing large (>50KB) bytestrings, enabling this can speed up your code. Otherwise, enabling this is likely to be a net slowdown. |
| extended-benchmarks | Enable benchmarks for Interpolation and interpolatedstring-perl6 |
| text-builder | Use Text Builders to construct Text outputs instead of the Text type itself. If you're regularly constructing large (>50KB) text objects, enabling this can speed up your code. Otherwise, enabling this is likely to be a net slowdown. |
| Flag | Description |
|---|---|
| optimizeadvanced | Enable advanced optimizations. They slow down compilation considerably. |
| Flag | Description |
|---|---|
| extendedbenchmarks | Runs extra benchmarks which can be very slow. |
| pure-haskell | Don't use text's standard C routines NB: This feature is not fully implemented. Several C routines are still in use. When this flag is true, text will use pure Haskell variants of the routines. This is not recommended except for use with GHC's JavaScript backend. This flag also disables simdutf. |
| simdutf | use simdutf library |
| Flag | Description |
|---|---|
| rebug | Expose more bugs by increasing determinism |
| Flag | Description |
|---|---|
| bug-for-bug | bug-for-bug compatibility with time |
| lens | use the full lens package |
| show-internal | instance Show of internal representation |
| Flag | Description |
|---|---|
| orphaninstances | Build instances for orphan datatypes. |
| Flag | Description |
|---|---|
| new-deps | Use new versions of ansi-wl-pprint and optparse-applicative |
| Flag | Description |
|---|---|
| compare-benchmarks | 			compare benchmarks with Chan, TQueue, and (eventually) lockfree-queue? 		 |
| Flag | Description |
|---|---|
| mono-traversable | Define instances for MonoTraversable |
| Flag | Description |
|---|---|
| doctests | Run doctests as part of test suite. Use with: @--write-ghc-environment-files=always@. |
| Flag | Description |
|---|---|
| dev-has-icu | Use ICU for test and benchmark. Intended for development on the repository. |
| Flag | Description |
|---|---|
| old-time | build against old-time package |
| Flag | Description |
|---|---|
| loag | Use MiniSat as external SAT-solver to schedule all Linear Ordered AGs |
| Flag | Description |
|---|---|
| adjunctions | Depend on @adjunctions@ to provide its instances |
| distributive | Depend on @distributive@ to provide its instances. Turning on, disables @adjunctions@ too. |
| Flag | Description |
|---|---|
| bench | Build a benchmarking program to test vector-algorithms performance |
| Flag | Description |
|---|---|
| safe | Disable effective but unsafe coercions |
| Flag | Description |
|---|---|
| print debug info |
| Flag | Description |
|---|---|
| x509 | Adds a dependency on the x509 library to enable getting TLS client certificates. |
| Flag | Description |
|---|---|
| cli | Enable command line tool |
| Flag | Description |
|---|---|
| drealtestdisable | when running solver tests, disable testing using dReal (ignored unless -fsolverTests) |
| solvertests | extra tests that require all the solvers to be installed |
| stptestdisable | when running solver tests, disable testing using STP (ignored unless -fsolverTests) |
| Flag | Description |
|---|---|
| xinerama |
| Flag | Description |
|---|---|
| libxml2 | Include libxml2 in the benchmarks |
| whitespace-around-equals | Correctly parse whitespace around the = characters in attribute definitions |
| Flag | Description |
|---|---|
| microlens | Use microlens instead of lens |
| Flag | Description |
|---|---|
| bzip2 | Depend on bzip2 C library and hence support BZip2 entries. |
| zstd | Depend on zstd C library and hence support Zstandard entries. |
| Flag | Description |
|---|---|
| bundled-c-zlib | Use the bundled zlib C sources. Requires pkg-config to be False. For windows, this is the default. |
| non-blocking-ffi | The (de)compression calls can sometimes take a long time, which prevents other Haskell threads running. Enabling this flag avoids this unfairness, but with greater overall cost. |
| Flag | Description |
|---|---|
| standalone | Use a built-in copy of the zstd library |
| Flag | Description |
|---|---|
| inotify | Enable inotify support |
| Flag | Description |
|---|---|
| relocatable | Don't use the Cabal-provided data directory for looking up Cryptol libraries. |
| Flag | Description |
|---|---|
| http-client-tls | Use http-client-tls for resolving HTTP imports by default (requires with-http to be enabled) |
| Flag | Description |
|---|---|
| elfutils | Enable DWARF-based backtraces using <pkg>dev-libs/elfutils</pkg>. |
| ghcbootstrap | Bootstrap GHC from an existing GHC installation. |
| ghcmakebinary | Internal: Build binary friendly for redistribution. |
| gmp | Use <pkg>dev-libs/gmp</pkg> for integer operations (works faster, but an external depend). |
| numa | Enable NUMA thread balancing policy using <pkg>sys-process/numactl</pkg>. |
| unregisterised | Create an unregisterised build in which only the C codegen backend will be available. |
| Flag | Description |
|---|---|
| interactivetests | Build interactive test programs |
| Flag | Description |
|---|---|
| systemd |
| Flag | Description |
|---|---|
| assistant | Enable git-annex assistant and watch command |
| benchmark | Enable benchmarking |
| gitlfs | Build with git-lfs library (rather than vendored copy) |
| magicmime | Use libmagic to determine file MIME types |
| pairing | Enable pairing |
| parallelbuild | Enable production build (slower build; faster binary) |
| torrentparser | Use haskell torrent library to parse torrent files |
| Flag | Description |
|---|---|
| curses | Enables curses user interface |
| sdl | Enables SDL user interface |
| sendmail | Include support for sending mail |
| sound | Enables sound in SDL user interface |
| Flag | Description |
|---|---|
| ncurses | Enable Curses UI |
| Flag | Description |
|---|---|
| cpphs | Use cpphs instead of cpp. |
| dump-core | Write GHC core output. |
| enable-cluster-counting | Enable the --count-clusters flag. (If enable-cluster-counting is False, then the --count-clusters flag triggers an error message.) |
| optimise-heavily | Enable some expensive optimisations when compiling Agda. |
| stdlib | Install the standard library. |
| xdg-data-home | Install data files under $XDG_DATA_HOME\/agda\/$AGDA_VERSION by default instead of the installation location defined by Cabal. This should not be enabled in declarative build environments like Nix or Guix. |
| Flag | Description |
|---|---|
| plugins | Compile in support for plugins. This will increase the size of the executable and the memory it uses, so those who will not need plugins should disable this flag. |
| Flag | Description |
|---|---|
| dhall | Support Dhall |
| quic | Support HTTP over QUIC (HTTP/3). |
| Flag | Description |
|---|---|
| cryptocurrency | Enable crypto assets widget. |
| Flag | Description |
|---|---|
| datezone | Enables localized date support. |
| mpris | MPRIS v1, v2 support. |
| rtsopts | Use -with-rtsopts=-V0 to reduce wakeups. |
| shared | Use shared libraries. Required when dependencies are built as shared libraries. |
| uvmeter | UVMeter only useful to australians. |
| weather | Enable weather plugin. |
| wifi | Wireless info support via nl80211. Required for the Wireless plugin on systems running Linux, the kernel. |
| xpm | Enable usage of xpm for icons. |
| xrender | Use XRender for alpha background pseudo-transparency. |
| Flag | Description |
|---|---|
| brightness | Build module for brightness control. |
| eval | Build modules depending on hint(for evaluating Haskell expressions at runtime). |
| Flag | Description |
|---|---|
| profiling | Build with profiling and -auto-all |
| Flag | Description |
|---|---|
| no-autorepeat-keys | Allow ignoring of keyboard autorepeat. |
| Flag | Description |
|---|---|
| xft | Use Xft to render text |