guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#72566: [PATCH] services: mcron: Fix home version not respecting user


From: Ludovic Courtès
Subject: bug#72566: [PATCH] services: mcron: Fix home version not respecting user PATH variable.
Date: Wed, 28 Aug 2024 16:26:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

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’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]