[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66659: (home-)on-first-login script broken when no gexps are added
From: |
Rostislav Svoboda |
Subject: |
bug#66659: (home-)on-first-login script broken when no gexps are added |
Date: |
Tue, 24 Oct 2023 16:17:39 +0200 |
> > I've just pushed something similar to what you provided, Carlo, in
> > commit e098ba2f499bbddfea50c85058e4077e39b85513.
> >
> > We should be good now.
>
> I'm afraid this did not fix the issue. It results in
> (when (claim-first-run flag-file-path) (begin))
>
> which leads to the new error message "Syntax error:
> /home/nl/.guix-home/on-first-login:3:1272: sequence of zero expressions in
> form (begin)"
Adding *unspecified* works for me. I.e.:
(when (claim-first-run flag-file-path)
;; GEXPS can be empty, hence 'begin *unspecified*'. Having just
;; 'begin' without '*unspecified*' leads to
;; "Syntax error: ... sequence of zero expressions in form (begin)"
(begin *unspecified* #$@gexps))
The patch is in the attachment.
Cheers Bost
0001-home-services-Fix-regression-in-generated-on-first-l.patch
Description: Text Data