Hello,

Am Fri, Mar 14, 2025 at 01:12:22PM +0100 schrieb Christophe Pisteur:
> (users (cons* (user-account
>                                 (name "bob")
>                                 (comment "Alice's bro")
>                                 (group "users")
>                                 (home-directory "/home/bob")
>                                 (supplementary-groups '("wheel" "netdev" 
> "audio" "video"))

you are missing a ") (user-account)" here.

cons* takes a number of elements and in the last place a list
(%base-user-accounts) and concatenates them into one list:
   
https://www.gnu.org/software/guile/manual/html_node/List-Constructors.html#index-cons_002a

And "user-account" is (I suppose) the constructor of a Guix record
the fields of which are name, comment and so on. Pay attention to the
parentheses :)

Andreas


Reply via email to