diff options
author | Joerg Thalheim <joerg@thalheim.io> | 2017-10-09 11:35:06 +0100 |
---|---|---|
committer | Joerg Thalheim <joerg@thalheim.io> | 2017-10-09 11:43:24 +0100 |
commit | e34e28e573568a0cad99d3e6aec3f78408d9cdbc (patch) | |
tree | 0635b4d439625c7672d0a94534774d953d41d78a /nixos/modules/services/scheduling | |
parent | 2ef1a6c17cb95065f9ca21d33c8ec01fa8793f13 (diff) |
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.
Diffstat (limited to 'nixos/modules/services/scheduling')
-rw-r--r-- | nixos/modules/services/scheduling/fcron.nix | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/nixos/modules/services/scheduling/fcron.nix b/nixos/modules/services/scheduling/fcron.nix index af4f9f41fd040..8b87f72811a3f 100644 --- a/nixos/modules/services/scheduling/fcron.nix +++ b/nixos/modules/services/scheduling/fcron.nix @@ -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 \ |