From 2ab37a2396885f196f4032036dc737a56b09b8aa Mon Sep 17 00:00:00 2001 From: Vladimir Rubin Date: Sat, 14 Jun 2025 20:51:09 +0300 Subject: [PATCH] build(nix): move from nightly to stable rust --- flake.nix | 9 +++------ rustfmt.toml | 2 -- 2 files changed, 3 insertions(+), 8 deletions(-) delete mode 100644 rustfmt.toml diff --git a/flake.nix b/flake.nix index 9d9d6ee..63c37dd 100644 --- a/flake.nix +++ b/flake.nix @@ -21,12 +21,9 @@ pkgs = import nixpkgs { inherit system overlays; }; - rust = pkgs.rust-bin.selectLatestNightlyWith ( - toolchain: - toolchain.default.override { - extensions = [ "rust-analyzer" ]; - } - ); + rust = pkgs.rust-bin.stable.latest.default.override { + extensions = [ "rust-analyzer" ]; + }; in { devShells.default = pkgs.mkShell rec { diff --git a/rustfmt.toml b/rustfmt.toml deleted file mode 100644 index 3a3f3f1..0000000 --- a/rustfmt.toml +++ /dev/null @@ -1,2 +0,0 @@ -imports_granularity = "Module" -group_imports = "StdExternalCrate"