aboutsummaryrefslogtreecommitdiff
path: root/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'package.nix')
-rw-r--r--package.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/package.nix b/package.nix
index d62e1e719..453a5f807 100644
--- a/package.nix
+++ b/package.nix
@@ -474,6 +474,14 @@ stdenv.mkDerivation (finalAttrs: {
# Load-bearing order. Must come before clang-unwrapped below, but after clang_tools above.
stdenv.cc
]
+ ++ [
+ pkgs.rust-analyzer
+ pkgs.cargo
+ pkgs.rustc
+ pkgs.rustfmt
+ pkgs.rustPlatform.rustLibSrc
+ pkgs.rustPlatform.rustcSrc
+ ]
++ lib.optionals stdenv.cc.isClang [
# Required for clang-tidy checks.
llvmPackages.llvm