From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WAE4KDMGLGVKVQAA9RJhRA:P1 (envelope-from ) for ; Sun, 15 Oct 2023 17:33:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WAE4KDMGLGVKVQAA9RJhRA (envelope-from ) for ; Sun, 15 Oct 2023 17:33:07 +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 19F5C3F945 for ; Sun, 15 Oct 2023 17:33:07 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=autistici.org header.s=stigmate header.b=lLoqvaPf; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=autistici.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697383987; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=gznl5GkwkEeM47bikkJM43Pn7Isd7Vj8Zx+OIGYCpVA=; b=c708o5zral4iLH6qfEprJwVQTaO+ktdPtYajEkpBtyvHIydBNPqLzHe3hZGLZaa4X/lKSb INIUw/MhoedOOAMItctI8hUjj+M/RF1Ncxz81RigmVhmeaHbgwfWt0+2KakkrMLnMXMcIZ 6J+DocSFnQ7mHB2zGpcoZtTzTs9ppMHmdEcNDtscPM77cyZ9L7UfWzISpAqueegRx0FRzk wTZi0jAYSsv5fXmtrKI1lg49E2Qm4QX/iRkkruZhCFRcl5TDPS0AmfyQgZdkopfvpuGgXX NGF5cqkOnP4KZfUFig2rbfizGpExE2QO4xCOm4k7sQjPQh3yUshGv+ODjBdqag== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=autistici.org header.s=stigmate header.b=lLoqvaPf; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=reject) header.from=autistici.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697383987; a=rsa-sha256; cv=none; b=gXjtxdCLjrJh5Zfe+GXhMn0pCZ5LJGrbNfGP7mpgINQfBaW2sKfhHXoJqGSmsXPk06nvEE trDBa7i/dDXSuvZnKXzBmvN5kn3/sQFxKN36udklj6gBUjxbFq1B/g9BA4JSbMPTcJIwLe 4DJw+htie1fL/6ms6ItFNUzn4MKjFGz82r0gpYOCTDozA9NRNYpJ+04GGsAGAfpis2vIBP YvcWqHn2nrpHIyA8JCmIisk6mJlwKkBVT2EWjjzh20pZay7macuhFVPlZFVjF2fNr6d4Ps QMP44piVl2XeH7aTc1mtpoLKTf5bPzZFdVTQu5iAbG8D+lOjzdB1KRprPPSNKg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qs36h-0001r8-39; Sun, 15 Oct 2023 11:32:43 -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 1qs36f-0001qw-9P for help-guix@gnu.org; Sun, 15 Oct 2023 11:32:41 -0400 Received: from confino.investici.org ([2a11:7980:1::2:0]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qs36c-00055p-7C for help-guix@gnu.org; Sun, 15 Oct 2023 11:32:41 -0400 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4S7kkw4hTJz111V for ; Sun, 15 Oct 2023 15:32:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1697383944; bh=gznl5GkwkEeM47bikkJM43Pn7Isd7Vj8Zx+OIGYCpVA=; h=Date:Subject:To:References:From:In-Reply-To:From; b=lLoqvaPfucg22u66gZe2Vz8cC7R2er4VUZdlcJ9lHhRK8DKrNTM0WDN0WYDj+Q+Xq 79H6YqNLNlTT3OW6zYSSsPYpl4aisgAFEg2s8YntlPq/N+DhfmxDKEqZIf8PZH0hiF G6XZdPnuD42a/ridaysgnOA5KfQpJIS1q8PKbv/c= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4S7kkw4QLfz110y for ; Sun, 15 Oct 2023 15:32:24 +0000 (UTC) Message-ID: <02407007-a020-3762-64eb-b0ba2962843b@autistici.org> Date: Sun, 15 Oct 2023 17:32:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: How to add service(s) from a service? Content-Language: en-US To: help-guix@gnu.org References: From: paul In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a11:7980:1::2:0; envelope-from=goodoldpaul@autistici.org; helo=confino.investici.org X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-3.339, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.35 X-Spam-Score: -3.35 X-Migadu-Queue-Id: 19F5C3F945 X-Migadu-Scanner: mx2.migadu.com X-TUID: 6sI+WDrvXGlG Hello Tomas, On 10/15/23 00:57, Tomas Volf wrote: > However, I am unsure how to do this for services. Would anyone have any ideas > how to do this? I may be wrong, I believe you can't add services from within a service but you can extend them (extension entails instantiation iiuc): so in your example SERVICE should expose an extension api and my-service-service-type should make use of it through a (service-extension ...) call. Hope this helps, giacomo