default.nix: expose functionality: enableDWARFDebugging; add doc
M default.nix
This commit is contained in:
parent
e4b75b2e74
commit
1668607c13
|
@ -26,6 +26,8 @@
|
|||
# Enables GHC optimizations for production use, without optimizations compilation is way faster
|
||||
, doOptimize ? false
|
||||
, doStrict ? false
|
||||
# Include DWARF debugging information & abilities
|
||||
, enableDWARFDebugging ? true
|
||||
# Strip results from all debugging symbols
|
||||
, doStrip ? false
|
||||
, enableSharedLibraries ? true
|
||||
|
@ -148,6 +150,10 @@ let
|
|||
switch = disableOptimization;
|
||||
function = pkgs.haskell.lib.disableOptimization;
|
||||
}
|
||||
{
|
||||
switch = enableDWARFDebugging;
|
||||
function = pkgs.haskell.lib.enableDWARFDebugging;
|
||||
}
|
||||
{
|
||||
switch = linkWithGold;
|
||||
function = pkgs.haskell.lib.linkWithGold;
|
||||
|
|
Loading…
Reference in New Issue