home: services: Fix regression in generated ‘on-first-login’ script.
Fixes <https://issues.guix.gnu.org/66659>.
Fixes a regression introduced in
6b0a321969
.
* gnu/home/services.scm (compute-on-first-login-script): Add ‘begin’
around #$@gexps.
Reported-by: Nils Landt <nils@landt.email>
parent
80c8f5b57a
commit
e098ba2f49
|
@ -435,7 +435,7 @@ activation.")))
|
|||
;; after complete logout/reboot.
|
||||
(if (file-exists? xdg-runtime-dir)
|
||||
(when (claim-first-run flag-file-path)
|
||||
#$@gexps)
|
||||
(begin #$@gexps)) ;GEXPS can be empty, hence 'begin'
|
||||
;; TRANSLATORS: 'on-first-login' is the name of a service and
|
||||
;; shouldn't be translated
|
||||
(warning (G_ "XDG_RUNTIME_DIR doesn't exists, on-first-login script
|
||||
|
|
Reference in New Issue