diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2008-03-22 17:53:27 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2008-03-22 17:53:27 +0000 |
commit | 58a31ca3413e869d2cfe066324bc8e259cf8e759 (patch) | |
tree | 1f6291c11d542e9c4ad74ce90388540515542cd8 /pkgs/servers | |
parent | b7ee7d199908d97ecb4c9fabd41c11b39370c6c3 (diff) |
Fixes to OpenFire
svn path=/nixpkgs/trunk/; revision=11263
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/xmpp/openfire/3.4.5.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/servers/xmpp/openfire/3.4.5.nix b/pkgs/servers/xmpp/openfire/3.4.5.nix index 8fb352a9e50a5..c081c5eadff73 100644 --- a/pkgs/servers/xmpp/openfire/3.4.5.nix +++ b/pkgs/servers/xmpp/openfire/3.4.5.nix @@ -12,15 +12,19 @@ args : with args; with builderDefs {src="";} null; installPhase = FullDepEntry ('' sed -e 's@\(common_jvm_locations\)=.*@\1${jre}@' -i bin/openfire cp -r . $out + rm -r $out/logs + mv $out/conf $out/conf.inst + ln -s /var/logs/openfire $out/logs + ln -s /etc/openfire $out/conf '') - ["minInit" "doUnpack" "findInputs"]; + ["minInit" "doUnpack" "addInputs"]; }) null; /* null is a terminator for sumArgs */ in with localDefs; stdenv.mkDerivation rec { name = "openfire-"+version; builder = writeScript (name + "-builder") (textClosure localDefs - [ doForceShare doPropagate installPhase]); + [ installPhase doForceShare doPropagate]); meta = { description = " XMPP server in Java. |