From: "Ludovic Courtès" <ludo@gnu.org>
To: "Sergio Pastor Pérez" <sergio.pastorperez@outlook.es>
Cc: 72566-done@debbugs.gnu.org
Subject: bug#72566: [PATCH] services: mcron: Fix home version not respecting user PATH variable.
Date: Wed, 28 Aug 2024 16:26:44 +0200 [thread overview]
Message-ID: <877cc0lo4b.fsf@gnu.org> (raw)
In-Reply-To: <PAXP251MB0348A2C860166086E0A28DF9F3BB2@PAXP251MB0348.EURP251.PROD.OUTLOOK.COM> ("Sergio Pastor Pérez"'s message of "Sun, 11 Aug 2024 00:40:26 +0200")
Hello,
Sergio Pastor Pérez <sergio.pastorperez@outlook.es> skribis:
> Without this fix, deploying `home-mcron-service-type' will strip user's PATH
> variable from it's environment. This means that, programs such as `notmuch',
> which use hooks which usually invoke `notmuch' from path, would need to be
> updated with full paths; which makes it very inconvenient to use.
>
> * gnu/services/mcron.scm (mcron-shepherd-services): respect user PATH variable.
>
> Change-Id: I104aa0a818ad6c3266b2b8f73a9609bfb36e314d
> ---
> This patch makes `home-mcron-service-type' respect user's PATH environment
> variable, allowing to write jobs which refer to programs in PATH, instead of
> relying on writing the absolute path to those programs. Although jobs can be
> GEXPs, which facilitates writing those absolute paths, the programs they invoke
> can rely on the PATH environment variable to invoke other programs; for example,
> `notmuch' hooks.
Applied, thanks!
Ludo’.
prev parent reply other threads:[~2024-08-28 14:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-10 22:40 [bug#72566] [PATCH] services: mcron: Fix home version not respecting user PATH variable Sergio Pastor Pérez
2024-08-28 14:26 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877cc0lo4b.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=72566-done@debbugs.gnu.org \
--cc=sergio.pastorperez@outlook.es \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.