link seafile components together
This commit is contained in:
parent
5ff14cd08a
commit
2d8350f62a
|
@ -30,7 +30,8 @@
|
|||
owner = "haiwen";
|
||||
repo = "seahub";
|
||||
rev = "v${version}-server";
|
||||
sha256 = "sha256:1aypbqrv30x9mmhiwcmkmzmac0mw0gx7cb1n4x90h46iqlbanhnq";
|
||||
#sha256 = "sha256:1aypbqrv30x9mmhiwcmkmzmac0mw0gx7cb1n4x90h46iqlbanhnq";
|
||||
sha256 = "sha256:19f9279zqkfy39gs1qfaj0m8asva5jgadh8f0yln8ln4khsrcnk8";
|
||||
};
|
||||
phases = [ "installPhase" "fixupPhase" "distPhase" ];
|
||||
installPhase = ''
|
||||
|
@ -85,5 +86,10 @@
|
|||
++ lib.optional withMysql libmysql;
|
||||
phases = [ "installPhase" "fixupPhase" "distPhase" ];
|
||||
# todo: create data directory in /srv in activation script
|
||||
inherit seafile-server-core;
|
||||
installPhase = ''
|
||||
mkdir "$out"
|
||||
cd "$out"
|
||||
ln -s ${seahub} seahub
|
||||
ln -s ${seafile-server-core} seafile-core
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue