1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 16:38:34 +02: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" ];
};
};
}