From e2bc26e907c10def259f52401804f7f6d00c498c Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 17 Apr 2022 08:56:43 +0300 Subject: added tokio-console instrumentation support --- flake.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 234a2ae..6c08dab 100644 --- a/flake.nix +++ b/flake.nix @@ -187,7 +187,7 @@ }; rust-bin = pkgs.rust-bin.stable.latest; packages = { - kittybox = { stdenv, lib, openssl, pkg-config, naersk-lib }: + kittybox = { stdenv, lib, openssl, pkg-config, protobuf, naersk-lib }: naersk-lib.buildPackage { pname = "kittybox"; version = "0.1.0"; @@ -195,7 +195,7 @@ src = ./.; checkInputs = [ openssl.dev ]; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ pkg-config protobuf ]; nativeCheckInputs = [ pkg-config ]; doCheck = stdenv.hostPlatform == stdenv.targetPlatform; @@ -302,10 +302,10 @@ devShell = pkgs.mkShell { name = "rust-dev-shell"; nativeBuildInputs = with pkgs; [ - pkg-config lld + pkg-config lld protobuf # required for httpmock, not actually used in the release openssl.dev - xh systemfd + xh systemfd tokio-console cargo-watch cargo-edit cargo-outdated (rust-bin.default.override { extensions = [ "rust-src" ]; }) (rust-analyzer.override { rustPlatform = with rust-bin; { rustLibSrc = rust-src; }; }) -- cgit 1.4.1