mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 03:55:08 -06:00
home: xdg: Fix compilation warning.
* gnu/home/services/xdg.scm (home-xdg-base-directories-configuration): Specify field serializer explicitly. Change-Id: I1b178952e3eb95d3faea38f7cf7a782bc73c0ea5
This commit is contained in:
parent
e20a8accfe
commit
5fdfec9108
1 changed files with 5 additions and 4 deletions
|
|
@ -108,10 +108,11 @@ like sockets.")
|
|||
@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."
|
||||
(serializer
|
||||
(lambda (field-name val)
|
||||
(when (maybe-value-set? val)
|
||||
(warn-about-deprecation field-name #f #:replacement 'state-home))
|
||||
(serialize-path field-name val)))
|
||||
(serialize-path field-name val))))
|
||||
(state-home
|
||||
(path "$HOME/.local/state")
|
||||
"Base directory for programs to store state data that should persist
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue