mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
Revert "installer: user: Remove useless filtering."
This reverts commit c2125e59d0
.
Fixes <https://issues.guix.gnu.org/55361>.
This commit is contained in:
parent
dd19b191d6
commit
48c748226e
1 changed files with 7 additions and 2 deletions
|
@ -69,5 +69,10 @@ (define (user->sexp user)
|
||||||
(supplementary-groups '("wheel" "netdev"
|
(supplementary-groups '("wheel" "netdev"
|
||||||
"audio" "video"))))
|
"audio" "video"))))
|
||||||
|
|
||||||
`((users (cons* ,@(map user->sexp users)
|
`((users (cons*
|
||||||
%base-user-accounts))))
|
,@(filter-map (lambda (user)
|
||||||
|
;; Do not emit a 'user-account' form for "root".
|
||||||
|
(and (not (string=? (user-name user) "root"))
|
||||||
|
(user->sexp user)))
|
||||||
|
users)
|
||||||
|
%base-user-accounts))))
|
||||||
|
|
Loading…
Reference in a new issue