diff --git a/guix/scripts/archive.scm b/guix/scripts/archive.scm index c900fcecb9..0f9e4d8360 100644 --- a/guix/scripts/archive.scm +++ b/guix/scripts/archive.scm @@ -286,6 +286,7 @@ the input port." ;; Add KEY to the ACL and write that. (let ((acl (public-keys->acl (cons key (acl->public-keys acl))))) + (mkdir-p (dirname %acl-file)) (with-atomic-file-output %acl-file (lambda (port) (display (canonical-sexp->string acl) port))))))