services: xdg: Remove depracated field log-home of home-xdg-base-directories-configuration
parent
8e901140db
commit
b4749aeef6
|
@ -100,17 +100,6 @@ read-only shared data, analogus to @file{/usr/share}, but for user.")
|
||||||
(path "${XDG_RUNTIME_DIR:-/run/user/$UID}")
|
(path "${XDG_RUNTIME_DIR:-/run/user/$UID}")
|
||||||
"Base directory for programs to store user-specific runtime files,
|
"Base directory for programs to store user-specific runtime files,
|
||||||
like sockets.")
|
like sockets.")
|
||||||
;; TODO: deprecated field, use $XDG_STATE_HOME(/log) instead.
|
|
||||||
(log-home
|
|
||||||
maybe-path
|
|
||||||
"Base directory for programs to store log files, analogus to
|
|
||||||
@file{/var/log}, but for user. It is not a part of XDG Base Directory
|
|
||||||
Specification, but helps to make implementation of home services more
|
|
||||||
consistent."
|
|
||||||
(lambda (field-name val)
|
|
||||||
(when (maybe-value-set? val)
|
|
||||||
(warn-about-deprecation field-name #f #:replacement 'state-home))
|
|
||||||
(serialize-path field-name val)))
|
|
||||||
(state-home
|
(state-home
|
||||||
(path "$HOME/.local/state")
|
(path "$HOME/.local/state")
|
||||||
"Base directory for programs to store state data that should persist
|
"Base directory for programs to store state data that should persist
|
||||||
|
|
Loading…
Reference in New Issue