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 --- flake.nix | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 165b386..5c3ed37 100644 --- a/flake.nix +++ b/flake.nix @@ -40,18 +40,6 @@ }; }; - devShells.default = pkgs.mkShell { - name = "rust-dev-shell"; - - nativeBuildInputs = with pkgs; [ - # required for tokio-console's console-subscriber - pkg-config protobuf - # required for httpmock, not actually used in the release - openssl.dev zlib - xh systemfd tokio-console - cargo-watch cargo-edit cargo-outdated - rustc cargo rust-analyzer clippy - ]; - }; + devShells.default = pkgs.callPackage ./shell.nix {}; }); } -- cgit 1.4.1