Merge pull request #43508 from nh2/haskell-dontStrip
haskell: Pass `dontStrip` to cabal. Fixes #43506
commitb412cac1d7755a8a5cfd8fc08cba1abe08763267
authorPeter Simons <simons@cryp.to>
dateTue 17 Jul 2018, 08:57 (8 years ago)
parentd1eaa5be154962
pkgs/development/haskell-modules/generic-builder.nix+3
@@ -160,6 +160,9 @@ let
160160 "--enable-library-for-ghci" # TODO: Should this be configurable?
161161 ] ++ optionals (enableDeadCodeElimination && (stdenv.lib.versionOlder "8.0.1" ghc.version)) [
162162 "--ghc-option=-split-sections"
163+ ] ++ optionals dontStrip [
164+ "--disable-library-stripping"
165+ "--disable-executable-stripping"
163166 ] ++ optionals isGhcjs [
164167 "--ghcjs"
165168 ] ++ optionals isCross ([