From 518d4fd1c28f6b3eaa6f5a8d85d9ba37304299e0 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Wed, 9 Oct 2019 00:54:36 +0200 Subject: [PATCH] ccnet-server: generate required searpc header files --- seafile-server/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/seafile-server/default.nix b/seafile-server/default.nix index baab634..614c3ab 100644 --- a/seafile-server/default.nix +++ b/seafile-server/default.nix @@ -65,11 +65,11 @@ nativeBuildInputs = [ autoconf automake libtool pkgconfig autoreconfHook ]; configureFlags = [ "--disable-static" ]; # generate required searpc header files - preBuildPhases = '' - pwd + preBuildPhases = [ "searpcHeadergenPhase" ]; + searpcHeadergenPhase = '' cd ./lib/ - ${python27} ${libsearpc}/bin/searpc-codegen.py rpc_table.py - cd - + python2 ${libsearpc}/bin/searpc-codegen.py rpc_table.py + cd .. ''; meta = {