summary refs log tree commit diff
path: root/nixos/modules/services/scheduling
diff options
context:
space:
mode:
authormichael bishop <cleverca22@gmail.com>2015-10-03 03:33:13 -0300
committermichael bishop <cleverca22@gmail.com>2015-10-03 03:33:13 -0300
commit54fe2f8c5c0312fe0d33f1667e80f0d46ea42e79 (patch)
treeec045efa51f0bd342a4d97d7dd4f97f32b493cce /nixos/modules/services/scheduling
parent3a658f4c41d9e30c31d366f2388c69181e8cb3d1 (diff)
downloadnixlib-54fe2f8c5c0312fe0d33f1667e80f0d46ea42e79.tar
nixlib-54fe2f8c5c0312fe0d33f1667e80f0d46ea42e79.tar.gz
nixlib-54fe2f8c5c0312fe0d33f1667e80f0d46ea42e79.tar.bz2
nixlib-54fe2f8c5c0312fe0d33f1667e80f0d46ea42e79.tar.lz
nixlib-54fe2f8c5c0312fe0d33f1667e80f0d46ea42e79.tar.xz
nixlib-54fe2f8c5c0312fe0d33f1667e80f0d46ea42e79.tar.zst
nixlib-54fe2f8c5c0312fe0d33f1667e80f0d46ea42e79.zip
build the crontab localy, there is nothing to gain from building it remotely
Diffstat (limited to 'nixos/modules/services/scheduling')
-rw-r--r--nixos/modules/services/scheduling/cron.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/scheduling/cron.nix b/nixos/modules/services/scheduling/cron.nix
index 02d80a77da50..1b5e83173e8f 100644
--- a/nixos/modules/services/scheduling/cron.nix
+++ b/nixos/modules/services/scheduling/cron.nix
@@ -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