From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MKI1Km+Uj2JzqQAAbAwnHQ (envelope-from ) for ; Thu, 26 May 2022 16:53:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aC8cKW+Uj2LlUAEAG6o9tA (envelope-from ) for ; Thu, 26 May 2022 16:53:35 +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 6B0F03C932 for ; Thu, 26 May 2022 16:53:35 +0200 (CEST) Received: from localhost ([::1]:47894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuErm-0003bc-BK for larch@yhetil.org; Thu, 26 May 2022 10:53:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nu85E-0002GR-0Q for guix-devel@gnu.org; Thu, 26 May 2022 03:39:00 -0400 Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]:55684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1nu85A-0000kp-Mn for guix-devel@gnu.org; Thu, 26 May 2022 03:38:58 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4L80DS07lZz9st4 for ; Thu, 26 May 2022 09:38:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=reilysiegel.com; s=MBO0001; t=1653550728; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=l1DHrBnDdUb1525hckhUM1CbmcHzkGg79/CW1pLpKHQ=; b=DTadXWfp6EAFb4sy8Xdo5y05U+i1Eohj1mD/EDpgMhVAn9kWMTxaA9TicsmU7FkAVABzxT uMMPyfGvg17fs7HcMy6cf3zWQJLZjMvqZ0yGmljTJycrI9gkg0HgL26kU48jj31vhFF19A xY2rvhyjUqY9OJ7ZxrJkzdTiBrmvqeZnstDgrLm/DXRHrWCUuvxmYyVCfEWNcnMseUx0ZB 5msycwE4kSEnBaFwndAxEHO7wXY7RDPcgdCRbX/06Lm/tjhNnBceS6d3ZhK6yDYw+i/1w7 YB8AeuHHmGeBafd/pMjbIc6M6eyDq9tJRf5f6E8QtfVOsxsVK8AJFF9a+Ek6DQ== From: Reily Siegel To: guix-devel@gnu.org Subject: Breaking change: Make 'description' of mandatory Date: Thu, 26 May 2022 09:38:38 +0200 Message-ID: <87leuospz5.fsf@reilysiegel.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:67c:2050:0:465::202; envelope-from=mail@reilysiegel.com; helo=mout-p-202.mailbox.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 26 May 2022 10:53:22 -0400 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1653576815; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=l1DHrBnDdUb1525hckhUM1CbmcHzkGg79/CW1pLpKHQ=; b=lkWJZlNfddM4p483pkeUbUma8oKn9Xxxop+DmEfS5kjTARYYBkN+jRs/nLKd/uZD4GJNqt w+23d0clORaz851UoRhvinxKGw3By9wO+tu5kEKrdTAGJZjwXvC469yfRi9z/RaLsPcz6N BogJ7hCqrAW9EdPupgMJwxXAWlp0S6XMQBdTFVbBUO7fTiE/cdtp5HM8UB1CN5OvasdLtF JBQrkPX7I3ZaP4UyE34xKW8uOKTpx5Jh965jde1y8xRlIErk/78NGL20Y/DLBRlcyjAA5/ gR/9knANP5SoE872tEhiQD/l+tBkAiRDvyJwZTXxcKj+0mvvYs5bJEi8njRTSQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1653576815; a=rsa-sha256; cv=none; b=GN5e1posvgVeWAMwErSjl+bp6YsqR7nqsyckobx0dErLzEoW0LpwjBNt1Qa6BBvM0r+S8X 07AcTJWfCcr7Ph+4WoNZFCQXUidNyitRjKh43BDv/+9yFw5510SzIduFjPEmAq7HCdu4Ua wMJDv8Bl0OU1J+JxriiV2jAPC/qITBwT1ka6YRdLmnQk6XH2Ibx65VHsVIpD+TqYL8VOYP lxRN022E2roRlujo/8ETtxZP6a2gbmz2fLWOYNHzpYiSSojgYXaaOZRvSl6pgbM6mpTi3V B1TmngbbYg55G6s3fIHk3WMfDXoLz4J+m/lVy5ifXIYofcYtQL8AP3Jc4eIBbQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=reilysiegel.com header.s=MBO0001 header.b=DTadXWfp; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.84 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=reilysiegel.com header.s=MBO0001 header.b=DTadXWfp; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6B0F03C932 X-Spam-Score: -3.84 X-Migadu-Scanner: scn0.migadu.com X-TUID: OnC2fV2jTwpz Hello, This commit at 3948ac25b1dccc40c7fdf56377f94a0775a835ee broke my configuration. I don't mean to grumble about this, but rather figure out if I am doing something horribly wrong in my configuration to cause such a simple change to break things, and perhaps alert other people making similar mistakes happen. The solution here is incredibly obvious, I just need to add descriptions to services I declare in my configuration, but that this change happened, and I didn't see anyone else have issues on guix-devel, guix-help, or elsewhere (I may have missed something), I thought it a good idea to ask if I am doing something unsupported in my configuration. The problem arises when a certain feature needs to extend two services to be useful: take configuration of an emacs package. It must first extend (in the case of Guix home) home-emacs-service (from RDE channel) with the emacs configuration to be inserted to init.el, and home-profile-service-type, to add the emacs package to the profile. It seems like simple-service /would/ be a good option here, except as best I can figure out it can only extend one service. So instead, I create a new service-type, perhaps named my-emacs-feature-configuration-service, which takes no value and has no extension mechanism, but only serves to extend multiple other "real" services. This change (and the discussion at https://issues.guix.gnu.org/55404) indicates to me that all service-types, no matter where they are implemented, are meant to be consumed by a generic user, not used in a one-off way like my configuration does. So, to sum up, I have a few questions: 1. Is service-type meant for use in individual user configurations? 2. Is there an equivalent function to simple-service that takes multiple service/value pairs that I have missed? (e.g., (simple-service-like service-a val-a service-b val-b ...) or (simple-service-like (list service-a val-a service-b val-b))) 3. If the answer to 2 is no, does it make sense to extend simple-service to work with multiple service extensions, or is there some reason for only extending one service at a time? Thanks for reading through this email that I am for some reason sending even though it would be faster to just add descriptions to all my services, and hopefully I can learn something about Guix! -- Reily Siegel