nixos/fcron: service needs fcron in PATH
otherwise fcronsighup is not found. Set PATH to /run/current-system/sw/bin does not seems to be used by service file anyway.
This commit is contained in:
parent
2ef1a6c17c
commit
e34e28e573
1 changed files with 1 additions and 4 deletions
|
@ -137,10 +137,7 @@ in
|
|||
after = [ "local-fs.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
# FIXME use specific path
|
||||
environment = {
|
||||
PATH = "/run/current-system/sw/bin";
|
||||
};
|
||||
path = [ pkgs.fcron ];
|
||||
|
||||
preStart = ''
|
||||
install \
|
||||
|
|
Loading…
Reference in a new issue