From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eLxqLmGbymaPgQAA62LTzQ:P1 (envelope-from ) for ; Sun, 25 Aug 2024 02:48:01 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id eLxqLmGbymaPgQAA62LTzQ (envelope-from ) for ; Sun, 25 Aug 2024 04:48:01 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=retrospec.tv header.s=fm3 header.b=l8q276BM; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="C AuPcgq"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724554081; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=d8SjTa1aJmn3NBLudai29jmRb2v9ckzzJZHfs+1DZkE=; b=JcHe3EmD0einLxDHOJXcfm91fsb7DOHP2v/ykCzIJbAsCft1JQSwGA99UIl9xebORE0KIh kGTY5hA85Pb7UbLbePrcIWh9RpSrzUv4ED/FwlLMka3yQetV1uGEicmfrNq1wWWC6Bseqq SdVmjz/O3ZVASkzx8xOMJKFz1Qzru4HebsjcZB/QTvvod1TWmSDKQaWRHpTleIdVRhRiPj EydhVpLvAvJp+SN/KTYH00rDt3HJ1yjr+7Y8MTujQGlXiBav6nbk+cX1lJh3aqvfsazWo8 fW1/iIh3TnLsNV8t1GkuV53yeJqaMnHAHSLjeM4PX60SUsGLtJKukOAqtBkCJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=retrospec.tv header.s=fm3 header.b=l8q276BM; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="C AuPcgq"; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724554081; a=rsa-sha256; cv=none; b=iU4xZ/5/m2Y7FfOIOF2t8O4SLsc6tQz7l3SxsoXtRMaTeFEHLCQdLSDyNGn8gsv9djEUOi 0CgdWxOCd6zAlKV/cI6PATo7+rfgePvSaTszZ1Uix8IjJrB4ABtoTSo/HPNfh4naw4pRmd Iv2At7ugh5aURcbua1focgGZMMp7Sv60SWTS903YWaK3ebe9iHVH95PgUHVRaONqp1wJKq ZKlIVa9qj2RVybhpeT8RtPmIEN+NBmbyicbd6S6CFaoSbcIJ4+Mk7+6xlLvENTai7zy+XH 4aFltrg/VOu4KSd7A3N1hWt5pLXm0ML7cwhr/XRuwSJbVRHNAtxerXrH6HM5tA== 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 827AC6B050 for ; Sun, 25 Aug 2024 04:48:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1si3Hq-0002Sl-74; Sat, 24 Aug 2024 22:47:26 -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 1si3Ho-0002SZ-Or for help-guix@gnu.org; Sat, 24 Aug 2024 22:47:24 -0400 Received: from fout1-smtp.messagingengine.com ([103.168.172.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1si3Hi-0003Lt-BX for help-guix@gnu.org; Sat, 24 Aug 2024 22:47:20 -0400 Received: from phl-compute-04.internal (phl-compute-04.nyi.internal [10.202.2.44]) by mailfout.nyi.internal (Postfix) with ESMTP id E83091390BC2; Sat, 24 Aug 2024 22:47:14 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Sat, 24 Aug 2024 22:47:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1724554034; x=1724640434; bh=d8SjTa1aJmn3NBLudai29jmRb2v9ckzzJZHfs+1DZkE=; b= l8q276BMj8fTtL6yCJEX+sj/4hKyLxRWEV+JeDslSRj8Ezjp+0AD0TBiy2/tSJDU jm+LIBaPTRL/s8/fPEOh16eo60UW5ZOe+RPb3Zieg1u/L+kD9Oel/WK4ERXn6/2B MkFE6xyMdwicIK5x/4QnlDtigXtC6B4aNKBy194psAVGW6X2ZfnRaog6Ndx/byEu A4oMW84TFj3D36GKjOsy8upAcabjCp6GJHoNuv8nMG+4nght9aerF9EWAnFErQz4 Th++WP6YgEb/LzTHq7wIOkyqcvo8/ndOn8eE/n0BsRTFS3v7o9xTWEfqRC1+atdC mwzGccg7J0AJsdTWVGEFBA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1724554034; x= 1724640434; bh=d8SjTa1aJmn3NBLudai29jmRb2v9ckzzJZHfs+1DZkE=; b=C AuPcgqvO5ak39xtsj0ChMqQw60ONbobg82ocSjwNmPw1XJ6zo3ik3YXO0q7idimD QM8rOEyOycyImq+qrTplRrwiWfbDsgpiINKCp/MvDI9FU4DqckbB+OpV1/9UQAR4 y2K5dp4tXbcp7vhV/NUlCAt1zhaTClH4UUBxZBAGpQmAKDn+VBLqiliGbRtO5jAk KyL/PXauV3ah39gUR9VnnldXPJkXI6rv0TIOYgRp3Eyjulr/VdljmkhKeAGUIEc0 pjfCDVxFxyOfWJJGrofkJFBsgXuDdhd2N+NoizDo/s56SMtslHSLT8ZjGJnry1ID r7ICvExh/JzMrtFpA3uRg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddruddvhedgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepfhgfhffvvefuffgjkfggtgfgsehtqhertddtreej necuhfhrohhmpefkrghnucfguhhrvgcuoehirghnsehrvghtrhhoshhpvggtrdhtvheqne cuggftrfgrthhtvghrnhepudejteefheeiudehfeffvefgkeffuedtudeuheelhffhteej gfdtfeektdduveejnecuffhomhgrihhnpeguvggsihgrnhdrnhgvthenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehirghnsehrvghtrhhoshhp vggtrdhtvhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpth htohephhgvlhhpqdhguhhigiesghhnuhdrohhrghdprhgtphhtthhopehplhhpihhpphgv nhegsehgmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 24 Aug 2024 22:47:13 -0400 (EDT) References: <7AFA4EDF-B265-436C-BF60-F0D2DA0EED9A@gmail.com> User-agent: mu4e 1.8.13; emacs 28.2 From: Ian Eure To: Patrick Pippen Cc: help-guix@gnu.org Subject: Re: /etc/config.scm issues after modifying Date: Sat, 24 Aug 2024 19:34:58 -0700 In-reply-to: <7AFA4EDF-B265-436C-BF60-F0D2DA0EED9A@gmail.com> Message-ID: <87bk1h2ua6.fsf@meson> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=103.168.172.144; envelope-from=ian@retrospec.tv; helo=fout1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.65 X-Migadu-Queue-Id: 827AC6B050 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.65 X-TUID: ui7nYQ6hoPRm Hi Patrick, Patrick Pippen writes: > https://paste.debian.net/1327458 > > Getting this error: /etc/config.scm:23:0 : error:=20 > %desktop-services: invalid field specifier=20 > > I made these modifications trying to 1) not use substitutes and=20 > compile from source and add bspwm so that I can login into it=20 > via the default login manager. > > Is this not really correct way to do this or am I going about it=20 > the wrong way? > You have three errors in your configuration, all related. The=20 first is that your parens are unbalanced, which causes=20 %desktop-services to end up at the wrong level of nesting. This=20 is what causes the error you get, because you=E2=80=99re initializing the=20 fields of operating-system, and %desktop-services is not a valid=20 specification of a field name and value. The second is that %my-services is a list of services, but you=20 wrap it in a second list on line 45. The third is that you have=20 %desktop-services in your service list on line 53, but are also=20 including a modified version of %desktop-services. This would=20 cause an error about duplicate services. You want to fix the parens and remove the (service %my-services)=20 from line 45, and replace %desktop-services with %my-services on=20 line 53. Your services should look like this: (services (append (list (service xfce-desktop-service-type) (service cups-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout)))) ;; This is the list of services we are appending to. %my-services)) You may have other paren-balancing issues in there. If you=E2=80=99re=20 using an editor with decent Lisp support, the simplest way to fix=20 this is to reindent the whole file (in Emacs: C-x h C-M=3D\) and=20 eyeball it. Any issues will be reasonably evident in the=20 indentation of each field. Best, =E2=80=94 Ian