1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-15 23:59:45 +01:00

debug: use home.sessionSearchVariables for NIX_DEBUG_INFO_DIRS

This commit is contained in:
Thiago Kenji Okada 2023-10-18 23:42:23 +01:00
parent 52ea78741b
commit f9b4b85ca3

View file

@ -18,9 +18,8 @@ with lib;
config = mkIf config.home.enableDebugInfo {
home.extraOutputsToInstall = [ "debug" ];
home.sessionVariables = {
NIX_DEBUG_INFO_DIRS =
"$NIX_DEBUG_INFO_DIRS\${NIX_DEBUG_INFO_DIRS:+:}${config.home.profileDirectory}/lib/debug";
home.sessionSearchVariables = {
NIX_DEBUG_INFO_DIRS = [ "${config.home.profileDirectory}/lib/debug" ];
};
};
}