From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6B6NB273E2DvAgAA0tVLHw (envelope-from ) for ; Fri, 29 Jan 2021 11:54:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id mBFdA273E2B+PAAA1q6Kng (envelope-from ) for ; Fri, 29 Jan 2021 11:54:22 +0000 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 872B39403EB for ; Fri, 29 Jan 2021 11:54:21 +0000 (UTC) Received: from localhost ([::1]:54900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5SM0-0005kc-9l for larch@yhetil.org; Fri, 29 Jan 2021 06:54:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38008) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l5S8A-0007b6-GM for guix-patches@gnu.org; Fri, 29 Jan 2021 06:40:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39720) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l5S8A-0006nF-7k for guix-patches@gnu.org; Fri, 29 Jan 2021 06:40:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l5S8A-0006vH-3q for guix-patches@gnu.org; Fri, 29 Jan 2021 06:40:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46031] services: cuirass: Add "simple-cuirass-services". Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 29 Jan 2021 11:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46031 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Jonathan Brielmaier Received: via spool by 46031-submit@debbugs.gnu.org id=B46031.161192039426593 (code B ref 46031); Fri, 29 Jan 2021 11:40:02 +0000 Received: (at 46031) by debbugs.gnu.org; 29 Jan 2021 11:39:54 +0000 Received: from localhost ([127.0.0.1]:51266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5S81-0006ur-Ra for submit@debbugs.gnu.org; Fri, 29 Jan 2021 06:39:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l5S7y-0006uZ-OJ for 46031@debbugs.gnu.org; Fri, 29 Jan 2021 06:39:51 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42503) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l5S7t-0006gL-Dy; Fri, 29 Jan 2021 06:39:45 -0500 Received: from [2a01:e0a:19b:d9a0:10b6:a2c3:9f4e:6dae] (port=55828 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l5S7s-0001Uy-5x; Fri, 29 Jan 2021 06:39:44 -0500 From: Mathieu Othacehe References: <87czxxz767.fsf@gnu.org> <87h7n8vosx.fsf@gnu.org> <88959b06-fee9-e786-c105-d4766709281c@web.de> Date: Fri, 29 Jan 2021 12:39:42 +0100 In-Reply-To: <88959b06-fee9-e786-c105-d4766709281c@web.de> (Jonathan Brielmaier's message of "Sun, 24 Jan 2021 14:47:46 +0100") Message-ID: <875z3gj7k1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: , Cc: 46031@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.85 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 872B39403EB X-Spam-Score: -2.85 X-Migadu-Scanner: scn1.migadu.com X-TUID: Ta9YsBywoPII Hello Jonathan, > (services > (cons* > (service a-service-type) > [...] > (service z-service-type) > (modify-services %base-services > (guix-service-type config => > (guix-configuration > (inherit config) > (extra-options '("--cores=x"))))))) That would impose to write something like: --8<---------------cut here---------------start------------->8--- (services (append (cons* (service a-service-type) [...] (service z-service-type) (modify-services %base-services (guix-service-type config => (guix-configuration (inherit config) (extra-options '("--cores=x")))))) (simple-cuirass-services (simple-cuirass-configuration (build 'all) (channels (cons (channel (name 'my-guix) (url "https://my-git-repo/guix.git")) %default-channels)))))) --8<---------------cut here---------------end--------------->8--- which is admittedly not that elegant. The problem I'd like to hide that "postgresql-service-type" and "postgresql-role-service-type" are required by Cuirass. Any idea? Thanks, Mathieu