default.nix: upd docs for Header.lib args in headers, sort

Providing docs to them and sort them roughly in order of their application/stage

M  default.nix
This commit is contained in:
Anton-Latukha 2020-06-03 20:09:49 +03:00
parent cd6c601dcb
commit f1a4ccc31e
No known key found for this signature in database
GPG key ID: 3D84C07E91802E41

View file

@ -1,32 +1,34 @@
{ compiler ? "ghc883" { compiler ? "ghc883"
# doBenchmark: Dependency checking + compilation and execution for benchmarks listed in the package description file. # Don't fail at configure time if there are multiple versions of the same package in the (recursive) dependencies of the package being built. Will delay failures, if any, to compile time.
, doBenchmark ? false , allowInconsistentDependencies ? false
# Generation and installation of a coverage report. # Escape the version bounds from the cabal file. You may want to avoid this function.
# See https://wiki.haskell.org/Haskell_program_coverage , doJailbreak ? false
, doCoverage ? false
# Generation and installation of haddock API documentation
, doHaddock ? false
# Nix dependency checking, compilation and execution of test suites listed in the package description file. # Nix dependency checking, compilation and execution of test suites listed in the package description file.
, doCheck ? true , doCheck ? true
# 2020-06-02: NOTE: enableDeadCodeElimination = true: On GHC =< 8.8.3 macOS build falls due to https://gitlab.haskell.org/ghc/ghc/issues/17283
# Disable GHC code optimizations for faster dev loops. Enable optimizations for production use or benchmarks.
, enableDeadCodeElimination ? false
, enableLibraryProfiling ? false , enableLibraryProfiling ? false
, enableExecutableProfiling ? false , enableExecutableProfiling ? false
, doTracing ? false , doTracing ? false
# Enables GHC optimizations for production use, without optimizations compilation is way faster # Enables GHC optimizations for production use, without optimizations compilation is way faster
, doOptimize ? false , doOptimize ? false
, doStrict ? false , doStrict ? false
# Escape the version bounds from the cabal file. You may want to avoid this function. # Strip results from all debugging symbols
, doJailbreak ? false , doStrip ? false
, enableSharedExecutables ? false
, enableSharedLibraries ? true , enableSharedLibraries ? true
, enableStaticLibraries ? false , enableStaticLibraries ? false
# 2020-06-02: NOTE: enableDeadCodeElimination = true: On GHC =< 8.8.3 macOS build falls due to https://gitlab.haskell.org/ghc/ghc/issues/17283, so temporarily set default to `false`
, enableDeadCodeElimination ? false
, doHyperlinkSource ? false , doHyperlinkSource ? false
, doStrip ? false # Make hybrid executable that is also a shared library
, enableSharedExecutables ? false
, justStaticExecutables ? false , justStaticExecutables ? false
# Don't fail at configure time if there are multiple versions of the same package in the (recursive) dependencies of the package being built. Will delay failures, if any, to compile time. # Generation and installation of haddock API documentation
, allowInconsistentDependencies ? false , doHaddock ? false
# Generation and installation of a coverage report. See https://wiki.haskell.org/Haskell_program_coverage
, doCoverage ? false
# doBenchmark: Dependency checking + compilation and execution for benchmarks listed in the package description file.
, doBenchmark ? false
, withHoogle ? true , withHoogle ? true