From fde3e415b3412984d33281b28710e0c2b0c9b137 Mon Sep 17 00:00:00 2001 From: Vika Date: Sun, 7 Aug 2022 16:04:52 +0300 Subject: fix flake not reloading --- kittybox-rs/.envrc | 2 +- shell.nix | 4 ++-- 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 -- cgit 1.4.1