info: use XDG_CACHE_HOME if defined
(cherry picked from commit a30751464a
)
This commit is contained in:
parent
b25037d68b
commit
f6a05b15a6
|
@ -42,7 +42,7 @@ in
|
|||
enable = mkEnableOption "GNU Info";
|
||||
|
||||
homeInfoDirLocation = mkOption {
|
||||
default = "$HOME/.cache/info";
|
||||
default = "\${XDG_CACHE_HOME:-$HOME/.cache}/info";
|
||||
description = ''
|
||||
Directory in which to store the info <filename>dir</filename>
|
||||
file within your home.
|
||||
|
|
Loading…
Reference in a new issue