1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-18 14:28:15 +00:00

debug: use home.sessionSearchVariables for NIX_DEBUG_INFO_DIRS

This commit is contained in:
Thiago Kenji Okada 2025-03-09 12:50:54 +00:00 committed by Austin Horstman
parent 601f8d073c
commit daab32302b

View file

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