From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UGnTCZ51UmNPmwAAbAwnHQ (envelope-from ) for ; Fri, 21 Oct 2022 12:34:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OEyaCZ51UmPtXQEAauVa8A (envelope-from ) for ; Fri, 21 Oct 2022 12:34:06 +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 B0E043B82C for ; Fri, 21 Oct 2022 12:34:05 +0200 (CEST) Received: from localhost ([::1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olpLl-0000xA-KN for larch@yhetil.org; Fri, 21 Oct 2022 06:34:02 -0400 Received: from [::1] (helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olo8V-0003vi-1V for larch@yhetil.org; Fri, 21 Oct 2022 05:16:15 -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 1olo8J-0003dF-CC for guix-patches@gnu.org; Fri, 21 Oct 2022 05:16:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olo8I-0003XJ-BP for guix-patches@gnu.org; Fri, 21 Oct 2022 05:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1olo8H-0006pt-Ma for guix-patches@gnu.org; Fri, 21 Oct 2022 05:16:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57963] [PATCH v5 2/2] home: services: Support user's fontconfig configuration. Resent-From: Declan Tsien Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Oct 2022 09:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57963 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Taiju HIGASHI Cc: 57963@debbugs.gnu.org Received: via spool by 57963-submit@debbugs.gnu.org id=B57963.166634375426263 (code B ref 57963); Fri, 21 Oct 2022 09:16:01 +0000 Received: (at 57963) by debbugs.gnu.org; 21 Oct 2022 09:15:54 +0000 Received: from localhost ([127.0.0.1]:37016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olo89-0006pX-IT for submit@debbugs.gnu.org; Fri, 21 Oct 2022 05:15:53 -0400 Received: from mx0.riseup.net ([198.252.153.6]:43498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olo87-0006lP-R7 for 57963@debbugs.gnu.org; Fri, 21 Oct 2022 05:15:52 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4MtzN16Jq0z9sPR; Fri, 21 Oct 2022 09:15:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1666343745; bh=CK1jeCSUrsn4GiIz2jcn7h+zT9QRej5kQ6qvNaxqFso=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=mSGV4f0OE2X9AX7wqcOkZ2h4qGW85qiaYTowPYA8Dph6UcR19gCZ3Aw1TDYgGqQLu bDchSYd4M7BDC3ICQpY+jYC/nw1caJJclLF3q+dKTW3zH3dfWyyre2VA1Qx+rFCw61 rzggMryb0rthkUlSFg0FjnKn6iocq6vLrMj4YECw= X-Riseup-User-ID: 4BA38C4B9347E12A95F1B0107A4DC6609A6A2B8E53CD8D8E2F552FF46D327FD0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4MtzN11wbrz5vVd; Fri, 21 Oct 2022 09:15:45 +0000 (UTC) From: Declan Tsien In-Reply-To: <87wn8ta9ma.fsf@taiju.info> References: <20221002131535.9972-1-higashi@taiju.info> <20221002131535.9972-2-higashi@taiju.info> <875ygf3ve6.fsf@riseup.net> <87ilkdbz75.fsf@taiju.info> <87a65psra1.fsf@riseup.net> <87wn8ta9ma.fsf@taiju.info> Date: Fri, 21 Oct 2022 17:15:33 +0800 Message-ID: <87czalzgei.fsf@riseup.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666348446; 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: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=s9X04zb/fvw9LdvOYGQ80P04LTniDOBG3ypbfDciRlI=; b=HODo0wznHZRYxid47pelkzrP7al2w7t0v7vd/5HMA26uPF/94FSYRtRQ2FZOhdTD0PgmoT SwtWEtzikBoRiIVKz2DbQIBJxugtubFxp6zsgQ5JMDWWK3Y7ElTEI73jGcalk3vDr1Bjxb cOewoEjbCRbGjVejcLver8y5EtsLGc3uN0pt3PjzNECD1rlznsEUn6jVFLNrqU3IFr/s2g zkitDmvsZWXh/cURAqlulqNlW+QaTQKFzI4ZgrEDQxPhjW4PTCgjM522heJR8rjnO1MTrl XaH5u4iNCEy1I/n1xrpopFFTpBcAlMNTKXfes3mGoFsJloCHbeMdzRZsKQ7lLA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666348446; a=rsa-sha256; cv=none; b=igtfQUBfj2HDXid2TkBxXZ4+8hUWWdqF/1dizlDcAH4ZqhZdMSTgueHiYW4fwPHWqSlHta eJzxw3xSYOSrdCWUiLNaLxPmO1gZ37vrR7lur2lrgqokbU+szDZn4xr4YArcE3P2w82wGk 7pXTfu718Z3VrugzOisnKZKiGgQRNwcWaH6n+gFuSZerSLnFEuZnUc4grvD8NeKOk/Lb08 Ml58eF39ONUb8d6fx31SSSR92Lba2JTnkhKJ/FQEVVOyPikMFxb68ithwDhLplwxl9FQ0T 8OtPJGIIaniGvj+Chwriu8l6aFS6yR4wvgwjvM8a51HXNOeqltLRZZITSmn5OQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=mSGV4f0O; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=mSGV4f0O; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B0E043B82C X-Spam-Score: 4.66 X-Migadu-Scanner: scn0.migadu.com X-TUID: s0m2f/0iSYl0 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Taiju HIGASHI writes: > See: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57963#71 > > We have to come up with a merge strategy if we allow to extend, how > would you like to extend it? OK, got it. Sounds reasonable.=20 I should have followed the conversation thoroughly, Sorry about that. > > Perhaps I am less experienced in Guix customization than you are, and Nah, I haven't contributed much to Guix community yet. Only poking around w= ith my guix-config ha. > don't understand the use cases that cannot be achieved with > modify-services. I'd prefer =3Dsimple-service=3D over =3Dmodify-services=3D when possible. For example, in this case. Let's say I want to add an item to =3Dfont-directories=3D, I should not forget to include =3Dguix-home-font-di= r=3D too, like this: #+begin_src scheme (home-fontconfig-configuration (font-directories (string-list (list guix-home-font-dir "another-dir"))) #+end_src But with service extension I can just write: #+begin_src scheme (home-fontconfig-extension (font-directories (string-list (list "another-dir"))) #+end_src =3Dguix-home-font-dir=3D doesn't need to show up in my configuration. =2D--- Thanks --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHLBAEBCAA1FiEE9pXznsYl4IEztXWfD8aHA3Xv4vUFAmNSYzUXHGRlY2xhbnRz aWVuQHJpc2V1cC5uZXQACgkQD8aHA3Xv4vXHkwwAtHUOPTBnc/bIM4pmNW9C6ax4 d+r9yifg8bVIYN/x+L0hpgACPK2TKMQs5v/2oLcTWVJ9iuXIHl2Dyo6jF7om1rO2 H4OESDYT0gfPenctTJWdaT6n8GJkn9vpx9HcS4jxuzQx2Zv8r7pwJHw8IL1SloXV db5vHAVUDyjIkXNHuh6+O+GYVISeeU/psl2VhtQ6qghO5TmZek1IMCaOw728honw iarDuF58NU/TAeEkplPlAAsaiWNgKKfWJhRuEplCLZ8W8DXPnKv9ZmIWFrF3NeR0 IYHOduH4zjSfJON2DwlxMgBR4KGrYVre08zcOQ1oYutlbY59zpDzR9A6mVj/HqRL gNZ1oyg3L5buT33JXFgngBN4kk6gvZppm0Pwi5D21nJj0avAMMVvj0YczEmk+JF8 mZoTsQPiqgaa4M7agecksSNbOuTdZLfaWhamac0kdlKKh4vqq0uDt8JmOTIF2GVK Qxm5YsTKXpJAnGQJcQgfGzcR1jzMiK5PE7dUgHZr =NMlp -----END PGP SIGNATURE----- --=-=-=--