xdg: create '$XDG_STATE_HOME' (#6526)

Some programs (e.g: `less`) will not make use of `$XDG_STATE_HOME` if
the directory does not exist.
This commit is contained in:
Bruno BELANYI
2025-02-24 21:32:28 +00:00
committed by GitHub
parent 12e26a74e5
commit c12dcc9b61

View File

@@ -143,6 +143,7 @@ in {
(mapAttrs' (name: file: nameValuePair "${cfg.stateHome}/${name}" file)
cfg.stateFile)
{ "${cfg.cacheHome}/.keep".text = ""; }
{ "${cfg.stateHome}/.keep".text = ""; }
];
}
];