summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2017-10-09 23:12:40 +0100
committerGitHub <noreply@github.com>2017-10-09 23:12:40 +0100
commita61304e3cbc7648a7dc73e4dc5d3c0abdbf3389e (patch)
tree88f68a5ab0bcd9545cceb90423ef0b7b142439fe /nixos
parent7002ca7e1ca74ad2ba07a7dcfc68a92b7ea9546c (diff)
parent1afd97aa8f5893b92be5861d11b31c3ba9581f34 (diff)
downloadnixlib-a61304e3cbc7648a7dc73e4dc5d3c0abdbf3389e.tar
nixlib-a61304e3cbc7648a7dc73e4dc5d3c0abdbf3389e.tar.gz
nixlib-a61304e3cbc7648a7dc73e4dc5d3c0abdbf3389e.tar.bz2
nixlib-a61304e3cbc7648a7dc73e4dc5d3c0abdbf3389e.tar.lz
nixlib-a61304e3cbc7648a7dc73e4dc5d3c0abdbf3389e.tar.xz
nixlib-a61304e3cbc7648a7dc73e4dc5d3c0abdbf3389e.tar.zst
nixlib-a61304e3cbc7648a7dc73e4dc5d3c0abdbf3389e.zip
Merge pull request #30261 from Ekleog/fcron-hardlink
fcron module: fix use with hardlink-optimized store
Diffstat (limited to 'nixos')
-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 8b87f72811a3..ac589be57736 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 = {