summary refs log tree commit diff
path: root/nixos/modules/services/scheduling
diff options
context:
space:
mode:
authorLéo Gaspard <leo@gaspard.io>2017-10-09 23:44:28 +0200
committerLéo Gaspard <leo@gaspard.io>2017-10-09 23:44:28 +0200
commit1afd97aa8f5893b92be5861d11b31c3ba9581f34 (patch)
tree017b06f0bc657f29bbf746e6292056894e627037 /nixos/modules/services/scheduling
parente34e28e573568a0cad99d3e6aec3f78408d9cdbc (diff)
downloadnixpkgs-1afd97aa8f5893b92be5861d11b31c3ba9581f34.tar
nixpkgs-1afd97aa8f5893b92be5861d11b31c3ba9581f34.tar.gz
nixpkgs-1afd97aa8f5893b92be5861d11b31c3ba9581f34.tar.bz2
nixpkgs-1afd97aa8f5893b92be5861d11b31c3ba9581f34.tar.lz
nixpkgs-1afd97aa8f5893b92be5861d11b31c3ba9581f34.tar.xz
nixpkgs-1afd97aa8f5893b92be5861d11b31c3ba9581f34.tar.zst
nixpkgs-1afd97aa8f5893b92be5861d11b31c3ba9581f34.zip
fcron module: fix use with hardlink-optimized store
Diffstat (limited to 'nixos/modules/services/scheduling')
-rw-r--r--nixos/modules/services/scheduling/fcron.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/scheduling/fcron.nix b/nixos/modules/services/scheduling/fcron.nix
index 8b87f72811a..ac589be5773 100644
--- a/nixos/modules/services/scheduling/fcron.nix
+++ b/nixos/modules/services/scheduling/fcron.nix
@@ -146,7 +146,7 @@ in
           --group fcron \
           --directory /var/spool/fcron
         # load system crontab file
-        /run/wrappers/bin/fcrontab -u systab ${pkgs.writeText "systab" cfg.systab}
+        /run/wrappers/bin/fcrontab -u systab - < ${pkgs.writeText "systab" cfg.systab}
       '';
 
       serviceConfig = {