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:58 +0100 |
| commit | 55def8acf583323ac09c2dbeede0fd48e2eaef4d (patch) | |
| tree | cc924658144b5a1c0696ce0b5655aaa470e6a740 | |
| parent | xorg-server: security 1.19.2 -> 1.19.4 (diff) | |
| download | nixpkgs-55def8acf583323ac09c2dbeede0fd48e2eaef4d.tar.gz | |
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.
(cherry picked from commit e34e28e573568a0cad99d3e6aec3f78408d9cdbc)
| -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 af4f9f41fd04..8b87f72811a3 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 \ |
