From 19ad6cd278b67634c7ad9d15590a857e0072601f Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Wed, 17 Apr 2024 13:01:10 +0100 Subject: [PATCH] watchdog: put s6 pkg on $PATH for s6-svstat --- modules/watchdog/watchdog.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/watchdog/watchdog.nix b/modules/watchdog/watchdog.nix index b4119f0..e4d8805 100644 --- a/modules/watchdog/watchdog.nix +++ b/modules/watchdog/watchdog.nix @@ -1,6 +1,7 @@ { liminix , lib +, s6 }: { watched, headStart } : let @@ -8,5 +9,5 @@ let in longrun { name = "watchdog"; run = - "HEADSTART=${toString headStart} ${./gaspode.sh} ${lib.concatStringsSep " " (builtins.map (s: s.name) watched)}"; + "PATH=${s6}/bin:$PATH HEADSTART=${toString headStart} ${./gaspode.sh} ${lib.concatStringsSep " " (builtins.map (s: s.name) watched)}"; }