From 6cea0daaa94856d12d2e62650f82f78db4770b19 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 14 Mar 2020 00:38:30 +0000 Subject: rustracerd: build with current rust Fix taken from https://github.com/jwilm/racerd/pull/82. It just updates a dependency. --- pkgs/development/tools/rust/racerd/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'pkgs/development/tools') diff --git a/pkgs/development/tools/rust/racerd/default.nix b/pkgs/development/tools/rust/racerd/default.nix index c49ea2aaf128..02b32c6485e6 100644 --- a/pkgs/development/tools/rust/racerd/default.nix +++ b/pkgs/development/tools/rust/racerd/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper , Security }: +{ stdenv, fetchFromGitHub, fetchpatch, rustPlatform, makeWrapper, Security }: rustPlatform.buildRustPackage rec { pname = "racerd"; @@ -11,7 +11,14 @@ rustPlatform.buildRustPackage rec { sha256 = "13jqdvjk4savcl03mrn2vzgdsd7vxv2racqbyavrxp2cm9h6cjln"; }; - cargoSha256 = "1nwjr7v8hkhsql93wbwk5gqqiq725gj5iwwsbd250my9g5kkfdbw"; + cargoPatches = [ + (fetchpatch { + url = "https://github.com/jwilm/racerd/commit/856f3656e160cd2909c5166e962f422c901720ee.patch"; + sha256 = "1qq2k4bnwjz5qgn7s8yxd090smwn2wvdm8dd1rrlgpln0a5vxkpb"; + }) + ]; + + cargoSha256 = "1z0dh2j9ik66i6nww3z7z2gw7nhc0b061zxbjzamk1jybpc845lq"; # a nightly compiler is required unless we use this cheat code. RUSTC_BOOTSTRAP=1; -- cgit 1.4.1