Troubleshooting: add a small section about stripping (#900)
commit134b60e48eb2f7a7233824c83db04290496780f2
authorMichael Peyton Jones <michael.peyton-jones@iohk.io>
dateFri 30 Oct 2020, 04:40 (6 years ago)
parentb0f4985
docs/troubleshooting.md+4
@@ -84,3 +84,7 @@ So we only include Haskell sources if they appear in a `hs-source-dirs` somewher
8484This is good practice anyway: if you do not include such files in `extra-source-files` then they will not be included in `cabal sdist`, which will cause problems if you ever upload your package to Hackage.
8585But `haskell.nix` is very picky about it.
8686
87+### Why does my executable depend on GHC/GCC?
88+
89+You may want to set the `dontStrip` option to `false` (see https://github.com/input-output-hk/haskell.nix/issues/829).
90+This is not set by default because it can occasionally cause breakage.