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