diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-03-05 15:36:16 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-03-05 15:36:16 +0100 |
commit | 8a085cd8e3cc5c4e362b4eb30278a7657ff15df2 (patch) | |
tree | 752b06dda0170dcb8a8cb53cdd5c6a944e9bcffb /pkgs/applications/science/misc | |
parent | 64133165651e77bb4d7d466eebbc72cdd9f937fc (diff) | |
parent | c021277a7589262dad3d4486dc7f7fa8012d80e0 (diff) |
Merge remote-tracking branch 'origin/master' into staging-next
Diffstat (limited to 'pkgs/applications/science/misc')
-rw-r--r-- | pkgs/applications/science/misc/root/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/science/misc/root/default.nix b/pkgs/applications/science/misc/root/default.nix index cfda819a42ca7..a33af57951089 100644 --- a/pkgs/applications/science/misc/root/default.nix +++ b/pkgs/applications/science/misc/root/default.nix @@ -261,6 +261,15 @@ stdenv.mkDerivation rec { ]}" ''; + # To use the debug information on the fly (without installation) + # add the outPath of root.debug into NIX_DEBUG_INFO_DIRS (in PATH-like format) + # and make sure that gdb from Nixpkgs can be found in PATH. + # + # Darwin currently fails to support it (#203380) + # we set it to true hoping to benefit from the future fix. + # Before that, please make sure if root.debug exists before using it. + separateDebugInfo = true; + setupHook = ./setup-hook.sh; meta = with lib; { |