Merge pull request #43508 from nh2/haskell-dontStrip
haskell: Pass `dontStrip` to cabal. Fixes #43506
This commit is contained in:
commit
b412cac1d7
1 changed files with 3 additions and 0 deletions
|
@ -160,6 +160,9 @@ let
|
|||
"--enable-library-for-ghci" # TODO: Should this be configurable?
|
||||
] ++ optionals (enableDeadCodeElimination && (stdenv.lib.versionOlder "8.0.1" ghc.version)) [
|
||||
"--ghc-option=-split-sections"
|
||||
] ++ optionals dontStrip [
|
||||
"--disable-library-stripping"
|
||||
"--disable-executable-stripping"
|
||||
] ++ optionals isGhcjs [
|
||||
"--ghcjs"
|
||||
] ++ optionals isCross ([
|
||||
|
|
Loading…
Reference in a new issue