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 UCraFNNnpWVvrQAAqHPOHw:P1 (envelope-from ) for ; Mon, 15 Jan 2024 18:13:55 +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 UCraFNNnpWVvrQAAqHPOHw (envelope-from ) for ; Mon, 15 Jan 2024 18:13:55 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=NnT14Yzs; dmarc=pass (policy=none) header.from=gmail.com; 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=1705338835; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=SUrZjEo5tJejl7qiYNXD+Rg1YJ5JbNQzHMlrHmA2+8c=; b=oCp/2LP+PjD1x59AXo0MBy5vW93W2RHWkQres2MPMUPq8ot7HtPAqiLDzDQNnhZvAM1iD+ h1XXiWZCfT9HWkSn3fhocm8w0gpVBeTUCsmvAU/H5aC9RyovY++/bJp1+7+PUgInvBi+/x ioBTqlobjht9ZJEc71ZVREk+EN9+zjy8LhJ+/RYQHbP5UWNdHz93wK4NKZUdIA2eni9nZW R+xZ92UC+LmGieIxanj0sgo7ko/0/WNhVtF9Qh7mACQSIyDnt8AIC1ZbRJpLEJJUejZedK 2q9p82KQi9sNFp5I0sllTVJuCuB/AxE66oGH7ibbmrpiwFr6nSYblFGxbSEWKQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=NnT14Yzs; dmarc=pass (policy=none) header.from=gmail.com; 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=1705338835; a=rsa-sha256; cv=none; b=ozcSblhAFz6SLSyiz0HW0qBrsWcRoaNGgbMOT+K3XN84GPNy/zQuV99x8fWPUL0pxAku51 nMvkPO1nxLqlyPDpgtm8DCuNi0jMWd3IbTBJ+dUB6dS16Ul3XZtaDHvdXGKvParlfz/SF3 Ehn81ftwY48uO3b4ypNJOWiLOEB7ZEWQvJ8sVwBmsDWhmQSobd/19tRMPiCTEzeceMNcMQ nnXuZc6yFR/1181H3QwJw81LVx+DeV+GmZ3lpWN8/1v8g+gcGGNHnxyrYHzU3SS5MiK90/ fDfWY2n9Fkfw42+mBRDQ8B9Lv1qWEBznLLbhJv7s1rHP8bw1igkmtNLG8VNM1A== 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 4249C35016 for ; Mon, 15 Jan 2024 18:13:55 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPQWY-0006OU-PD; Mon, 15 Jan 2024 12:13:22 -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 1rPQWW-0006MT-59 for help-guix@gnu.org; Mon, 15 Jan 2024 12:13:20 -0500 Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rPQWT-0004UK-UC for help-guix@gnu.org; Mon, 15 Jan 2024 12:13:19 -0500 Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-50eb24d3ccbso2194123e87.1 for ; Mon, 15 Jan 2024 09:13:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705338795; x=1705943595; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=SUrZjEo5tJejl7qiYNXD+Rg1YJ5JbNQzHMlrHmA2+8c=; b=NnT14Yzsa6wnNkgcX24Kr5/MrpT1ag4KJq255mWIDYcI3qgg8tf01GPByLrEXwv2uH FEbVMSzt7rSslGpg6IfbKSpMl68nV+/ruFhbzNE6YNSXjJRTWqysLKZi6ybeO2F/x5G4 pGMfjAs6FR9f4W69W2g4N70KQJ8Qr3hvZ7frfaMX4mGOIeOUBjwbPilHwpD19SOpPC3B F3ilsn5m7oIRsluWQ4xbMW63W1tnJYUT1AcvyVFVQhlHpaccN0ijgQdHZf9s7+MLgq1b 0sJhpvya/fh/968P/zHfHdWDPTU7OfKMiSVOLoh1JbbFswqLyRPOhjfgMhXr9jduOxYi 21ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705338795; x=1705943595; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=SUrZjEo5tJejl7qiYNXD+Rg1YJ5JbNQzHMlrHmA2+8c=; b=oiR13XCNiIEj8OjRxlsRBQoShTjmlvinnTa7TqTH8MHSMppPT+7pMkzx3zSS8QoSiX v81sehUr5+YCctlQ/zQfpZ4ar2GfyrtN2KBUM1MLxiPl5jsY/cxC9DhUDUpS+bSZLNbI vks//02d0pPSN0eYT09nwp6Nex9Q8uEObB5SE+yRY95FlM0sD2/rnIiu4SlzqMN9u8Sb k8lPHDOJy+CYnUzHMP0KEyegnTfBd1iHZPdPvZimx8CSuI2bzMJCVlcE+7223N2DVejB ntz8VHw50YfK8bpxJ16+7Uwl/rd+2h0S+Y0Yhve14Uubw68iZgdSOSRz3isEfFxjY+gA JXxA== X-Gm-Message-State: AOJu0Yx0X5rljSTHawWawQNnPeE01o/W+wFoRJY7Z+NW7jC9hcIlnSlx q54SjMq+CsAOcvLRfzMgdUc= X-Google-Smtp-Source: AGHT+IEWnOUHzwDUmxsW1icWXPDaFrjgh7Y0TmF2PxYS3MwgmaLfRqOciF41ONUlLEGAD3QnEDEXHQ== X-Received: by 2002:a19:6407:0:b0:50e:e13e:a541 with SMTP id y7-20020a196407000000b0050ee13ea541mr4845596lfb.6.1705338794537; Mon, 15 Jan 2024 09:13:14 -0800 (PST) Received: from localhost ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id h12-20020ac25d6c000000b0050eae31c990sm1510107lft.147.2024.01.15.09.13.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 09:13:14 -0800 (PST) From: Oleg Pykhalov To: Tanguy LE CARROUR Cc: Help Guix , Nils Landt Subject: Re: "Command not found" when using `home-mcron-service` In-Reply-To: <170533542428.27812.17121651881501708878@bioneland.org> (Tanguy LE CARROUR's message of "Mon, 15 Jan 2024 17:17:04 +0100") 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> Date: Mon, 15 Jan 2024 20:13:13 +0300 Message-ID: <87cyu2ed06.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=go.wigust@gmail.com; helo=mail-lf1-x132.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: -12.10 X-Spam-Score: -12.10 X-Migadu-Queue-Id: 4249C35016 X-Migadu-Scanner: mx12.migadu.com X-TUID: OWJheugksZ3v --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Tanguy LE CARROUR writes: > Quoting Oleg Pykhalov (2024-01-15 16:25:27) >> The Home service matches Guix System in this case, so currently >> specification of a full path to a binary is required. >>=20 >> It's possible to do in several ways: >>=20 >> 1) Use full path to the binary with ungexp, e.g. >>=20 >> preferred and cleaner: >>=20 >> #$(file-append notmuch "/bin/notmuch") >>=20 >> or: >> (string-append #$notmuch "/bin/notmuch") >>=20 >> Hint: make sure notmuch is defined, e.g. at the top of a file: >>=20 >> (use-modules (gnu packages mail)) > > I tried this one! =F0=9F=98=81 > The `string-append` version I mean. > > `mcron` can then find `notmuch`, but `notmuch` has some hooks that depend > on other commands; `mbsync` and `afew` in my case. For this, I cannot rea= lly > provide the full path? =F0=9F=A4=94 =E2=80=A6 actually, I could, but then= it would be > `/home/USER/.guix-home/profile/bin/mbsync`, not the actual path. Is the hook a script? If it is, then the script should have the PATH, which can be added to the script itself. > 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 Is =E2=80=98vdirsyncer=E2=80=99 relies on the =E2=80=98pass=E2=80=99 by def= ault, or is your configuration specific thing? =E2=80=98vdirsyncer=E2=80=99 package recipe should be modified in the first= case, to make it work for everyone. In case of specific configuration a wrapper can be used. Oleg. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmWlZ6kUHGdvLndpZ3Vz dEBnbWFpbC5jb20ACgkQFn+OpQAa+px/bw/9Ez7GGhkeG0NGcwBMpPd6u5dEpFQy d3I7Odx59nIBKc9bc5lQacQ1fkf5pIh/6GO6Ahy/jP4r+UwSb5G8TuC/L29M8KIK dLagHp5VdgZ7dHEETYaRk4GB3xSDJ5hJp349Y1lSzfYkiA2lW1+/M/BjeepMSMoK kuGHCb+pCK7YAFc2hI/KUrMf0UTl4KSNSHv+q7AYiJ4ex3ge7Xk1m6o6vvGuMJZx 2APWNTZEdIQ+bugdkXV0oqM6V3PgeFREi5d1mZrMjxoJlhaJoqcKTnECgBybeRPJ iSFAyPJLy15OcFoonybgT7KaqivuohdwO1XPKEma8l0mx7xWV5zH45+h/7qsqNSs kfdJk131UWmDNtie4HLn0dN0OB7MhXJURgIaE1VHRrGi9AOOZ02k1FfmsveKL9Ng 5nKbq2pkwDM1d9jHFiV3yIIE2ZH4un6CrHUNJJTDFERiswVEvRTjIHlKsLzA9Vzt 7poPxZ7Q98u4FllvxWgERtFoRURIO8oYeClZUQk76C3v9pkASltUtmCOjIGHv5uV IwkXOA+Y9hzbFF0lpRF84evC9Rq2uvJwGorC8GXhwKdkIDrx/s9Pbwd6D0dALivw AlyLdL+rMqIPyOeKnjwryTl75KMmwf0kpOT7S9cjDVSUIIixf6OtLKY7rD3LBhyb scLm9gMQnwIKXZw= =dSHV -----END PGP SIGNATURE----- --=-=-=--