diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-03-03 21:57:26 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-03-07 20:05:09 +0100 |
commit | 6061d01512081c93c53fdd1d4302b36696403061 (patch) | |
tree | a4d93dd7406207be146008023fd867578482bfbd /tests | |
parent | f6f67b87c08fe7b901db834c714aceaef2b62b60 (diff) | |
download | guix-6061d01512081c93c53fdd1d4302b36696403061.tar.gz |
activation: Operate on <user-account> and <user-group> records.
* gnu/system/accounts.scm (sexp->user-group, sexp->user-account): New procedures. * gnu/system/shadow.scm (account-activation): Call them in the arguments to 'activate-users+groups'. (account-shepherd-service): Likewise. * gnu/build/activation.scm (activate-users+groups): Expect a list of <user-account> and a list of <user-group>. Replace uses of 'match' on tuples with calls to record accessors. (activate-user-home): Likewise.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions