0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

Fixing the systab in fcron.

svn path=/nixos/trunk/; revision=25368
This commit is contained in:
Lluís Batlle i Rossell 2011-01-03 18:36:31 +00:00
parent d8ad975a1f
commit efa2dccf44

View file

@ -8,7 +8,7 @@ let
queuelen = if cfg.queuelen == "" then "" else "-q ${toString cfg.queuelen}"; queuelen = if cfg.queuelen == "" then "" else "-q ${toString cfg.queuelen}";
systemCronJobsFile = pkgs.writeText "system-crontab" systemCronJobs =
'' ''
SHELL=${pkgs.bash}/bin/bash SHELL=${pkgs.bash}/bin/bash
PATH=${config.system.path}/bin:${config.system.path}/sbin PATH=${config.system.path}/bin:${config.system.path}/sbin
@ -61,7 +61,7 @@ in
}; };
systab = mkOption { systab = mkOption {
default = systemCronJobsFile; default = systemCronJobs;
description = ''The "system" crontab contents.''; description = ''The "system" crontab contents.'';
}; };
}; };