From 514afd26bc2f9a990e57de54650bab989164d98a Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Mon, 13 Jul 2020 22:40:26 +0200 Subject: [PATCH] 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 --- pkgs/development/tools/rust/racer/default.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/development/tools/rust/racer/default.nix b/pkgs/development/tools/rust/racer/default.nix index 0a29577e0cdd..f74e757184e0 100644 --- a/pkgs/development/tools/rust/racer/default.nix +++ b/pkgs/development/tools/rust/racer/default.nix @@ -2,22 +2,22 @@ rustPlatform.buildRustPackage rec { pname = "racer"; - version = "2.1.30"; + version = "2.1.33"; src = fetchFromGitHub { owner = "racer-rust"; repo = "racer"; - rev = "c2b0080243fefdad7f7b223e8a7fdef3e1f0fa77"; - sha256 = "0svvdkfqpk2rw0wxyrhkxy553k55lg7jxc0ly4w1195iwv14ad3y"; + rev = "v${version}"; + sha256 = "0fxcif42k8x70zwpi76h2jxyr048mjzakh52yzqavyr8irl55ll2"; }; - cargoSha256 = "0zaqa89z3nf23s2q1jpmfz4lygh4zq9ymql71d748fgjy9psr449"; + cargoSha256 = "115ydgv4wd4bf3xhm96zlc9z1lhmrcnm1v5pgzl9846l27ka1z13"; - buildInputs = [ makeWrapper ] - ++ stdenv.lib.optional stdenv.isDarwin Security; + nativeBuildInputs = [ makeWrapper ]; + buildInputs = stdenv.lib.optional stdenv.isDarwin Security; # a nightly compiler is required unless we use this cheat code. - RUSTC_BOOTSTRAP=1; + RUSTC_BOOTSTRAP = 1; RUST_SRC_PATH = rustPlatform.rustcSrc; postInstall = ''