summary refs log tree commit diff
path: root/pkgs/development/tools/rust
diff options
context:
space:
mode:
authoroxalica <oxalicc@pm.me>2021-05-25 04:08:04 +0800
committeroxalica <oxalicc@pm.me>2021-06-01 04:01:05 +0800
commit7cdccfafb72c9a2df0cbced0bfc501b32c092cb1 (patch)
tree664bfa022f638e8a11336c854a619faaee181666 /pkgs/development/tools/rust
parent311dfcbc469b48c137915fc252b2e54690b52fd2 (diff)
downloadnixpkgs-7cdccfafb72c9a2df0cbced0bfc501b32c092cb1.tar
nixpkgs-7cdccfafb72c9a2df0cbced0bfc501b32c092cb1.tar.gz
nixpkgs-7cdccfafb72c9a2df0cbced0bfc501b32c092cb1.tar.bz2
nixpkgs-7cdccfafb72c9a2df0cbced0bfc501b32c092cb1.tar.lz
nixpkgs-7cdccfafb72c9a2df0cbced0bfc501b32c092cb1.tar.xz
nixpkgs-7cdccfafb72c9a2df0cbced0bfc501b32c092cb1.tar.zst
nixpkgs-7cdccfafb72c9a2df0cbced0bfc501b32c092cb1.zip
rust-analyzer: 2021-05-17 -> 2021-05-31
Diffstat (limited to 'pkgs/development/tools/rust')
-rw-r--r--pkgs/development/tools/rust/rust-analyzer/default.nix24
1 files changed, 4 insertions, 20 deletions
diff --git a/pkgs/development/tools/rust/rust-analyzer/default.nix b/pkgs/development/tools/rust/rust-analyzer/default.nix
index a038e9d65d2..066ecefaa14 100644
--- a/pkgs/development/tools/rust/rust-analyzer/default.nix
+++ b/pkgs/development/tools/rust/rust-analyzer/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices, cmake, fetchpatch
+{ lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices, cmake
 , libiconv
 , useMimalloc ? false
 , doCheck ? true
@@ -6,32 +6,16 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "rust-analyzer-unwrapped";
-  version = "2021-05-17";
-  cargoSha256 = "sha256-uSBukInJ3FEMmMpG9DN3XeXm+hzUFqCrZORb4NIEJhw=";
+  version = "2021-05-31";
+  cargoSha256 = "sha256-atfpcP3esMQQ2lOFTKksQH1nV78KAic51XZi+R++vHg=";
 
   src = fetchFromGitHub {
     owner = "rust-analyzer";
     repo = "rust-analyzer";
     rev = version;
-    sha256 = "sha256-BsabpY4LArfsDPAMsggxKu1+OQZmqRe//+a5uBcuFps=";
+    sha256 = "sha256-v2zS9qnvNrImQ3UqU80YagwLJKkVxwvwMMISimFbMOI=";
   };
 
-  patches = [
-    # Revert updates which require rust 1.52.0.
-    # We currently have rust 1.51.0 in nixpkgs.
-    # https://github.com/rust-analyzer/rust-analyzer/pull/8718
-    (fetchpatch {
-      url = "https://github.com/rust-analyzer/rust-analyzer/pull/8718/commits/607d8a2f61e56fabb7a3bc5132592917fcdca970.patch";
-      sha256 = "sha256-g1yyq/XSwGxftnqSW1bR5UeMW4gW28f4JciGvwQ/n08=";
-      revert = true;
-    })
-    (fetchpatch {
-      url = "https://github.com/rust-analyzer/rust-analyzer/pull/8718/commits/6a16ec52aa0d91945577c99cdf421b303b59301e.patch";
-      sha256 = "sha256-n7Ew/0fG8zPaMFCi8FVLjQZwJSaczI/QoehC6pDLrAk=";
-      revert = true;
-    })
-  ];
-
   buildAndTestSubdir = "crates/rust-analyzer";
 
   cargoBuildFlags = lib.optional useMimalloc "--features=mimalloc";