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:
parent
52ea78741b
commit
f9b4b85ca3
1 changed files with 2 additions and 3 deletions
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue