Enable separate debug info

You can now pass

  separateDebugInfo = true;

to mkDerivation. This causes debug info to be separated from ELF
binaries and stored in the "debug" output. The advantage is that it
enables installing lean binaries, while still having the ability to
make sense of core dumps, etc.
This commit is contained in:
Eelco Dolstra
2015-09-17 15:56:33 +02:00
parent edee7f1720
commit ec5b66eb4a
6 changed files with 93 additions and 16 deletions
@@ -41,7 +41,9 @@ let
installFlags = "sysconfdir=$(out)/etc";
doInstallCheck = true;
doInstallCheck = false;
separateDebugInfo = true;
crossAttrs = {
postUnpack =