1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-24 03:59:46 +01:00

info: use XDG_CACHE_HOME if defined

(cherry picked from commit a30751464a)
This commit is contained in:
Robert Helgesson 2017-08-26 12:10:14 +02:00
parent b25037d68b
commit f6a05b15a6
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -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.