Merge pull request #43508 from nh2/haskell-dontStrip

haskell: Pass `dontStrip` to cabal. Fixes #43506
This commit is contained in:
Peter Simons 2018-07-17 08:57:32 +02:00 committed by GitHub
commit b412cac1d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ([