From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id ANgoHZ7OTWYLAwEAqHPOHw:P1 (envelope-from ) for ; Wed, 22 May 2024 12:53:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id ANgoHZ7OTWYLAwEAqHPOHw (envelope-from ) for ; Wed, 22 May 2024 12:53:18 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; none 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 6257179A3E for ; Wed, 22 May 2024 12:53:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s9iy3-00077f-FK; Wed, 22 May 2024 06:13:07 -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 1s9iy0-00075d-1p for guix-patches@gnu.org; Wed, 22 May 2024 06:13:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s9ixz-0005Cw-Pi; Wed, 22 May 2024 06:13:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s9ixy-0000tC-IO; Wed, 22 May 2024 06:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71112] [PATCH 1/1] services: home: Use pairs instead of lists. Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: pelzflorian@pelzflorian.de, ludo@gnu.org, matt@excalamus.com, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 22 May 2024 10:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71112 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71112@debbugs.gnu.org Cc: Andrew Tropin , Florian Pelz , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Matthew Trzcinski , Maxim Cournoyer X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Florian Pelz , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Matthew Trzcinski , Maxim Cournoyer Received: via spool by submit@debbugs.gnu.org id=B.17163727593392 (code B ref -1); Wed, 22 May 2024 10:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 22 May 2024 10:12:39 +0000 Received: from localhost ([127.0.0.1]:54979 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9ixa-0000se-Fq for submit@debbugs.gnu.org; Wed, 22 May 2024 06:12:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:53720) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s9ixW-0000sY-C5 for submit@debbugs.gnu.org; Wed, 22 May 2024 06:12:36 -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 1s9ixQ-00070V-8M for guix-patches@gnu.org; Wed, 22 May 2024 06:12:28 -0400 Received: from out-185.mta0.migadu.com ([91.218.175.185]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s9ixL-0005B9-1g for guix-patches@gnu.org; Wed, 22 May 2024 06:12:28 -0400 X-Envelope-To: guix-patches@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop.in; s=key1; t=1716372740; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=r5Z76l9Kfa3EhkU79JqbMVnHNJPvLmgfX1DeBRnFJyo=; b=n21GSJNtEIVLGayY/A69q/SsQWkPq0bLn/nefdoSE2Xmr76/CgAxz5ojKGx84TaDa68eUq OGWOkgQNcD/MTHFUtvtvi9CbBDHETm8r9bYfF5Zvj1H2cQLKEulwbTZcZdHVsBgOhykvxf fRJmg0rKi0JOpXkKSxN9ymASRDkGVBmMTHe9tNIYIpQgkR66si3QqW09DCus+LKx2h4g+0 Hype/uI5pMwdRJi0bIuUVZMxc+Yn+mCPyYwoP0yxOJ3TYPGjfuiv7KhdxywbRs19od+hno Zass02/jsTK5PgbgVZr15UpLu7Z1tThqAvzdAQykwJALQpgFVjZvjCROoXzOng== X-Envelope-To: andrew@trop.in X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. Date: Wed, 22 May 2024 14:02:27 +0400 Message-ID: <2917af36dcf4b76410200be5e3eb877dae526a76.1716372146.git.andrew@trop.in> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=91.218.175.185; envelope-from=andrew@trop.in; helo=out-185.mta0.migadu.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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: , Reply-to: Andrew Tropin X-ACL-Warn: , Andrew Tropin via Guix-patches From: Andrew Tropin via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -4.00 X-Migadu-Queue-Id: 6257179A3E X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.00 X-TUID: TKq3pFfplJJY * gnu/services/guix.scm: Use pairs instead of lists. * doc/guix.texi: Update accordingly. * gnu/tests/guix.scm: Update accordingly. Change-Id: I0b8d3fa5b214add89bdb84a11fa20d1b319435f0 --- doc/guix.texi | 4 ++-- gnu/services/guix.scm | 2 +- gnu/tests/guix.scm | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 8073e3f6d4..8cc5edc805 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -39576,7 +39576,7 @@ Guix Services (operating-system (services (append (list (service guix-home-service-type - `(("alice" ,my-home)))) + `(("alice" . ,my-home)))) %base-services))) @end lisp @@ -39585,7 +39585,7 @@ Guix Services @lisp (simple-service 'my-extra-home home-service-type - `(("bob" ,my-extra-home)))) + `(("bob" . ,my-extra-home)))) @end lisp @end defvar diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm index 96f5ecaac0..1f0e2a310d 100644 --- a/gnu/services/guix.scm +++ b/gnu/services/guix.scm @@ -696,7 +696,7 @@ (define guix-data-service-type (define (guix-home-shepherd-service config) (map (match-lambda - ((user he) + ((user . he) (shepherd-service (documentation "Activate Guix Home.") (requirement '(user-processes)) diff --git a/gnu/tests/guix.scm b/gnu/tests/guix.scm index 12ad1bf255..6071cb018e 100644 --- a/gnu/tests/guix.scm +++ b/gnu/tests/guix.scm @@ -271,7 +271,7 @@ (define %guix-home-service-he (define %guix-home-service-os (simple-operating-system (service guix-home-service-type - `(("alice" ,%guix-home-service-he))))) + `(("alice" . ,%guix-home-service-he))))) (define (run-guix-home-service-test) (define os -- 2.41.0