From f8894b0fb4373615af1daf7b37d9feea1627e005 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 3 Sep 2024 02:45:37 -0700 Subject: chore(nix): add cargo-watch --- flake.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 2c0457b..2f1c310 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,7 @@ inputs.nixpkgs.follows = "nixpkgs"; }; }; + outputs = { self, @@ -22,13 +23,14 @@ overlays = [ (import rust-overlay) ]; pkgs = import nixpkgs { inherit system overlays; }; in - rec { + { devShell = pkgs.mkShell { nativeBuildInputs = with pkgs; [ rust-bin.nightly."2024-07-17".default cargo-make openssl.dev pkg-config + cargo-watch ]; }; } -- cgit v1.2.3