From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6bRhI5arX19+VAAA0tVLHw (envelope-from ) for ; Mon, 14 Sep 2020 17:42:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2NR2HZarX1+ZQwAA1q6Kng (envelope-from ) for ; Mon, 14 Sep 2020 17:42:46 +0000 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 1FFC0940390 for ; Mon, 14 Sep 2020 17:42:46 +0000 (UTC) Received: from localhost ([::1]:45830 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHsV2-0006nA-O3 for larch@yhetil.org; Mon, 14 Sep 2020 13:42:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHsFr-0001jc-Ew for bug-guix@gnu.org; Mon, 14 Sep 2020 13:27:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44540) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kHsFq-0006hq-L9 for bug-guix@gnu.org; Mon, 14 Sep 2020 13:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kHsFq-0001zT-Gd for bug-guix@gnu.org; Mon, 14 Sep 2020 13:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#25952: offloading empty machines file Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 14 Sep 2020 17:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25952 X-GNU-PR-Package: guix X-GNU-PR-Keywords: moreinfo To: Tobias Geerinckx-Rice Received: via spool by 25952-submit@debbugs.gnu.org id=B25952.16001044067624 (code B ref 25952); Mon, 14 Sep 2020 17:27:02 +0000 Received: (at 25952) by debbugs.gnu.org; 14 Sep 2020 17:26:46 +0000 Received: from localhost ([127.0.0.1]:56084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHsFa-0001yq-DN for submit@debbugs.gnu.org; Mon, 14 Sep 2020 13:26:46 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:37037) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHsFX-0001ya-8s for 25952@debbugs.gnu.org; Mon, 14 Sep 2020 13:26:45 -0400 Received: by mail-wr1-f44.google.com with SMTP id z4so518421wrr.4 for <25952@debbugs.gnu.org>; Mon, 14 Sep 2020 10:26:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=8Ryym8HB8pfHCLYrJIqjExxTRawfuiXJ3WSKq456FsI=; b=O3vBBg9Q1SxrsG4y7mL/R4Unt4GNIP+AKTGzGGXQRtXQ+8V8R0nxdkmWbilipVp9tT RhkHcJxWAWroBzVGVNByRsD0jkD5wS47yWO1BzWT+NAFaPgzNm98EcXnT4lnq7Y1N9Qh UlDHQSnSNjNTugkPAdL/p9d0eg+fauXpHC6nPS5zkJCcPmOBDo2NbU8cFGzH9p/7+9s4 SlvH9XsQa5mHjvPJJFwGM1ttAYRQ2x+RppuKXFiAL0xkuuYB262Pz90wkK9X6k4N+dlT yh+gNfmdHij8yCcmqJN3q53NKfTF+CZoJRfU6sjUz6nVha/KcQmmZFD35y5dhS2p18yJ M4gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=8Ryym8HB8pfHCLYrJIqjExxTRawfuiXJ3WSKq456FsI=; b=qCxPRDkUfilNqMAKzp7rvy9yY3dyGDhp+0g/qQSnKgZIWBUqFfjfJvx9P2Loamo4QF mIJxWD4OYCtah1NYntzr0V3vdXsyAim/pCKsmC0FfHdmpd25ShRdpgQY6XUvLhcek/5x abRMhw3tqaTSmY+WO9ixRr2J2HxTxwV1q1pLQtIgR/K2JM51/t4A7MXtg1Oodt/uWn7Y 4piJgezVDDdzS3zFsgJRv4H8/inZd3Fxw10fgIk2Jgjx/EUXdaPwX/azjQ6/GKsIIfQq vikbWlxfaVnVvekq9o0MPsjbap9fKSitV9Uyj48K7T4fWMaMOTXa7tiT8BSqe02zprTM 9vxQ== X-Gm-Message-State: AOAM531fiHam5SZtwaFaraDIsEUrBtIBmqlmEjnZdf2FDNikubHpCizz aGd9G29RnGugOKGdqMSAiCU= X-Google-Smtp-Source: ABdhPJwyCd5iY2HcD0zspIqxE9L0llS7PnwAZSG9UOPoCWsncgGMVVpBsC2N+PP1nhOOppFPk9nBIg== X-Received: by 2002:adf:e952:: with SMTP id m18mr16770019wrn.171.1600104397360; Mon, 14 Sep 2020 10:26:37 -0700 (PDT) Received: from pfiuh02 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id d23sm3468827wmb.6.2020.09.14.10.26.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Sep 2020 10:26:36 -0700 (PDT) From: zimoun References: <20170303165648.wg5nypcizxr2n6t5@abyayala> <87tv03ycvo.fsf@nckx> Date: Mon, 14 Sep 2020 19:26:35 +0200 In-Reply-To: (zimoun's message of "Tue, 26 May 2020 00:43:33 +0200") Message-ID: <87k0wwqng4.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 25952@debbugs.gnu.org, contact.ng0@cryptolab.net Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=O3vBBg9Q; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: 26eNdSVBpkvb Dear, On Tue, 26 May 2020 at 00:43, zimoun wrote: > On Mon, 25 May 2020 at 22:32, Tobias Geerinckx-Rice wrote: > >> The issue is that files such as /etc/guix/machines.scm (but this >> applies equally to /etc/guix/acl & so on) are expected to evaluate >> to a sexp. >> >> An empty file does not a valid sexp make, so Guix throws an >> prickly backtrace @ your face & dies. This is unlike most other >> configuration formats where an empty file or one consisting >> entirely of comments is a no-op. > > Hum? I am not sure to get the point. Are we talking about this kind > of situations, e.g., > > touch /tmp/empty.scm > guix package -m /tmp/empty.scm -p /tmp/empy > > or > > echo ";; hello" > /tmp/comment.scm > guix package -m /tmp/comment.scm -p /tmp/comment > > or > > echo "(define x 42)" > /tmp/answer.scm > guix package -m /tmp/answer.scm -p /tmp/answer > > > ? If we are talking about such cases, I think we can close this bug report. >> We should decide whether =E2=80=98=E2=80=99 is a valid sexp (oh dear, ph= ilosophy) >> or throw something softer at people. > > Throw something more "helping" than e.g., > > Backtrace: > 1 (primitive-load "/home/simon/.config/guix/current/bin/g=E2= =80=A6") > In guix/ui.scm: > 1936:12 0 (run-guix-command _ . _) > > guix/ui.scm:1936:12: In procedure run-guix-command: > In procedure struct-vtable: Wrong type argument in position 1 > (expecting struct): # > > ? More helping as suggested for example in this message: If yes, the bug report should be renamed. And probably goes to the Guile bug tracker. :-) All the best, simon