forked from mirrors/nixpkgs
rustracerd: build with current rust
Fix taken from https://github.com/jwilm/racerd/pull/82. It just updates a dependency.
This commit is contained in:
parent
337b35707d
commit
6cea0daaa9
|
@ -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;
|
||||
|
|
|
@ -8925,7 +8925,6 @@ in
|
|||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
rustracerd = callPackage ../development/tools/rust/racerd {
|
||||
inherit (rustPackages_1_38_0) rustPlatform;
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
rust-bindgen = callPackage ../development/tools/rust/bindgen { };
|
||||
|
|
Loading…
Reference in a new issue