aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/tools/rust/rust-analyzer/generic.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/rust/rust-analyzer/generic.nix')
-rw-r--r--pkgs/development/tools/rust/rust-analyzer/generic.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/development/tools/rust/rust-analyzer/generic.nix b/pkgs/development/tools/rust/rust-analyzer/generic.nix
index ca72f91953cf..1bab5b951837 100644
--- a/pkgs/development/tools/rust/rust-analyzer/generic.nix
+++ b/pkgs/development/tools/rust/rust-analyzer/generic.nix
@@ -16,11 +16,6 @@ rustPlatform.buildRustPackage {
inherit rev sha256;
};
- # FIXME: Temporary fixes for our rust 1.46.0
- patches = [
- ./no-track_env_var.patch # Requires rustc 1.47.0
- ];
-
buildAndTestSubdir = "crates/rust-analyzer";
cargoBuildFlags = lib.optional useMimalloc "--features=mimalloc";
@@ -34,7 +29,7 @@ rustPlatform.buildRustPackage {
inherit doCheck;
preCheck = lib.optionalString doCheck ''
- export RUST_SRC_PATH=${rustPlatform.rustcSrc}
+ export RUST_SRC_PATH=${rustPlatform.rustLibSrc}
'';
doInstallCheck = true;