Skip to content

Commit

Permalink
nixos/fcron: service needs fcron in PATH
Browse files Browse the repository at this point in the history
otherwise fcronsighup is not found.
Set PATH to /run/current-system/sw/bin does not seems to be used by service file anyway.
  • Loading branch information
Mic92 committed Oct 9, 2017
1 parent 816d0f1 commit c0f9781
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions nixos/modules/services/scheduling/fcron.nix
Expand Up @@ -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 \
Expand Down

0 comments on commit c0f9781

Please sign in to comment.