rustracer: 2.1.30 -> 2.1.33, fix build

ChangeLog: https://github.com/racer-rust/racer/blob/v2.1.33/CHANGELOG.md#2132
Broken build: https://hydra.nixos.org/build/123837796

Please note that I intentionally didn't bump to `2.1.35` since it
requires nightly features. `2.1.33` is the latest version which supports
our current `rustc`-version (1.44.1) on nixpkgs `master`.

Closes #89481
This commit is contained in:
Maximilian Bosch 2020-07-13 22:40:26 +02:00
parent aa166e7703
commit 514afd26bc
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -2,19 +2,19 @@
rustPlatform.buildRustPackage rec { rustPlatform.buildRustPackage rec {
pname = "racer"; pname = "racer";
version = "2.1.30"; version = "2.1.33";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "racer-rust"; owner = "racer-rust";
repo = "racer"; repo = "racer";
rev = "c2b0080243fefdad7f7b223e8a7fdef3e1f0fa77"; rev = "v${version}";
sha256 = "0svvdkfqpk2rw0wxyrhkxy553k55lg7jxc0ly4w1195iwv14ad3y"; sha256 = "0fxcif42k8x70zwpi76h2jxyr048mjzakh52yzqavyr8irl55ll2";
}; };
cargoSha256 = "0zaqa89z3nf23s2q1jpmfz4lygh4zq9ymql71d748fgjy9psr449"; cargoSha256 = "115ydgv4wd4bf3xhm96zlc9z1lhmrcnm1v5pgzl9846l27ka1z13";
buildInputs = [ makeWrapper ] nativeBuildInputs = [ makeWrapper ];
++ stdenv.lib.optional stdenv.isDarwin Security; buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
# a nightly compiler is required unless we use this cheat code. # a nightly compiler is required unless we use this cheat code.
RUSTC_BOOTSTRAP = 1; RUSTC_BOOTSTRAP = 1;