on iko/ghcjs-patch-master help sign in
Troubleshooting: add a small section about stripping (#900)
134b60eMichael Peyton Jones
docs/troubleshooting.md+4
@@ -84,3 +84,7 @@ So we only include Haskell sources if they appear in a `hs-source-dirs` somewher
84This 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.
84This 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.
85But `haskell.nix` is very picky about it.
85But `haskell.nix` is very picky about it.
86
86
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.