From 8eedee638a5cc54b03baedea3697280eef719469 Mon Sep 17 00:00:00 2001 From: Vika Date: Thu, 26 May 2022 00:19:33 +0300 Subject: flake.nix: move the devShell into its own file --- shell.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 shell.nix (limited to 'shell.nix') diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..32cff3e --- /dev/null +++ b/shell.nix @@ -0,0 +1,19 @@ +{ mkShell, rustc, cargo, rust-analyzer, clippy +, cargo-watch, cargo-edit, cargo-outdated +, xh, systemfd, tokio-console +, pkg-config, protobuf, openssl, zlib +}: +mkShell { + name = "rust-dev-shell"; + + nativeBuildInputs = [ + rustc cargo rust-analyzer clippy + cargo-watch cargo-edit cargo-outdated + xh systemfd tokio-console + # required for tokio-console's console-subscriber + pkg-config protobuf + # required for httpmock, not actually used in the release + openssl.dev zlib + + ]; +} -- cgit 1.4.1