From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CHe5MMbrVWMkaAEAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 03:35:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id MCm3MMbrVWOSmwAAauVa8A (envelope-from ) for ; Mon, 24 Oct 2022 03:35:02 +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 5041F15FEC for ; Mon, 24 Oct 2022 03:35:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omksK-0001gw-On for larch@yhetil.org; Sun, 23 Oct 2022 19:59:28 -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 1omUXf-0005Fc-J8 for guix-patches@gnu.org; Sun, 23 Oct 2022 02:33:03 -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 1omUXe-0001Sz-QE for guix-patches@gnu.org; Sun, 23 Oct 2022 02:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1omUXe-00069C-7V for guix-patches@gnu.org; Sun, 23 Oct 2022 02:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57963] [PATCH v5 2/2] home: services: Support user's fontconfig configuration. Resent-From: Taiju HIGASHI Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 23 Oct 2022 06:33:02 +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: Declan Tsien Cc: 57963@debbugs.gnu.org Received: via spool by 57963-submit@debbugs.gnu.org id=B57963.166650677823621 (code B ref 57963); Sun, 23 Oct 2022 06:33:02 +0000 Received: (at 57963) by debbugs.gnu.org; 23 Oct 2022 06:32:58 +0000 Received: from localhost ([127.0.0.1]:42786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omUXa-00068u-AE for submit@debbugs.gnu.org; Sun, 23 Oct 2022 02:32:58 -0400 Received: from mail-pg1-f182.google.com ([209.85.215.182]:37570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1omUXX-00068g-IR for 57963@debbugs.gnu.org; Sun, 23 Oct 2022 02:32:56 -0400 Received: by mail-pg1-f182.google.com with SMTP id h2so14496pgp.4 for <57963@debbugs.gnu.org>; Sat, 22 Oct 2022 23:32:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=taiju-info.20210112.gappssmtp.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=neo7y7RqNMb/53H8cztn3cJXjlXM/sSSd6l5G9L+G2A=; b=6SHIx6ZJ+PrDluRdbyj/dcpt8KzkNxFP4fvVoIp7hM9uX2Zd33iHhwhEmsMk6szBa1 wLB0cFx+JpAwdrqetQ2lqtJr8kDTVMpV8+aIrgIQtj+156dlU6gOpY4oXrjORFikDMTs FUbfMxpOaEMSupqzA2tPiWnhJL70Cf13L6mZmkbJdvsixwCDujKdnmFeJ2mP5sUnYxj5 eZPebEyGr9ghjhtsjZBmmDlhofFMFxIXHATdlLiH2RPAzMqTb0TLMcAvewmHKRT9Nt9m KaArdHGt3g4KZ4+On/xhpyP9cMvCZ0xNiPDmt6XZII35bwmTHyIQ1IQHGTue04xvWT6M xNVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=neo7y7RqNMb/53H8cztn3cJXjlXM/sSSd6l5G9L+G2A=; b=FNvs8WhxRAHu3E7Thdd6M046+QyOlxZO9Nez/EncVL21/X6So825reBw2Zn1azMpHJ KF4vGCaI4/xVKHI7BgZ0r11RLYbT9IaMhGdSDMTXgYXYU6hCrXRsdFGE/gGnpxXRErah Bp8IYZkbbYjuSUjLhlqOu/+nVGWy+h4vwldajq7f2QjZbuIHGO28IAhmg1NFS1K/7QVt Vzpx616VoaZgHXpeFjWZoaYrT0hLcKsfTiT2xdDf/IFPw9m+O4XQ2i79e5oMd7dtnUgu bbCXJ5nc4d1g2hqAPiciP8jzH5hhXQpUqLOKG6T92p52Z7aJwnr+DEjpClm7+Vj0rxu/ hCLA== X-Gm-Message-State: ACrzQf2nUSZkUo7FGYQtNRCRX4rukQTHnWLUmhFJ8Nnf/MiQGDjnBPGl VTYWKhMcu5OTb9k3jd3RXSiqnmN65f2+3A== X-Google-Smtp-Source: AMsMyM6M47Esn8lC97wUEi4YF3QlwJxejM4cN4Jrvmr32JI66dTSxdcJ0kE+jHmfFmmqUhIFeUwF8A== X-Received: by 2002:a05:6a00:2307:b0:565:9079:b165 with SMTP id h7-20020a056a00230700b005659079b165mr27982454pfh.53.1666506768791; Sat, 22 Oct 2022 23:32:48 -0700 (PDT) Received: from Taix ([240b:253:ec40:2400:b7d1:436e:2d61:e925]) by smtp.gmail.com with ESMTPSA id e13-20020aa798cd000000b0056bc0578c7dsm263669pfm.110.2022.10.22.23.32.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 22 Oct 2022 23:32:48 -0700 (PDT) From: Taiju HIGASHI 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> <87czalzgei.fsf@riseup.net> Date: Sun, 23 Oct 2022 15:32:45 +0900 In-Reply-To: <87czalzgei.fsf@riseup.net> (Declan Tsien's message of "Fri, 21 Oct 2022 17:15:33 +0800") Message-ID: <87mt9n9hiq.fsf@taiju.info> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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=1666575302; 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=neo7y7RqNMb/53H8cztn3cJXjlXM/sSSd6l5G9L+G2A=; b=s88IMb2esVhvZ3O1prnUA5hfZ2GYhGZrNLjB9P5jbqteHjY9icW2usefCJj3Pwrr7IsFK+ uE1qFbygjLcPX6ZN5EDsnmPz3i2B1da7epMQ2WIvK5CIPf6kQo26QNZF/IKZAybSnK8iq8 2DcxAk7UhmZ5eLTCXQ71KDveCsFGtbWRoJFoJLRABTt3JDZutwn0uLU7Ew+ZkCP5uCqC1A /4VWJseVD7L1XKOwZzepXk/SOLYRbE0trvKcbE1V6w0b7pjrs6mvPJ+i+p0LTOTcKSOBCs sM7K3eGlL5+N0cZKK8tYHdJtKM/6FyXe3WJnDeHILhYCTflEaaj6ZHEN0+FyEA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666575302; a=rsa-sha256; cv=none; b=jdmqBN9XLscQDAlzlGDLSl+eO4Ac/SbaGG1iZi+JFZaAF+mHJxfFxmWD9kLDz0gQzTCbCl C3/tWyJn3lrKcWT2PmghZgF4Oe5l+5EYmLHMTM670IJcaQ2RhDJVLQDijHsX/UGWH3P5H/ vqnuZO3FCtw4FYMLF5ZKjxIEDuz7EjYLctWnmTHYp3moCN4aXdUUzqk8q2UbLCSTRohgzP FR0/36VefZn4s8Ulp085dfqiMoImcKaYE1UvTTKynvp5g3j2RuSmSIpDxA2hH8is49iXBE LO6VMHAwHwxoc3TlX1oEoLCgaLZviteO5fFbO5WWqMUpg6LulqFzO8EBblTHLg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=taiju-info.20210112.gappssmtp.com header.s=20210112 header.b=6SHIx6ZJ; dmarc=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: 2.59 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=taiju-info.20210112.gappssmtp.com header.s=20210112 header.b=6SHIx6ZJ; dmarc=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: 5041F15FEC X-Spam-Score: 2.59 X-Migadu-Scanner: scn1.migadu.com X-TUID: 008AygD5C6xq Declan Tsien writes: > Taiju HIGASHI writes: > >> See: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57963#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. > 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 with my > guix-config ha. > >> don't understand the use cases that cannot be achieved with >> modify-services. > > I'd prefer =simple-service= over =modify-services= when possible. > For example, in this case. Let's say I want to add an item to > =font-directories=, I should not forget to include =guix-home-font-dir= > 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 > > =guix-home-font-dir= doesn't need to show up in my configuration. I see. We may make the interface even more unsuitable for extensions since we plan to allow the user to choose whether to configure with the fontconfig-configuration or a file-like object. I am taking a very long time to finalize the interface on this issue, should I still think about it more carefully...? Thanks, -- Taiju