Merge pull request #10195 from cleverca22/master

build the crontab localy, there is nothing to gain from building it remotely
This commit is contained in:
lethalman 2015-10-06 11:01:56 +02:00
commit 241821cbb4

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