From e039c8cde000237f2e84c73b0685be673059836c Mon Sep 17 00:00:00 2001 From: guochao Date: Wed, 29 May 2024 19:20:37 +0800 Subject: [PATCH] fix build --- default.nix | 2 +- project-config.nix | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/default.nix b/default.nix index 475dbad..4a25916 100644 --- a/default.nix +++ b/default.nix @@ -1,5 +1,5 @@ { rustPlatform, lib, callPackage, project-config ? callPackage ./project-config.nix { }, ... }: rustPlatform.buildRustPackage { - pname = "hello"; + pname = "chat-signaling-server"; version = "1.0.0"; nativeBuildInputs = project-config.buildTools; diff --git a/project-config.nix b/project-config.nix index d3d78bb..c00e9fd 100644 --- a/project-config.nix +++ b/project-config.nix @@ -12,7 +12,7 @@ , extra-tools ? callPackage ./extra-tools.nix , ... }: { - buildTools = [ pkg-config ]; + buildTools = [ pkg-config protobuf ]; libraries = [ sqlite ]; developmentTools = [ # bpf-linker @@ -33,7 +33,6 @@ # perseus-cli # trunk # wasm-bindgen-cli - protobuf rustfmt # extra-tools.kopium