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:
Joerg Thalheim 2017-10-09 11:35:06 +01:00
parent 2ef1a6c17c
commit e34e28e573

View file

@ -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 \