about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--kittybox-rs/.envrc2
-rw-r--r--shell.nix4
2 files changed, 3 insertions, 3 deletions
diff --git a/kittybox-rs/.envrc b/kittybox-rs/.envrc
index 81977e9..a3511a2 100644
--- a/kittybox-rs/.envrc
+++ b/kittybox-rs/.envrc
@@ -3,6 +3,6 @@ if has nix; then
         source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.1/direnvrc" \
             "sha256-b6qJ4r34rbE23yWjMqbmu3ia2z4b2wIlZUksBke/ol0="
     fi
-    use flake ..
     nix_direnv_watch_file ../shell.nix
+    use flake ..
 fi
diff --git a/shell.nix b/shell.nix
index 3f9627d..32b6676 100644
--- a/shell.nix
+++ b/shell.nix
@@ -1,5 +1,5 @@
 { mkShell, rustc, cargo, rust-analyzer, clippy, rustfmt
-, cargo-watch, cargo-edit, cargo-outdated
+, cargo-watch, cargo-edit, cargo-outdated, cargo-crev
 , xh, systemfd, tokio-console
 , pkg-config, protobuf, openssl, zlib
 }:
@@ -8,7 +8,7 @@ mkShell {
 
   nativeBuildInputs = [
     rustc cargo rust-analyzer clippy rustfmt
-    cargo-watch cargo-edit cargo-outdated
+    cargo-watch cargo-edit cargo-outdated cargo-crev
     xh systemfd tokio-console
     # required for tokio-console's console-subscriber
     pkg-config protobuf