From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id ABMhNTUfpWXoeQEAqHPOHw:P1 (envelope-from ) for ; Mon, 15 Jan 2024 13:04:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id ABMhNTUfpWXoeQEAqHPOHw (envelope-from ) for ; Mon, 15 Jan 2024 13:04:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=landt.email header.s=MBO0001 header.b=zHed43pJ; dmarc=pass (policy=none) header.from=landt.email; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705320245; 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=qIqwess9kZH/rjtZkYdxKosi+4ce3RDz4AHFBRoSK0k=; b=EENxehFK81wtnNrKfTKunYSzo2DAKfpWpkucFHWiIvm5hHoxJo6noDuT9e3CDD/LQtR2zH 9vRsZYr7IvPcG3oheUEwiUEqJo08Uy3cRtipKju3Cq56ew0e2gKx5dTkbxL/I8d7jGtIvS YeUF/deOBZREySRDMsx8Ta3rL24kbl8RNKsFYqvJhYSoMAo4HXWLDrpB4PcKu3UNxnI396 6h5wrsaehv13DZAfWlt6lm8nEJ38lfu8RCCayclC03c80d/Yp8w/GXnzdRKdmCKnbAXII7 y1VrbFEM+EDuc/s3KzjmWl9JMBmg2OJLn5ZV2D9wlKAQxRgF/TwkQmsZlwPOlg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=landt.email header.s=MBO0001 header.b=zHed43pJ; dmarc=pass (policy=none) header.from=landt.email; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705320245; a=rsa-sha256; cv=none; b=XRvPmOE5dYAyFMyq1PXDVUR+nliFZ2wc1ri5pQ1sEDA2eGa7NCu4AyN71jRxJ/R/8d4Gv7 eA2va+8x4JQ6LSKnU40MxQJjCWyWb2LHoIVfP7iPKMXeAR55hEUKx6oq4t54G8OTfKJ96x fgidInjgk5g3srX5vgkSq8ENVc+VX4skU4ppYED8rddWZQ+SbQif77Vh4RuyJ9uIkX1puA K8aRGoQ8aPNhW7X4yI0BFw0Y7BwTjmMMvEGvYE7DxArggLUNqYJXa2Qu6KYnXKq4rqrjFw 9jmQRMbAo+0UrCjJDwtcuIYh+0PqtANsrPCiSKbN5dLkjw8FTfwFQtaZbGxDMw== 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 C65B1667FD for ; Mon, 15 Jan 2024 13:04:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPLgk-0001Pg-AZ; Mon, 15 Jan 2024 07:03:34 -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 1rPLgh-0001Lg-J1 for help-guix@gnu.org; Mon, 15 Jan 2024 07:03:32 -0500 Received: from mout-p-101.mailbox.org ([2001:67c:2050:0:465::101]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rPLgf-0004Py-Ny for help-guix@gnu.org; Mon, 15 Jan 2024 07:03:31 -0500 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4TD9ky6tC2z9sXk; Mon, 15 Jan 2024 13:03:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landt.email; s=MBO0001; t=1705320187; h=from:from: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; bh=qIqwess9kZH/rjtZkYdxKosi+4ce3RDz4AHFBRoSK0k=; b=zHed43pJtJxM/oCWrwE0OHxyyLsoVJaYvYMGDCalHnyFGpl5HIdmTvdMg87tKMFtfXE368 aIxMrO1vVuiitsLhmRjQz4iwoZlprc8RYOxDiHFalQXCemy8Gwvm1IN+55FuM+QW6kjFnI lMy3okmteKZ/NGHZ3jr8RVsQF/fz7TJ+zj+CHaQmXhGdUTpUGelRlM9eaIe3BsxiOf9vW1 pOieujPPYcetuKYh61TF0kDGR9ERRoQsiAdy4I+WFAJCVjS0k9fE+0tOfi4M6oMmR09nwi +OKJXeEpkI5KWun4z/6J6E3J0xqleeclMj2wvq9+yxmIQVDz2yr1542sFBYwTQ== Date: Mon, 15 Jan 2024 13:03:06 +0100 (CET) From: Nils Landt To: Tanguy LE CARROUR , Help Guix Message-ID: <524660103.197884.1705320186122@office.mailbox.org> In-Reply-To: <170531153920.2260.10889048706374450982@bioneland.org> References: <170531153920.2260.10889048706374450982@bioneland.org> Subject: Re: "Command not found" when using `home-mcron-service` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Normal X-Rspamd-Queue-Id: 4TD9ky6tC2z9sXk Received-SPF: pass client-ip=2001:67c:2050:0:465::101; envelope-from=nils@landt.email; helo=mout-p-101.mailbox.org 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, 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: -8.09 X-Spam-Score: -8.09 X-Migadu-Queue-Id: C65B1667FD X-Migadu-Scanner: mx12.migadu.com X-TUID: bOhkMlteBboA > Tanguy LE CARROUR hat am 15.01.2024 10:38 CET gesc= hrieben: > > ```scheme > (gnu packages dav) ; vdirsyncer > (gnu packages mail) ; notmuch > ; [=E2=80=A6] > (service home-mcron-service-type > (home-mcron-configuration > (jobs (list > #~(job '(next-minute (range 0 60 5)) (string-append #$no= tmuch "/bin/notmuch new")) > #~(job '(next-hour) (string-append #$vdirsyncer "/bin/vd= irsyncer sync")))))) > ``` >=20 > And now Mcron finds `notmuch` (and `vdirsyncer`), but=E2=80=A6 Notmuch ha= s hooks > that depend on other commands and I now have the following error message > in my logs: >=20 > ``` > 2024-01-15 10:20:00 6198 /gnu/store/[=E2=80=A6]-notmuch-0.37/bin/notmuch = new: [=E2=80=A6]/.config/notmuch/default/hooks/pre-new: line 3: mbsync: com= mand not found > ``` >=20 > `mbsync` is in my profile, but Mcron cannot find it. > Do I have to declare all the required packages=E2=80=A6 somehow?! =F0=9F= =A4=94 That sounds like it's related to this issue I reported: https://issues.guix= .gnu.org/65471 If I'm correct, setting the PATH environment variable in the mcron job shou= ld fix it.