From eb0f06a1623a69a4f320af8e64201f0314676c9a Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Fri, 21 Nov 2008 23:53:31 +0000 Subject: [PATCH] default locations for fcron config settings (don't use store path) svn path=/nixpkgs/trunk/; revision=13366 --- pkgs/tools/system/fcron/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/system/fcron/default.nix b/pkgs/tools/system/fcron/default.nix index 7e0f33da3496..0d7f49ff7d37 100644 --- a/pkgs/tools/system/fcron/default.nix +++ b/pkgs/tools/system/fcron/default.nix @@ -32,6 +32,10 @@ args.stdenv.mkDerivation { find -type f | xargs sed -i -e 's@^\(\s\)*chown@\1:@' -e 's@^\(\s\)*chgrp@\1:@' ''; + # default location for pidfile, fifofile, fcronallow, fcrondenay.. + # Then we don't need a wrapper to tell fcron where to find another configuration file + postInstall = '' sed -i "s@$out@@" $out/etc/fcron.conf ''; + meta = { description="A command scheduler with extended capabilities over cron and anacron"; homepage = http://fcron.free.fr;