mirror of
https://github.com/nix-community/home-manager
synced 2024-06-29 09:58:32 +02:00
debug: use home.sessionSearchVariables for NIX_DEBUG_INFO_DIRS
This commit is contained in:
parent
52ea78741b
commit
f9b4b85ca3
|
@ -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 New Issue
Block a user