From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8NTIK3I4PGXFRwAAauVa8A:P1 (envelope-from ) for ; Sat, 28 Oct 2023 00:23:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8NTIK3I4PGXFRwAAauVa8A (envelope-from ) for ; Sat, 28 Oct 2023 00:23:46 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5ABE5654C5 for ; Sat, 28 Oct 2023 00:23:46 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="PX/osIj1"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698445426; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YIfDiv6mBTV9SEfk+LBaPDL0KNqcADTOByozkv34Opg=; b=dqpl5C9e9MrkY4V9EVYQtaPhPlq0vXxoyAMbofR/MvHWwBA2rBtqm+dp2nsn3yVh54gDE7 0YiptNwb5Epa7ycRXjpJC1ImRFr1F7iw6u4GL1QU9bu4SPjL2dllmBeRvDaTg6YDx+X0cE pIsHvX+KvIj914b0aICJMLIvVUcuhaksDbT/qjF0cO7clrtdFNGAKn3wd1fq1fHyZ0j4bK QuTvF/6Wj9zAILoZYddjJ97MvCsZWAEREWBQaxNEC7Qj/TJSClO0R6B0xJWGVY0uzCiAMz th7LTBeklqSNz4U0MR2mqiN2UknuOkMQQCMur2dYq4F2FhZH2own+ngItv2NEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="PX/osIj1"; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698445426; a=rsa-sha256; cv=none; b=S+7fPN1hZkd2tt6Q9r1gejp7BQhiVe7kraivf2/cNAo4VHtk2E0b98s1gONnXonirSUloG ZsJPSccqgGVW8L9fSN1eb3cVzVrsZcrT0MFSEARwgE6p7wA4Qy4vDznS9NfNrS83TWTznN 3UwlW7ddKsBI/OrLFgraPiUNjQLiEQzvuXkHhRV4X8erRtBp5pCWdaFQtRjSP7UxL/jh0O oeNmEJu0w7BOheWl9SbNzKTv4YoAOF0eGPeBALlV/iJyBm9CziSJi8lxbEzyiwr5FJ2Kp7 QJyHtiuX/jI/47w/Dcfx2nK955/YBA5cJ11FAT5R6v644YXzsOkjmsno/kdycA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwVEq-0001Jh-4n; Fri, 27 Oct 2023 18:23:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwVEp-0001JZ-52 for bug-guix@gnu.org; Fri, 27 Oct 2023 18:23:31 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qwVEo-0005ue-RN for bug-guix@gnu.org; Fri, 27 Oct 2023 18:23:30 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwVFK-0006fb-1o for bug-guix@gnu.org; Fri, 27 Oct 2023 18:24:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66659: (home-)on-first-login script broken when no gexps are added Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 27 Oct 2023 22:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66659 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nils Landt , Rostislav Svoboda , =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Cc: 66659@debbugs.gnu.org Received: via spool by 66659-submit@debbugs.gnu.org id=B66659.169844539525573 (code B ref 66659); Fri, 27 Oct 2023 22:24:02 +0000 Received: (at 66659) by debbugs.gnu.org; 27 Oct 2023 22:23:15 +0000 Received: from localhost ([127.0.0.1]:37441 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwVEZ-0006eP-7p for submit@debbugs.gnu.org; Fri, 27 Oct 2023 18:23:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwVEU-0006e9-DB for 66659@debbugs.gnu.org; Fri, 27 Oct 2023 18:23:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qwVDs-0005qM-KB; Fri, 27 Oct 2023 18:22:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=YIfDiv6mBTV9SEfk+LBaPDL0KNqcADTOByozkv34Opg=; b=PX/osIj1h+syXLYMTNh5 yWoIRG+5p5elsIr3kx+jbEdeIaYOWSe4XWV/nBp1FOxOIUOoze0VJ624LFeCSPuJ4YQQahRd6ANg0 uIP2ziUkdndAmktunO7qcyxXN+uYAPbgngyWR/c63Vi14MWj2JSvBq9WUFDDV3uxLKUXUBazqHlkZ O4rfxiYxR6aBuzoLo/vGEFYxb6FRsEBhpyf8tfAJjNMQTTpngN9RT6GFoKBPJUF7xCClu4seAGYdP iS3WAUrGqKkDSewpHsFU2entu0EORHpL02LsiPAo8f3D7PZwZZ3QWuzKu9ppaHfcivXza5CHXqoiM bch9jNDyEhMqjg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <1963527562.259546.1698141941111@office.mailbox.org> (Nils Landt's message of "Tue, 24 Oct 2023 12:05:41 +0200 (CEST)") References: <87o7gsqcyc.fsf@gnu.org> <1084731920.55297.1697868845432@office.mailbox.org> <1963527562.259546.1698141941111@office.mailbox.org> Date: Sat, 28 Oct 2023 00:22:29 +0200 Message-ID: <87lebnaeoq.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.31 X-Spam-Score: -1.31 X-Migadu-Queue-Id: 5ABE5654C5 X-Migadu-Scanner: mx13.migadu.com X-TUID: b3pMIpOk8stH Hi, Nils Landt skribis: > 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 i= n form (begin)" Oops, my bad. (I did check at the REPL that (begin) was fine but forgot that I was checking the top-level =E2=80=98begin=E2=80=99 form, which is no= t the same as the sequencing =E2=80=98begin=E2=80=99 form=E2=80=A6) Rostislav Svoboda skribis: > 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. Thanks Rostislav and everyone, and apologies for not replying earlier! Ludo=E2=80=99.