From e34e28e573568a0cad99d3e6aec3f78408d9cdbc Mon Sep 17 00:00:00 2001 From: Joerg Thalheim Date: Mon, 9 Oct 2017 11:35:06 +0100 Subject: [PATCH] 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. --- nixos/modules/services/scheduling/fcron.nix | 5 +---- 1 file changed, 1 insertion(+), 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 \