summary refs log tree commit diff
path: root/pkgs/tools/system/fcron
diff options
context:
space:
mode:
authorMarc Weber <marco-oweber@gmx.de>2008-11-21 23:53:31 +0000
committerMarc Weber <marco-oweber@gmx.de>2008-11-21 23:53:31 +0000
commiteb0f06a1623a69a4f320af8e64201f0314676c9a (patch)
treee1a27baa425baf33a5c72bc3d281ac3bd52090b3 /pkgs/tools/system/fcron
parenta4a95f29628a247d665cd9edd5b1696f5bc0589a (diff)
downloadnixlib-eb0f06a1623a69a4f320af8e64201f0314676c9a.tar
nixlib-eb0f06a1623a69a4f320af8e64201f0314676c9a.tar.gz
nixlib-eb0f06a1623a69a4f320af8e64201f0314676c9a.tar.bz2
nixlib-eb0f06a1623a69a4f320af8e64201f0314676c9a.tar.lz
nixlib-eb0f06a1623a69a4f320af8e64201f0314676c9a.tar.xz
nixlib-eb0f06a1623a69a4f320af8e64201f0314676c9a.tar.zst
nixlib-eb0f06a1623a69a4f320af8e64201f0314676c9a.zip
default locations for fcron config settings (don't use store path)
svn path=/nixpkgs/trunk/; revision=13366
Diffstat (limited to 'pkgs/tools/system/fcron')
-rw-r--r--pkgs/tools/system/fcron/default.nix4
1 files changed, 4 insertions, 0 deletions
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;