1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00

Fixes to OpenFire

svn path=/nixpkgs/trunk/; revision=11263
This commit is contained in:
Michael Raskin 2008-03-22 17:53:27 +00:00
parent b7ee7d1999
commit 58a31ca341

View file

@ -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.