diff --git a/guix/build/activation.scm b/guix/build/activation.scm index 62e69a91528821d3eb40c78357d37f02ebb55e52..bc62a94e01748105dd53cd9201591a758f5589a6 100644 --- a/guix/build/activation.scm +++ b/guix/build/activation.scm @@ -126,7 +126,8 @@ (define activate-user ;; Then create the groups. (for-each (match-lambda ((name password gid) - (add-group name #:gid gid #:password password))) + (unless (false-if-exception (getgrnam name)) + (add-group name #:gid gid #:password password)))) groups) ;; Finally create the other user accounts.