From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id cDpDIdVVFGS+lQAASxT56A (envelope-from ) for ; Fri, 17 Mar 2023 12:58:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mNpJINVVFGTnFAAAG6o9tA (envelope-from ) for ; Fri, 17 Mar 2023 12:58:13 +0100 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 234BF8456 for ; Fri, 17 Mar 2023 12:58:12 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="AN/aVzQw"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679054293; 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=C/2tlRYt3MNbp8niMZIj7bHSH1TdYyb71r1qkGGue6I=; b=Oqzm8mq+3R4qADjl/qs101nAmXW0g+XOIRdRckhURfB1469DfPf6rvRxo/dJ5j+wxFBWMn Off9a0YlIWwYE2sXsNpsDjmZ/mIeZKtlrukxhXn+DzHp4h83UhEAaCPVB01hSmrtdUs5sV DvdHrrW23hM0DoQufXdhSB0iJvCC7d60lCKhoGIUmeyGLKgnbF5lp+oD6RZ1p9kJAse1vA 9DW3iVmkksqOBo5FOzwS4+ed1yE1DC1QrQlPS4Kg3wTq/ZNjt54MPVRrlyDgXJO+nwF+dl gPRu3hUXur02rCBSpLEy3ILDaDWMdJ9rW6rWbE6Q4Krw1Hulim+vFY40d3zHhQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="AN/aVzQw"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679054293; a=rsa-sha256; cv=none; b=TMatmPb21kAMC/re68Ycx8SDPZ4L0abffF0nKSfPh/suUtnK0vbIIVW9RaAfH8BV+3sUNu LBn8q4HkCsXVK9aH2Fg3LwIH5DhGYJTSq24npgd/dSjnmTZTC8ojrKdmLRf36IddGLmg+e ljdTvit2e6rItmQZ8MUDnoWEwf0wViTPWIX2A72Hzuk7HfT8U0OBqC7ApvvR/qMadKIEqU gMy7oFwV8G12xAP8tclsluOp3XxWvtGulI0tTMBnBiGdL67U33usrf3T2EsnWWGGwWWebu 2Ha3/bXq4Ex6dsnogd34ON+GTm6PKu00jWHJYg/CKco5eW2RtHZPUCYV4x8LEg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pd8ij-00083K-Mo; Fri, 17 Mar 2023 07:58:05 -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 1pd8ih-000835-Vj for guix-patches@gnu.org; Fri, 17 Mar 2023 07:58:04 -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 1pd8ig-0002rM-Up for guix-patches@gnu.org; Fri, 17 Mar 2023 07:58:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pd8ig-0007Pj-H3 for guix-patches@gnu.org; Fri, 17 Mar 2023 07:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#61483] [PATCH 0/5] Some basic Home Shepherd Services Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 17 Mar 2023 11:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61483 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 61483@debbugs.gnu.org Received: via spool by 61483-submit@debbugs.gnu.org id=B61483.167905425928470 (code B ref 61483); Fri, 17 Mar 2023 11:58:02 +0000 Received: (at 61483) by debbugs.gnu.org; 17 Mar 2023 11:57:39 +0000 Received: from localhost ([127.0.0.1]:43867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pd8iJ-0007P8-Aa for submit@debbugs.gnu.org; Fri, 17 Mar 2023 07:57:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pd8iG-0007Ou-QA for 61483@debbugs.gnu.org; Fri, 17 Mar 2023 07:57:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pd8iB-0002Yv-FO; Fri, 17 Mar 2023 07:57:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=C/2tlRYt3MNbp8niMZIj7bHSH1TdYyb71r1qkGGue6I=; b=AN/aVzQwvS4uEKgjCRTa pomZEJiAzELRLzvOSDLYa9g3Czuq+HMf1ZPNJhmc/AQpoOFdg1St4FS2S1x8NXzuGBIxGiLJ7jhpb YNu+hy6aCEIgN7wvJJ062E67+aBcIEKA1t+TNiAGzKBUi3aRnmayD1aIyRi1GiEcLot2kWYahrBco WtOvsA0n2bVAp4yl1PpETjNETHque7SC+6vNDsUzx7uol3eZ5NiqMnenqpa/ykPWeSUE/ztbIoqgv eQi2HQr+2IbmAxh7sybnqH2jGjoBlZ2w364sLVo1H/ESaAu9/HdPUF4DRQdsTxnC6UYOLfe09n4NF IL1VScoAcOAo7Q==; Received: from 2a02-a462-da03-1-2701-7f81-a736-4607.fixed6.kpn.net ([2a02:a462:da03:1:2701:7f81:a736:4607] helo=drakenpad.janneke.lilypond.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pd8i3-0007i4-BG; Fri, 17 Mar 2023 07:57:30 -0400 From: Janneke Nieuwenhuizen Organization: AvatarAcademy.nl References: <20230305181305.30992-1-janneke@gnu.org> <20230305181305.30992-3-janneke@gnu.org> <878rfxgdp4.fsf_-_@gnu.org> <87y1nwokmr.fsf@gnu.org> <87pm98oh6w.fsf@gnu.org> <875yb0d64a.fsf_-_@gnu.org> X-Url: http://AvatarAcademy.nl Date: Fri, 17 Mar 2023 12:57:20 +0100 In-Reply-To: <875yb0d64a.fsf_-_@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Thu, 16 Mar 2023 17:16:05 +0100") Message-ID: <87cz57oajj.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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: X-Migadu-Queue-Id: 234BF8456 X-Spam-Score: -4.74 X-Migadu-Spam-Score: -4.74 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , 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-TUID: HLatmpaXrY98 Ludovic Court=C3=A8s writes: Hello,=20 > Jannneke Nieuwenhuizen skribis: > [..] >> Well, it seems I added a dependency to the shepherd, module (shepherd >> support), for things like >> >> %user-runtime-dir > > I pushed a fix as be7e2bf7ebc10bb4e5808ddeabc4b914f575865f, tested with > =E2=80=98guix home container=E2=80=99. Thank you! >> I locally applied the attached patch to add Shepherd as an input (not >> sure if that would be OK), but now `make update-guix-package' fails: > > Guix in general on the =E2=80=9Chost side=E2=80=9D should not depend on t= he Shepherd, > there=E2=80=99s no reason to do so. > > The solution for Home or System services is to depend on the Shepherd > but only in the run-time code stage. This is what I did in > be7e2bf7ebc10bb4e5808ddeabc4b914f575865f: code that needs to refer to > =E2=80=98%user-runtime-dir=E2=80=99 is staged such that it will look up t= hat variable at > run time, when the user =E2=80=98shepherd=E2=80=99 process is started. Oh, that's so nice! > That=E2=80=99s really what we want here, because it also ensures that the= code > sees the right value for =E2=80=98%user-runtime-dir=E2=80=99 (otherwise i= t would see the > configuration-time value, which could be different). > > Apologies for overlooking that! Well, I also failed to see that I pulled in the Shepherd as a dependency until sarg "complained" about a missing file on IRC. Simply copied this from my direct Shepherd solution, ugh. Sorry! Greetings, Janneke --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com