diff options
-rw-r--r-- | pkgs/tools/system/fcron/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/tools/system/fcron/default.nix b/pkgs/tools/system/fcron/default.nix index 197bd3f0ce7..a803ce680d4 100644 --- a/pkgs/tools/system/fcron/default.nix +++ b/pkgs/tools/system/fcron/default.nix @@ -34,6 +34,13 @@ args.stdenv.mkDerivation { find -type f | xargs sed -i -e 's@^\(\s\)*chown@\1:@' -e 's@^\(\s\)*chgrp@\1:@' ''; + patchPhase = '' + # don't try to create /etc/fcron.{allow,deny,conf} + + sed -i -e 's@test -f $(DESTDIR)$(ETC)/fcron.conf @ # @' \ + -e 's@if test ! -f $(DESTDIR)$(ETC)/fcron.allow@ # @' Makefile.in + ''; + meta = { description="A command scheduler with extended capabilities over cron and anacron"; homepage = http://fcron.free.fr; |