build the crontab localy, there is nothing to gain from building it remotely

This commit is contained in:
michael bishop 2015-10-03 03:33:13 -03:00
parent 3a658f4c41
commit 54fe2f8c5c

View File

@ -100,7 +100,7 @@ in
environment.systemPackages = [ cronNixosPkg ];
environment.etc.crontab =
{ source = pkgs.runCommand "crontabs" { inherit allFiles; }
{ source = pkgs.runCommand "crontabs" { inherit allFiles; preferLocalBuild = true; }
''
touch $out
for i in $allFiles; do