fix build

This commit is contained in:
guochao 2024-05-29 19:20:37 +08:00
parent a4c5009947
commit e039c8cde0
2 changed files with 2 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{ rustPlatform, lib, callPackage, project-config ? callPackage ./project-config.nix { }, ... }: rustPlatform.buildRustPackage { { rustPlatform, lib, callPackage, project-config ? callPackage ./project-config.nix { }, ... }: rustPlatform.buildRustPackage {
pname = "hello"; pname = "chat-signaling-server";
version = "1.0.0"; version = "1.0.0";
nativeBuildInputs = project-config.buildTools; nativeBuildInputs = project-config.buildTools;

View File

@ -12,7 +12,7 @@
, extra-tools ? callPackage ./extra-tools.nix , extra-tools ? callPackage ./extra-tools.nix
, ... , ...
}: { }: {
buildTools = [ pkg-config ]; buildTools = [ pkg-config protobuf ];
libraries = [ sqlite ]; libraries = [ sqlite ];
developmentTools = [ developmentTools = [
# bpf-linker # bpf-linker
@ -33,7 +33,6 @@
# perseus-cli # perseus-cli
# trunk # trunk
# wasm-bindgen-cli # wasm-bindgen-cli
protobuf
rustfmt rustfmt
# extra-tools.kopium # extra-tools.kopium