From 9145f3b861cc52cf244eb55691a9bda87940cf10 Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Thu, 27 Oct 2022 21:45:13 -0300 Subject: [PATCH] Remove Linux gate behind cargo-watch --- rust-toolchain/flake.nix | 3 ++- rust/flake.nix | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/rust-toolchain/flake.nix b/rust-toolchain/flake.nix index 861112e..b73d573 100644 --- a/rust-toolchain/flake.nix +++ b/rust-toolchain/flake.nix @@ -33,8 +33,9 @@ pkg-config cargo-deny cargo-edit + cargo-watch rust-analyzer - ] ++ pkgs.lib.optionals (pkgs.stdenv.isLinux) (with pkgs; [ cargo-watch ]); # Currently broken on macOS + ]; shellHook = '' ${pkgs.rustToolchain}/bin/cargo --version diff --git a/rust/flake.nix b/rust/flake.nix index 4a2362d..93ddf84 100644 --- a/rust/flake.nix +++ b/rust/flake.nix @@ -42,8 +42,9 @@ pkg-config cargo-deny cargo-edit + cargo-watch rust-analyzer - ] ++ pkgs.lib.optionals (pkgs.stdenv.isLinux) (with pkgs; [ cargo-watch ]); # Currently broken on macOS + ]; shellHook = '' ${pkgs.rustToolchain}/bin/cargo --version