mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-05 16:41:04 +01:00
direnv: only set sessionVariable for old version (#6842)
Discussion and retesting in https://github.com/NixOS/nixpkgs/pull/398717. The env variable is actually not needed when you use the config.
This commit is contained in:
parent
82ee14ff60
commit
ddda2b1f20
1 changed files with 1 additions and 1 deletions
|
|
@ -200,6 +200,6 @@ in
|
||||||
)
|
)
|
||||||
'');
|
'');
|
||||||
|
|
||||||
home.sessionVariables = lib.mkIf cfg.silent { DIRENV_LOG_FORMAT = ""; };
|
home.sessionVariables = lib.mkIf (cfg.silent && !isVersion236orHigher) { DIRENV_LOG_FORMAT = ""; };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue