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 bPR9Gf+qxF+MWgAA0tVLHw (envelope-from ) for ; Mon, 30 Nov 2020 08:19:11 +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 OOzkFP+qxF+rIAAA1q6Kng (envelope-from ) for ; Mon, 30 Nov 2020 08:19:11 +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 29A7494011C for ; Mon, 30 Nov 2020 08:19:11 +0000 (UTC) Received: from localhost ([::1]:44986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjeOr-0006P8-VV for larch@yhetil.org; Mon, 30 Nov 2020 03:19:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjeOk-0006On-9D for guix-patches@gnu.org; Mon, 30 Nov 2020 03:19:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41818) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kjeOk-0002aC-1C for guix-patches@gnu.org; Mon, 30 Nov 2020 03:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kjeOj-0004P5-RR for guix-patches@gnu.org; Mon, 30 Nov 2020 03:19:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44900] [PATCH] services: unattended-upgrade: Add 'search-paths' field. Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Nov 2020 08:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44900 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 44900@debbugs.gnu.org Received: via spool by 44900-submit@debbugs.gnu.org id=B44900.160672433116906 (code B ref 44900); Mon, 30 Nov 2020 08:19:01 +0000 Received: (at 44900) by debbugs.gnu.org; 30 Nov 2020 08:18:51 +0000 Received: from localhost ([127.0.0.1]:53364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjeOZ-0004Oc-2p for submit@debbugs.gnu.org; Mon, 30 Nov 2020 03:18:51 -0500 Received: from mail-wr1-f46.google.com ([209.85.221.46]:45209) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjeOX-0004OP-UY for 44900@debbugs.gnu.org; Mon, 30 Nov 2020 03:18:50 -0500 Received: by mail-wr1-f46.google.com with SMTP id t4so14750045wrr.12 for <44900@debbugs.gnu.org>; Mon, 30 Nov 2020 00:18:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leibniz-psychology-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=wPaTEOp+ZsoKScpwBTkapS5GUvhozBh+JOXZTW8nrl4=; b=a9h4gVglV4KMfB0MFzBFLfIX1Ar9Cq6mKDVp7uCMy1DvRCT9DcjHm1RnRWCtJ8qMzM x7knb+8yCAc1+M4+8yEEwyoLemWBcrqLc4F/rIj1nXTI0qTjR0Y1Jfy6ItI7kUfP9kDt bOoeb7SNSDGo+kbDevoDG6ziRoXIjS0BtcX+dgQJY8biOelv9SDo/Kw0AprXukRcGwaC zQT4hTdQxsfw9x+Lt4AopniTIxAYJ5EqlwdOL3RUp6uS2FW5t56m6YgcoSvTK+N2quDn NjGhIXpy35wUQ4eJb0aix0M+F1NFt9idqT1nQcswI6iVPNhQ1dZJkdyX491l+HNxqVU6 nSqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=wPaTEOp+ZsoKScpwBTkapS5GUvhozBh+JOXZTW8nrl4=; b=Hoj4OMik0Qu7BgoF+q1YaI/sC3FzqeMR+Ku5As4Qrymg1BP5Kr8l6ujtaaET09N379 KVu/HbRL1O4+Yrc/s2wwxUTUgua5aeebzYLui7opucuEu1FFMu+NAFUfl5Uf2opl4rZY bTEfaAXbiY5KWTBZWNO3MvmtrgJsdrRUNvw2IcU9NqNmM+5RpfgEZtNVzjatq5lQ/fva WUExMwfT3DEwS3TIYHzgcGqLlPllwSRECdRX3C4KA/jupcKTvxqTb/XKGTovvZ/omZQU 1lYuVzm2wZErXNn12FmXJy5BIwI9Muwd9Iki7b4FRdG2HuqPhV1IAilD7Qls9amSXhKx dRqA== X-Gm-Message-State: AOAM531IHt3hZAn5+AHRT/85xZTxzygUNZ6HMnxW1ELjDbRwm9kIDUk/ QSMDlTKxxAeQpYhY0hpCPU3tzhnBviP4ZRQ46JkWoOI2zerFixUfm1zPMUGWX1C5WwGNFZt0j0s tulBMEbWBqcGDBLE3vdF0seNLu/ZEPIdYQfn43qDmFxOljtGAa7rR53Mt59sW94ip0BYhKpde8+ zCP3ctk0mFi2A= X-Google-Smtp-Source: ABdhPJyO67ogcy5GBZ3y5plgYJ2Tgwur0zRqUboMG3KhqXhUtbI7rYxTb0OmYC0NYlmZEFL0qFHriA== X-Received: by 2002:adf:e484:: with SMTP id i4mr26872735wrm.398.1606724324234; Mon, 30 Nov 2020 00:18:44 -0800 (PST) Received: from localhost (dynamic-2a01-0c22-d04a-9b00-2de8-8288-061f-97c7.c22.pool.telefonica.de. [2a01:c22:d04a:9b00:2de8:8288:61f:97c7]) by smtp.gmail.com with ESMTPSA id c81sm7183441wmd.6.2020.11.30.00.18.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 00:18:42 -0800 (PST) Date: Mon, 30 Nov 2020 09:18:42 +0100 From: Lars-Dominik Braun Message-ID: <20201130081842.GB6084@zpidnp36> References: <20201127084632.GA3077@zpidnp36> <87eekdrcrw.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6sX45UoQRIJXqkqR" Content-Disposition: inline In-Reply-To: <87eekdrcrw.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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-Spam-Score: -2.88 X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=leibniz-psychology-org.20150623.gappssmtp.com header.s=20150623 header.b=a9h4gVgl; dmarc=none; 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-TUID: mE4faxckMfU7 --6sX45UoQRIJXqkqR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Ludo, > Did you see (info "(guix) Unattended Upgrades"): > 1. Use the trick above and add (say): >=20 > (add-to-load-path (dirname (current-filename))) >=20 > in your config file. Not pretty. yes, saw it, but I wasn=E2=80=99t sure how to load modules from that direct= ory. And I agree, it=E2=80=99s not pretty, but probably better than option 3, because = everything is in the store. > 2. Turn your modules into a channel. Nice because there=E2=80=99s no n= eed for > a special case, modules are automatically updated at each upgrade, > etc., but OTOH requires more paperwork. I feel this might be the best option and I=E2=80=99ll give it a try. > I prefer being explicit here and keep =E2=80=98unattended-upgrade-configu= ration=E2=80=99 > self-contained (/etc/guix/channels.scm could be modified behind our > back). Okay, I can see that, but I=E2=80=99d like to use the same list of channels= in that service and channels.scm. Since creating an etc-service for /etc/guix/channels.scm does not work, I was left with the other option, i.e. using that file for unattended upgrades. Are there any other options? Cheers, Lars --=20 Lars-Dominik Braun Wissenschaftlicher Mitarbeiter/Research Associate www.leibniz-psychology.org ZPID - Leibniz-Institut f=C3=BCr Psychologie / ZPID - Leibniz Institute for Psychology Universit=C3=A4tsring 15 D-54296 Trier - Germany Tel.: +49=E2=80=93651=E2=80=93201-4964 --6sX45UoQRIJXqkqR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEyk+M9DfXR4/aBV/UQhN3ARo3hEYFAl/Eqt0ACgkQQhN3ARo3 hEa39QwAszMOtSGtl9gyUi57r+CT+Y3Jwkq2E66EoQrillDP+5rky9InZ/zB6ZEa Ru18pO9I4Rk/kK6KFyuVhRmolNqQ+cJG0Q704xepzrV5ttvyjAe+9sLBWYe8ctTB zCGzXD8ajDvGRW6A7EbPpnlokxRT+CYK3GqxzqsmF8w5rXn6y1H8013vZr7YZJQ1 6qN+cFVFzboxdp3+0ys8twce8RWy3eIQp8+cJ1LEP9DMAcAPNpuhnaIg+RFX2bnK dE1bmQ/W1z6gq18Pf5t287xtIGAXwiIKkOJdfHGtJ8KiHtcm8cd2E8j2zoAhgNkH CHUif/2nABD0OEa05fKX1ikXfusqbpqa+22KPsrPcSfgDCyGUb94V2IBJfCjHjb9 0Qgmw8beRjzR/mnxA6m0lmPesPqX9CGJvw3OWA7pNok3OrHrlI38nCx12TCPIwUk 1nAITJSPMvYvGfsbak7/mCnGZfTVu0BAMliqpfgGW3FgBnJYOGys4kSJKFRa1DGv loFxP/Wc =3Ix1 -----END PGP SIGNATURE----- --6sX45UoQRIJXqkqR--