indradb: fix build
Was missing deps and hooks, now it at least compiles
This commit is contained in:
parent
557f7572d8
commit
d8710ac534
1 changed files with 7 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
||||||
, lib
|
, lib
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, rustfmt
|
, rustfmt
|
||||||
|
, protobuf
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
|
@ -30,7 +31,9 @@ in
|
||||||
|
|
||||||
buildAndTestSubdir = "server";
|
buildAndTestSubdir = "server";
|
||||||
|
|
||||||
nativeBuildInputs = [ rustfmt ];
|
PROTOC = "${protobuf}/bin/protoc";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ rustfmt rustPlatform.bindgenHook ];
|
||||||
|
|
||||||
# test rely on libindradb and it can't be found
|
# test rely on libindradb and it can't be found
|
||||||
# failure at https://github.com/indradb/indradb/blob/master/server/tests/plugins.rs#L63
|
# failure at https://github.com/indradb/indradb/blob/master/server/tests/plugins.rs#L63
|
||||||
|
@ -44,7 +47,9 @@ in
|
||||||
|
|
||||||
cargoSha256 = "sha256-pxan6W/CEsOxv8DbbytEBuIqxWn/C4qT4ze/RnvESOM=";
|
cargoSha256 = "sha256-pxan6W/CEsOxv8DbbytEBuIqxWn/C4qT4ze/RnvESOM=";
|
||||||
|
|
||||||
nativeBuildInputs = [ rustfmt ];
|
PROTOC = "${protobuf}/bin/protoc";
|
||||||
|
|
||||||
|
nativeBuildInputs = [ rustfmt rustPlatform.bindgenHook ];
|
||||||
|
|
||||||
buildAndTestSubdir = "client";
|
buildAndTestSubdir = "client";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue