From b93fb689efa5b545076d815c0620fd5ea79ef877 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Sat, 12 Oct 2019 23:21:29 +0200 Subject: [PATCH] fix seahub install --- seafile-server/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/seafile-server/default.nix b/seafile-server/default.nix index 8cd707f..99e4b91 100644 --- a/seafile-server/default.nix +++ b/seafile-server/default.nix @@ -38,7 +38,10 @@ #sha256 = "sha256:1aypbqrv30x9mmhiwcmkmzmac0mw0gx7cb1n4x90h46iqlbanhnq"; sha256 = "sha256:19f9279zqkfy39gs1qfaj0m8asva5jgadh8f0yln8ln4khsrcnk8"; }; - phases = [ "unpackPhase" "fixupPhase" "distPhase" ]; + phases = [ "unpackPhase" "installPhase" "fixupPhase" "distPhase" ]; + installPhase = '' + cp -r ./ $out + ''; propagatedBuildInputs = with python27Packages; [ django pytz django-statici18n djangorestframework django_compressor django-post_office django-constance gunicorn flup chardet dateutil six @@ -105,4 +108,5 @@ maintainers = with maintainers; [ schmittlauch ]; license = licenses.free; # components with different free software licenses are combined }; + inherit seahub; }