Add debug symbols to nix-shell.

This commit is contained in:
John Soo 2022-04-21 10:12:22 -07:00 committed by adisbladis
parent 55d91140be
commit 0aa88f2f49

View file

@ -32,4 +32,7 @@
];
shellHook = ''
export NIX_DEBUG_INFO_DIRS="${pkgs.curl.debug}/lib/debug:${pkgs.nixUnstable.debug}/lib/debug''${NIX_DEBUG_INFO_DIRS:+:$NIX_DEBUG_INFO_DIRS}"
'';
})