diff --git a/gnu/build/activation.scm b/gnu/build/activation.scm
index 10aa58d85cfa028057a857f1bd4d27290eb36222..7dc40b09612a3c093a0c1f05f345f60c13f1e5b8 100644
--- a/gnu/build/activation.scm
+++ b/gnu/build/activation.scm
@@ -233,6 +233,9 @@ (define activate-user
   ;; 'groupadd' aborts if the file doesn't already exist.
   (touch "/etc/group")
 
+  ;; Allow home directories to be created under /var/lib.
+  (mkdir "/var/lib")
+
   ;; Create the root account so we can use 'useradd' and 'groupadd'.
   (activate-user (find (match-lambda
                         ((name (? zero?) _ ...) #t)