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
@ -137,10 +137,7 @@ in
|
|||||||
after = [ "local-fs.target" ];
|
after = [ "local-fs.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
||||||
# FIXME use specific path
|
path = [ pkgs.fcron ];
|
||||||
environment = {
|
|
||||||
PATH = "/run/current-system/sw/bin";
|
|
||||||
};
|
|
||||||
|
|
||||||
preStart = ''
|
preStart = ''
|
||||||
install \
|
install \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user