From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YEFSOd8upmXmUgEAqHPOHw:P1 (envelope-from ) for ; Tue, 16 Jan 2024 08:23:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id YEFSOd8upmXmUgEAqHPOHw (envelope-from ) for ; Tue, 16 Jan 2024 08:23:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=bioneland.org header.s=20230804 header.b=gLkzz8Km; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705389791; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=YzKmdDape6CdzXZUXq5csLPvS6r/eWnS0TXPjmYu9+8=; b=WylaVKrRT8fNYP04CBNAsJ/ySzEwm0AqK3IM04CMPkuWY38zsOGnC96uuk3/tVsp2xBHup W4+AYAF4TKdGXaamF3h33GoKRA8J63zsG36HW/cBdCuhxlEZdRsp/p9qx9wHC4R5bbw9Xz RipC/Asd0gbm61HC7Ow6yOjcIFXnnaFZ8mm7Jaw2mkznL/J+wQFvCcN4l38h8YvS8dYCoR fRNS7bRWZtZcwhtmNOi/cX31jL9WKcjoGvaJOD/CRlLxGoB0Mzq69z0VL99rTmlOgOUEDh Y+ZjgUFTNhGnWOxbZkoJm97+BDLliD8RZlwRT75yxHUgt0Df4FTqF8YwQAGZww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=bioneland.org header.s=20230804 header.b=gLkzz8Km; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705389791; a=rsa-sha256; cv=none; b=WAWdB9oa6ZdQoXC6xh98oA09F0t+WfrizNLSCg35Xw2RvMsE0qrDtef9rofrx+Qb6xjcf2 gU0sMzeTAOTDxL/1Notw4rwGzHD+Z340M1Opyos2NVjioN1DO76tpUxRXCHlMadM2y9/K9 CKrLcijYpxA6OjhCg53LfytakoSuAV9KsFjMIp1JzZgz7nXSo8Sx97IdPRGBWWBxQMDY2C QIwX6gAEDisRiXXM8k+t3Bp0ueqfOGHCUsg8UNdmyoVtJ8NpdK2pX4Ymvc6/5fHVWCC2WP /eQOlv2GU+jE+Xr6d8Wf3ISzbb55lX+YyxPCc+GKASMt+GMHPfUfXb22uVAenA== 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 6E3983BC3D for ; Tue, 16 Jan 2024 08:23:11 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPdmY-0003gp-5R; Tue, 16 Jan 2024 02:22:46 -0500 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 1rPdmV-0003gN-Ix for help-guix@gnu.org; Tue, 16 Jan 2024 02:22:43 -0500 Received: from smtp-42ac.mail.infomaniak.ch ([84.16.66.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPdmT-0002KC-M7 for help-guix@gnu.org; Tue, 16 Jan 2024 02:22:43 -0500 Received: from smtp-4-0000.mail.infomaniak.ch (unknown [10.7.10.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4TDgSs6vQfzMpncF; Tue, 16 Jan 2024 07:22:37 +0000 (UTC) Received: from unknown by smtp-4-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4TDgSs3vG9zGyj; Tue, 16 Jan 2024 08:22:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bioneland.org; s=20230804; t=1705389757; bh=lohbllxtuoNW2ZDPF7S3ZG2KZJMh1hnpad7Wtz70JKg=; h=References:Subject:From:Cc:To:In-Reply-To:Date:From; b=gLkzz8KmWvHspRCAxneK3v8BxI3grHu6lxBQUeKw8D0HptObwwook08cYsLNFxlsf I30as7Qx5QhmV870Wbn9eb8c5xdMvLA6FBVV3If0uRgorCLK60XnIotDqbD1+IkeEq xCsLsdRI6wYtognvah4TnzeufguVehnZ68aNGMW2ses8PiXYj4eSDcOL2yryeadII7 U6iftZE5bpt5bJW/OD0LoOQ9NOqOMssvSGEoa9d1jQLMZx64I0BmCmxUTio9AGG2bK Itc02PHeuXs0LN5TCXUaeGm0nlt42x+zieVIZOk8Am8/cwRJBWY/orq9DPJ+NMqfMP 81Fsp0qmlQRow== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable References: <170531153920.2260.10889048706374450982@bioneland.org> <524660103.197884.1705320186122@office.mailbox.org> <170532183549.11028.8238107603508685851@bioneland.org> <170532260816.14803.15496485777094283367@bioneland.org> <87h6jeehzs.fsf@gmail.com> <170533542428.27812.17121651881501708878@bioneland.org> <87cyu2ed06.fsf@gmail.com> Subject: Re: "Command not found" when using `home-mcron-service` From: Tanguy LE CARROUR Cc: Help Guix , Nils Landt To: Oleg Pykhalov In-Reply-To: <87cyu2ed06.fsf@gmail.com> Date: Tue, 16 Jan 2024 08:22:36 +0100 Message-ID: <170538975698.1437.9863629603352441310@bioneland.org> User-Agent: alot/0.10 X-Infomaniak-Routing: alpha Received-SPF: pass client-ip=84.16.66.172; envelope-from=tanguy@bioneland.org; helo=smtp-42ac.mail.infomaniak.ch X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.14 X-Migadu-Queue-Id: 6E3983BC3D X-Spam-Score: -7.14 X-Migadu-Scanner: mx11.migadu.com X-TUID: iPjfnEsaqCrt Hi Oleg, Quoting Oleg Pykhalov (2024-01-15 18:13:13) > Tanguy LE CARROUR writes: > > `mcron` can then find `notmuch`, but `notmuch` has some hooks that depe= nd > > on other commands; `mbsync` and `afew` in my case. For this, I cannot r= eally > > provide the full path? =F0=9F=A4=94 =E2=80=A6 actually, I could, but th= en it would be > > `/home/USER/.guix-home/profile/bin/mbsync`, not the actual path. >=20 > Is the hook a script? If it is, then the script should have the PATH, > which can be added to the script itself. Yes, indeed. Notmuch uses hooks scripts that I provide. So far, I was relying on `home-xdg-configuration-files-service-type` to copy them. ```scheme (service home-xdg-configuration-files-service-type `(("notmuch/default/hooks" ,(local-file "tanguy.home/notmuch_hooks" #:rec= ursive? #t)) ; [=E2=80=A6] )) ``` Now I have to find an easy way to substitute some content in them. I'll give it a try with `find-files` and `substitute` unless you can suggest a better way=E2=80=A6 =F0=9F=A4=9E > > This should work, but I can help be find it a bit weird, because it > > propagates to quite a number of files. =F0=9F=98=9E > > And the same goes for `vdirsyncer` that relies on `pass`=E2=80=A6 >=20 > Is =E2=80=98vdirsyncer=E2=80=99 relies on the =E2=80=98pass=E2=80=99 by d= efault, or is your > configuration specific thing? > > =E2=80=98vdirsyncer=E2=80=99 package recipe should be modified in the fir= st case, to > make it work for everyone. >=20 > In case of specific configuration a wrapper can be used. Configuration specific! Fortunately I have a not-yet-submitted home service for that. So I can easily insert the absolute path! =F0=9F=A5=B3 Regards, --=20 Tanguy