svn path=/nixos/trunk/; revision=18599
This commit is contained in:
parent
88b26c47ad
commit
e76f14714b
@ -32,7 +32,6 @@ in
|
|||||||
src = ./bashrc.sh;
|
src = ./bashrc.sh;
|
||||||
|
|
||||||
bash = pkgs.bash;
|
bash = pkgs.bash;
|
||||||
systemPath = config.system.path;
|
|
||||||
wrapperDir = config.security.wrapperDir;
|
wrapperDir = config.security.wrapperDir;
|
||||||
modulesTree = config.system.modulesTree;
|
modulesTree = config.system.modulesTree;
|
||||||
shellInit = config.environment.shellInit;
|
shellInit = config.environment.shellInit;
|
||||||
|
@ -10,7 +10,7 @@ let
|
|||||||
systemCronJobsFile = pkgs.writeText "system-crontab"
|
systemCronJobsFile = pkgs.writeText "system-crontab"
|
||||||
''
|
''
|
||||||
SHELL=${pkgs.bash}/bin/bash
|
SHELL=${pkgs.bash}/bin/bash
|
||||||
PATH=/var/run/current-system/sw/bin:/var/run/current-system/sw/sbin
|
PATH=${config.system.path}/bin:${config.system.path}/sbin
|
||||||
MAILTO="${config.services.cron.mailto}"
|
MAILTO="${config.services.cron.mailto}"
|
||||||
${pkgs.lib.concatStrings (map (job: job + "\n") config.services.cron.systemCronJobs)}
|
${pkgs.lib.concatStrings (map (job: job + "\n") config.services.cron.systemCronJobs)}
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user