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:
parent
601f8d073c
commit
daab32302b
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
config = lib.mkIf config.home.enableDebugInfo {
|
config = lib.mkIf config.home.enableDebugInfo {
|
||||||
home.extraOutputsToInstall = [ "debug" ];
|
home.extraOutputsToInstall = [ "debug" ];
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionSearchVariables = {
|
||||||
NIX_DEBUG_INFO_DIRS =
|
NIX_DEBUG_INFO_DIRS =
|
||||||
"$NIX_DEBUG_INFO_DIRS\${NIX_DEBUG_INFO_DIRS:+:}${config.home.profileDirectory}/lib/debug";
|
"$NIX_DEBUG_INFO_DIRS\${NIX_DEBUG_INFO_DIRS:+:}${config.home.profileDirectory}/lib/debug";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue