diff --git a/seafile-server/default.nix b/seafile-server/default.nix index ac0c07d..f5c7fde 100644 --- a/seafile-server/default.nix +++ b/seafile-server/default.nix @@ -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 + ''; }