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:
parent
aa166e7703
commit
514afd26bc
@ -2,22 +2,22 @@
|
|||||||
|
|
||||||
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;
|
||||||
|
|
||||||
RUST_SRC_PATH = rustPlatform.rustcSrc;
|
RUST_SRC_PATH = rustPlatform.rustcSrc;
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user