Add option environment.enableDebugInfo

This makes the debug outputs of packages that have them available to
programs like gdb.
This commit is contained in:
Eelco Dolstra
2015-10-30 15:16:48 +01:00
parent c20403631d
commit d9d5c98c56
4 changed files with 52 additions and 4 deletions

View File

@@ -43,6 +43,8 @@ let
doInstallCheck = false;
separateDebugInfo = stdenv.isLinux;
crossAttrs = {
postUnpack =
'' export CPATH="${bzip2.crossDrv}/include"