From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 cD/nCUmQOWOwXAAAbAwnHQ (envelope-from ) for ; Sun, 02 Oct 2022 15:21:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qLPgCUmQOWPM2QAA9RJhRA (envelope-from ) for ; Sun, 02 Oct 2022 15:21:13 +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 E91734F1 for ; Sun, 2 Oct 2022 15:21:12 +0200 (CEST) Received: from localhost ([::1]:34126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oeyu8-0003YB-2Z for larch@yhetil.org; Sun, 02 Oct 2022 09:21:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oeyty-0003Y1-Tm for guix-patches@gnu.org; Sun, 02 Oct 2022 09:21:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47429) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oeyty-0004AR-Jn for guix-patches@gnu.org; Sun, 02 Oct 2022 09:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oeyty-0008Ko-A0 for guix-patches@gnu.org; Sun, 02 Oct 2022 09:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57963] [PATCH v5 1/2] home: services: Add base. Resent-From: Taiju HIGASHI Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 02 Oct 2022 13:21: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: 57963@debbugs.gnu.org Cc: ludo@gnu.org, liliana.prikler@gmail.com, andrew@trop.in Received: via spool by 57963-submit@debbugs.gnu.org id=B57963.166471686132024 (code B ref 57963); Sun, 02 Oct 2022 13:21:02 +0000 Received: (at 57963) by debbugs.gnu.org; 2 Oct 2022 13:21:01 +0000 Received: from localhost ([127.0.0.1]:46507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeytx-0008KG-9J for submit@debbugs.gnu.org; Sun, 02 Oct 2022 09:21:01 -0400 Received: from mail-pf1-f182.google.com ([209.85.210.182]:42925) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeytu-0008K2-JY for 57963@debbugs.gnu.org; Sun, 02 Oct 2022 09:20:59 -0400 Received: by mail-pf1-f182.google.com with SMTP id q7so515707pfl.9 for <57963@debbugs.gnu.org>; Sun, 02 Oct 2022 06:20:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=taiju-info.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date; bh=LXRJAVpfLdBpTT2yL3606Ago0/igxgmkC0XdqAct9N8=; b=29FggBucOFjMspcTnkZucuTqfeSrP4YhTeN4zirARxrtaXcEw+7os2QSiaauVyDv8F RZ6/atwGtCbt5euYDMfHcxagH1jQ8s1A94YGP2iao61N2ysW/UQ0U/fkVtyI94XUos4U oXbTJTtRsO7EmTpwsc8McZbcYlxp1X+zl73x515pTNgoNSCaCOnFkxGEJzLO265NExvn ZQAx4WqVOPgSAtAEvHgPvXFGYdsEcCOQRHjNU4FbpMgtDvyazIlldT8F2oCvow/K18OT cZldKXvKbQf5NFLgKclCI1WG/wFQX0MJ+0dyMrj48/AvopaavfMDfxhPuIf8zx3pZwTs GuWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date; bh=LXRJAVpfLdBpTT2yL3606Ago0/igxgmkC0XdqAct9N8=; b=4ysKIrRaJTPoYfLgjzdOrQ79fMcoZEjluGAdF4AtNP+0XyLRw0v2Vt9jflE8Lpmon7 cRMoIPvTZv9TlRo8YoIN+V+8MqKW5pZzqSFRI7MOlv40kK0JWA1nAeRr94/lKsJoEoRx OndlkK8ufFgbTCpiFnFYCRDD0BO/5wrPPzQJVmJdm/VubsXowQceUYb06gZWhqxLOBSS SnPHJtPeBHpyQxK2to16XN1Af8hcpqkrFatqfMUg9g6PoTfRe8NDNWwXtCE0GPTIiBFK SjWtvt+q/0hBmrFqh1nCyD9LLRmPa+qEdmKPyUY/kv0OKx5V6Pj2DcmzAj0qD/3RlSqd VUWg== X-Gm-Message-State: ACrzQf135tDq4+ZosXSZTk6sQ6cmvfDzHYtQX7zAO8xsZSGolkPs6gA1 55bkyihXUoXkhGJ+L4Lo98HP+g== X-Google-Smtp-Source: AMsMyM6ShOgMloSGpoNL/YkDASUNTBPYdC8pjv0Z7KYvetk8jFCBoPiT4SQ9LnobAeyIemG0JBohZA== X-Received: by 2002:a05:6a00:1748:b0:55a:ddbe:85d7 with SMTP id j8-20020a056a00174800b0055addbe85d7mr18356103pfc.68.1664716852765; Sun, 02 Oct 2022 06:20:52 -0700 (PDT) Received: from Taix ([240b:253:ec40:2400:b7d1:436e:2d61:e925]) by smtp.gmail.com with ESMTPSA id f13-20020a170902f38d00b00176a6ba5969sm5281723ple.98.2022.10.02.06.20.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Oct 2022 06:20:52 -0700 (PDT) From: Taiju HIGASHI References: <20221002131232.9063-1-higashi@taiju.info> Date: Sun, 02 Oct 2022 22:20:49 +0900 In-Reply-To: <20221002131232.9063-1-higashi@taiju.info> (Taiju HIGASHI's message of "Sun, 2 Oct 2022 22:12:31 +0900") Message-ID: <87fsg6qs3y.fsf@taiju.info> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable 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=1664716873; 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: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=Nkw6dzcap295Y9B/QeOM837aYlO2E4JkHN/11kDuMO0=; b=Ju18HQnOjnH5mKJsYDUw5aC3cLITlcWo+GA7DvlSj9Ik+TTqhczhwY6hx09sMZYY7VJNem PXwr8tWVVQ5dtzd0l2z7MCgXaHRW1aKFIchWnJvo2iNpnmLC55XOGwhbkBWCCFYDL5jc70 +NanMdiSE8dYVXiv48X7nfACj0i+Yprjo4JX1Lc2yxiCuoJxBZ977QJMOK5FiYBWdXtYBy JF+Lio06krKbIKrB+e7vrdt1edHLWsUxKIU4y6LXe4c4iocGsAtyTRVg1DXVSkmCjcgZNn uJxpWGYjAX+rNFLp6pCTYgNKOhbkY1yevlxrmvoBKTPbkOH0eaQjYuPV64Mpfw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664716873; a=rsa-sha256; cv=none; b=pfjIbK2TqXMU16VFk5GPHUelhaJo8oiFAkwvu7GkaoqoSasoIeBpS2SR7qzEQLrQOSHbCx a5tIRzp70PnouIqiomYUl1QgO+PUAEf4lN9de8+KqPfrkk9oziBonDOm2XPW7JV0/zN5cr NID2pXQUY6BmrUi6L2+Zi2+ugDL/41JSlAS/2N+YMIZVzqObfHwSIGK5sLtvNHmzn0vRPk iX+PO+Mdg8W4+5myC9h3Ywvk+e4JEtZezSXhFCAidTl6XQBWt8Sm4sEz/rebG4DSs4aT2d Kua+//8i/EXzoVR8TZ+172SS9SVpBpCu/gkxgwnYdIrEwOxkiYFrf7XqpOc42Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=taiju-info.20210112.gappssmtp.com header.s=20210112 header.b=29FggBuc; 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: 4.16 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=taiju-info.20210112.gappssmtp.com header.s=20210112 header.b=29FggBuc; 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: E91734F1 X-Spam-Score: 4.16 X-Migadu-Scanner: scn1.migadu.com X-TUID: Wdoncv0Htnze Hi, I'm sorry. This email is incorrect; the second email, "[PATCH v5 1/2] home: services: Add base." is correct. Taiju HIGASHI writes: > * gnu/home/services/base.scm: New file. > * gnu/home.scm (): Move home-fontconfig-service-type from > home-environment-default-essential-services to its %home-base-services. > * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. > --- > gnu/home.scm | 5 ++--- > gnu/home/services/base.scm | 35 +++++++++++++++++++++++++++++++++++ > gnu/local.mk | 2 ++ > 3 files changed, 39 insertions(+), 3 deletions(-) > create mode 100644 gnu/home/services/base.scm > > diff --git a/gnu/home.scm b/gnu/home.scm > index c95d1e0818..c79db87018 100644 > --- a/gnu/home.scm > +++ b/gnu/home.scm > @@ -19,10 +19,10 @@ > > (define-module (gnu home) > #:use-module (gnu home services) > + #:use-module (gnu home services base) > #:use-module (gnu home services symlink-manager) > #:use-module (gnu home services shells) > #:use-module (gnu home services xdg) > - #:use-module (gnu home services fontutils) > #:use-module (gnu services) > #:use-module (guix records) > #:use-module (guix diagnostics) > @@ -66,7 +66,7 @@ (define-record-type* home-environment > this-home-environment))) > > (services home-environment-user-services > - (default '())) > + (default %home-base-services)) > > (location home-environment-location ; > (default (and=3D> (current-source-location) > @@ -82,7 +82,6 @@ (define (home-environment-default-essential-services he) > > (service home-symlink-manager-service-type) > > - (service home-fontconfig-service-type) > (service home-xdg-base-directories-service-type) > (service home-shell-profile-service-type) > > diff --git a/gnu/home/services/base.scm b/gnu/home/services/base.scm > new file mode 100644 > index 0000000000..fbf92ba213 > --- /dev/null > +++ b/gnu/home/services/base.scm > @@ -0,0 +1,35 @@ > +;;; GNU Guix --- Functional package management for GNU > +;;; Copyright =A9 2022 Taiju HIGASHI > +;;; > +;;; This file is part of GNU Guix. > +;;; > +;;; GNU Guix is free software; you can redistribute it and/or modify it > +;;; under the terms of the GNU General Public License as published by > +;;; the Free Software Foundation; either version 3 of the License, or (at > +;;; your option) any later version. > +;;; > +;;; GNU Guix is distributed in the hope that it will be useful, but > +;;; WITHOUT ANY WARRANTY; without even the implied warranty of > +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > +;;; GNU General Public License for more details. > +;;; > +;;; You should have received a copy of the GNU General Public License > +;;; along with GNU Guix. If not, see . > + > +(define-module (gnu home services base) > + #:use-module (gnu home services) > + #:use-module (gnu home services fontutils) > + #:export (%home-base-services)) > + > +;;; Commentary: > +;; > +;; Base home services---i,e., services that 99% of the users will want t= o use. > +;; > +;;; Code: > + > + > +(define %home-base-services > + ;; Convenience variable holding the basic services. > + (list (service home-fontconfig-service-type))) > + > +;;; base.scm ends here > diff --git a/gnu/local.mk b/gnu/local.mk > index 26fdfe7ca9..c0fceafd3f 100644 > --- a/gnu/local.mk > +++ b/gnu/local.mk > @@ -54,6 +54,7 @@ > # Copyright =A9 2022 muradm > # Copyright =A9 2022 Hilton Chain > # Copyright =A9 2022 Alex Griffin > +# Copyright =A9 2022 Taiju HIGASHI > # > # This file is part of GNU Guix. > # > @@ -85,6 +86,7 @@ GNU_SYSTEM_MODULES =3D \ > %D%/compression.scm \ > %D%/home.scm \ > %D%/home/services.scm \ > + %D%/home/services/base.scm \ > %D%/home/services/desktop.scm \ > %D%/home/services/symlink-manager.scm \ > %D%/home/services/fontutils.scm \ --