diff options
author | Peter Simons <simons@cryp.to> | 2018-07-17 08:57:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-17 08:57:32 +0200 |
commit | b412cac1d7755a8a5cfd8fc08cba1abe08763267 (patch) | |
tree | 129cfa83b1d5caf83213137048fb52fe1d8ae64e | |
parent | d1eaa5b6510661b6a3a622eb25b4fc044febe3a8 (diff) | |
parent | e15496203e288d3c97189227b88c6bb0b87a898d (diff) | |
download | nixlib-b412cac1d7755a8a5cfd8fc08cba1abe08763267.tar nixlib-b412cac1d7755a8a5cfd8fc08cba1abe08763267.tar.gz nixlib-b412cac1d7755a8a5cfd8fc08cba1abe08763267.tar.bz2 nixlib-b412cac1d7755a8a5cfd8fc08cba1abe08763267.tar.lz nixlib-b412cac1d7755a8a5cfd8fc08cba1abe08763267.tar.xz nixlib-b412cac1d7755a8a5cfd8fc08cba1abe08763267.tar.zst nixlib-b412cac1d7755a8a5cfd8fc08cba1abe08763267.zip |
Merge pull request #43508 from nh2/haskell-dontStrip
haskell: Pass `dontStrip` to cabal. Fixes #43506
-rw-r--r-- | pkgs/development/haskell-modules/generic-builder.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix index d1304c796949..c68d84bdb8a5 100644 --- a/pkgs/development/haskell-modules/generic-builder.nix +++ b/pkgs/development/haskell-modules/generic-builder.nix @@ -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 ([ |