From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id uN35JJR1pWUWJAAA62LTzQ:P1 (envelope-from ) for ; Mon, 15 Jan 2024 19:12:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uN35JJR1pWUWJAAA62LTzQ (envelope-from ) for ; Mon, 15 Jan 2024 19:12:36 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=landt.email header.s=MBO0001 header.b="DfRKC/Pg"; 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=none) header.from=landt.email ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705342329; 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=RUCIgU6NzUEynWz+uYEWlteCPtxHKrCRK8jLasnVlDI=; b=YvqIaYbOVJjelL8WQCQF2stYt0uM/69OY5tf2WixM5aeKpzFpws83WJJGqRLl/X2WUT/X/ Sj0Ruk9F7+2qPfOJybKeZWDlIE5CUiRGhHD6u+o9LA6ROvH7Lwwcg9vk7F5mvJcFWmEL8D fsjAcKVeV+eSduIPSUTYrC4Yv+yPGMrrKVyEFwPuzSOr2LIpxmPEgMq0YtYHjcO5k0sic4 tc7i78JqlV1Y1Bar3hN00WNND5GE8OCVIC6kXx/PQPaIhsZajp0gWpV702GzZORLiFS02e k4wipwJbYVA2DcK50pv+aIyY6+73kFm8adlg/zj4mQCB+NM1pt2wzFODa4WEJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=landt.email header.s=MBO0001 header.b="DfRKC/Pg"; 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=none) header.from=landt.email ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705342329; a=rsa-sha256; cv=none; b=oox4jfC18ECHKOUBHAw6T3Vnmhz655iHqU3mYeOmNDQDYyuAiym8pny8070HAJT11u0lp1 aFPIyMhWXsVn1F3i+w0TJTCvLvtM09LMGMyGv6dBBveRYRwYORPY7gPCgTbGUS3ehaocRK PE4kESs9rwiB1bO5WZl3/M5Ve9vEBM4yt/90/vPbdU+wuYHHoZAAr8inWBEzkxTnGPTdgj O7WEfHgwLtuV44rK/qP4i5GOiJ/UbIo6Vqg7DuzQzMn0OA722frEmPKmhK50c0uP5bAPeV XXz1hMNZnLhP3WiP7bpC6E74mEnUW8cPX/Z59GqwhWUTygCufMQJ905RYYEX1Q== 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 BB666163E4 for ; Mon, 15 Jan 2024 19:12:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPRQs-0004aK-Rt; Mon, 15 Jan 2024 13:11: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 1rPRQq-0004a9-LH for help-guix@gnu.org; Mon, 15 Jan 2024 13:11:32 -0500 Received: from mout-p-103.mailbox.org ([80.241.56.161]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rPRQo-00058k-Ij for help-guix@gnu.org; Mon, 15 Jan 2024 13:11:32 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:b231:465::1]) (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-103.mailbox.org (Postfix) with ESMTPS id 4TDKvy49Jxz9sWs; Mon, 15 Jan 2024 19:11:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=landt.email; s=MBO0001; t=1705342286; 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=RUCIgU6NzUEynWz+uYEWlteCPtxHKrCRK8jLasnVlDI=; b=DfRKC/PgWzXYeX43jFjokq2tUG4y6YguLK7K6H4tyWRjcwsNz73TkuM9k8rPjiWBsZKDMg DSjt0bANeEdoV7ZYOz7FPyo0uxCqLIKnPdV2tolTrOtIo+ZdwcrHrF34Omv0KCW28YevV8 Smctb7Lt/X8AUwLfqg+AD2VrTAzMyrsWEB0eCc22hoKDydsrsE6q5XCvhIj2pJ1qLV5RWc Mj2oCmRGAAIIlFVtwYXDNBamIsC17ZvFIK1sw9fxsAO3Omg/yvBYxw/zzqe4OJQc6ILmlb ke6G6jAPTTsqsS3C5j649Gleg4VqjHEOWwxK1gJodFaRUgGD7G3Aoc8Hce4lhw== Date: Mon, 15 Jan 2024 19:11:25 +0100 (CET) From: Nils Landt To: Tanguy LE CARROUR , Help Guix Message-ID: <1486567587.248523.1705342285844@office.mailbox.org> In-Reply-To: <170532183549.11028.8238107603508685851@bioneland.org> References: <170531153920.2260.10889048706374450982@bioneland.org> <524660103.197884.1705320186122@office.mailbox.org> <170532183549.11028.8238107603508685851@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: 4TDKvy49Jxz9sWs Received-SPF: pass client-ip=80.241.56.161; envelope-from=nils@landt.email; helo=mout-p-103.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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: BB666163E4 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.12 X-Spam-Score: -6.12 X-TUID: 4iUtyZzposZC > Tanguy LE CARROUR hat am 15.01.2024 13:30 CET gesc= hrieben: > > If I'm correct, setting the PATH environment variable in the mcron job > > should fix it. >=20 > You mean inside the `#~(job =E2=80=A6)`? Sorry, but=E2=80=A6 how would yo= u do that? =F0=9F=98=85 Haven't tried it, but something like: #~(job '(next-minute (range 0 60 5)) (string-append #$bash " -c \"PATH=3D$H= OME/.guix-home/profile/bin " #$notmuch "/bin/notmuch new\"")) > And this means that I would have to do it for every single job? =F0=9F=A4= =94 Yes. > Sounds suboptimal to me. Agreed! Alternatively, you could install the dependent packages (like pass)= in guix system, not guix home. > So I would definitively favour a solution where the PATH is set once and > for all by Mcron. I'm pretty sure this does not exist for mcron.