From 6a8d25f74d6c786cdf1349aac009e4f7b4d12ac8 Mon Sep 17 00:00:00 2001 From: Juanperias <136520331+Juanperias@users.noreply.github.com> Date: Fri, 3 Jan 2025 12:30:28 -0400 Subject: [PATCH] Refactor use fenix minimalToolchain --- flake.nix | 6 ++---- rust-toolchain.toml | 3 --- 2 files changed, 2 insertions(+), 7 deletions(-) delete mode 100644 rust-toolchain.toml diff --git a/flake.nix b/flake.nix index 8780a75..62013d2 100644 --- a/flake.nix +++ b/flake.nix @@ -16,10 +16,8 @@ pkgs = nixpkgs.legacyPackages.${system}; crane = inputs.crane.mkLib pkgs; - toolchain = fenix.packages.${system}.fromToolchainFile { - file = ./rust-toolchain.toml; - sha256 = "sha256-s1RPtyvDGJaX/BisLT+ifVfuhDT1nZkZ1NcK8sbwELM="; - }; + + toolchain = fenix.packages.${system}.stable.minimalToolchain; craneLib = crane.overrideToolchain toolchain; in diff --git a/rust-toolchain.toml b/rust-toolchain.toml deleted file mode 100644 index 6cee101..0000000 --- a/rust-toolchain.toml +++ /dev/null @@ -1,3 +0,0 @@ -[toolchain] -channel = "stable" -targets = ["wasm32-unknown-unknown", "aarch64-linux-android"]