mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
Fixing the systab in fcron.
svn path=/nixos/trunk/; revision=25368
This commit is contained in:
parent
d8ad975a1f
commit
efa2dccf44
1 changed files with 2 additions and 2 deletions
|
@ -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.'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue