Add execline to the PATH of s6-svscan to make finding all chainload executables work
This commit is contained in:
parent
56246c3312
commit
4c5eaa0c6b
|
@ -44,6 +44,6 @@ in
|
|||
|
||||
s6-svscan = import ./s6-svscan {
|
||||
inherit createManagedProcess runtimeDir;
|
||||
inherit (pkgs) s6;
|
||||
inherit (pkgs) s6 execline;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{createManagedProcess, s6, runtimeDir}:
|
||||
{createManagedProcess, s6, execline, runtimeDir}:
|
||||
|
||||
{ instanceSuffix ? ""
|
||||
, instanceName ? "s6-svscan${instanceSuffix}"
|
||||
|
@ -10,7 +10,7 @@
|
|||
createManagedProcess {
|
||||
inherit instanceName;
|
||||
|
||||
path = [ s6 ];
|
||||
path = [ s6 execline ];
|
||||
foregroundProcess = "${s6}/bin/s6-svscan";
|
||||
args = [ scanDir ];
|
||||
initialize = ''
|
||||
|
|
Loading…
Reference in New Issue