From 8300ddb9ca3b44c4de96585bd1007ec757631cdf Mon Sep 17 00:00:00 2001 From: isabel Date: Thu, 1 Aug 2024 08:38:32 +0100 Subject: [PATCH] fix(nix): only include the "rust-src" extention in the shell.nix --- flake.nix | 2 +- nix/shell.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 55a1b003..84cfb830 100644 --- a/flake.nix +++ b/flake.nix @@ -39,7 +39,7 @@ ( final: prev: let - toolchain = final.rust-bin.stable.latest.default.override { extensions = [ "rust-src" ]; }; + toolchain = final.rust-bin.stable.latest.default; in { rustPlatform = prev.makeRustPlatform { diff --git a/nix/shell.nix b/nix/shell.nix index 361fbcfe..a6750e43 100644 --- a/nix/shell.nix +++ b/nix/shell.nix @@ -10,6 +10,7 @@ mainPkg.overrideAttrs (oa: { nativeBuildInputs = [ (rust-bin.stable.latest.default.override { extensions = [ + "rust-src" "rustfmt" "rust-analyzer" "clippy"