git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #142267 from figsoda/remove-racerd

rustracerd: remove

commitcc5cc3101cbdabef594a19f563bf4c9cc27c867e authorfigsoda <figsoda@pm.me> dateFri 22 Oct 2021, 09:30 (5 years ago) parent4d7395928aa1f9
4 files changed+1−55
pkgs/development/tools/misc/ycmd/default.nix−5 pkgs/development/tools/rust/racerd/default.nix−45 pkgs/top-level/aliases.nix+1 pkgs/top-level/all-packages.nix−5
pkgs/development/tools/misc/ycmd/default.nix−5
@@ -3,7 +3,6 @@
33, godef ? null
44, gotools ? null
55, nodePackages ? null
6−, rustracerd ? null
76, fixDarwinDylibNames, Cocoa ? null
87}:
98
@@ -74,10 +73,6 @@ stdenv.mkDerivation {
7473 '' + lib.optionalString (nodePackages != null) ''
7574 TARGET=$out/lib/ycmd/third_party/tsserver
7675 ln -sf ${nodePackages.typescript} $TARGET
77− '' + lib.optionalString (rustracerd != null) ''
78− TARGET=$out/lib/ycmd/third_party/racerd/target/release
79− mkdir -p $TARGET
80− ln -sf ${rustracerd}/bin/racerd $TARGET
8176 '';
8277
8378 # fixup the argv[0] and replace __file__ with the corresponding path so
pkgs/development/tools/rust/racerd/default.nixdeleted−45
@@ -1,45 +0,0 @@
1−{ lib, stdenv, fetchFromGitHub, fetchpatch, rustPlatform, makeWrapper, Security }:
2−
3−rustPlatform.buildRustPackage rec {
4− pname = "racerd";
5− version = "unstable-2019-09-02";
6−
7− src = fetchFromGitHub {
8− owner = "jwilm";
9− repo = "racerd";
10− rev = "e3d380b9a1d3f3b67286d60465746bc89fea9098";
11− sha256 = "13jqdvjk4savcl03mrn2vzgdsd7vxv2racqbyavrxp2cm9h6cjln";
12− };
13−
14− cargoPatches = [
15− (fetchpatch {
16− url = "https://github.com/jwilm/racerd/commit/856f3656e160cd2909c5166e962f422c901720ee.patch";
17− sha256 = "1qq2k4bnwjz5qgn7s8yxd090smwn2wvdm8dd1rrlgpln0a5vxkpb";
18− })
19− ];
20−
21− cargoSha256 = "08zn65c5ivhn2qs02aiixyqwhywrw8kfvs0kgzxdzsipic47n2qq";
22−
23− # a nightly compiler is required unless we use this cheat code.
24− RUSTC_BOOTSTRAP=1;
25−
26− doCheck = false;
27−
28− nativeBuildInputs = [ makeWrapper ];
29− buildInputs = lib.optional stdenv.isDarwin Security;
30−
31− RUST_SRC_PATH = rustPlatform.rustcSrc;
32−
33− installPhase = ''
34− mkdir -p $out/bin
35− cp -p $releaseDir/racerd $out/bin/
36− wrapProgram $out/bin/racerd --set-default RUST_SRC_PATH "$RUST_SRC_PATH"
37− '';
38−
39− meta = with lib; {
40− broken = true;
41− description = "JSON/HTTP Server based on racer for adding Rust support to editors and IDEs";
42− homepage = "https://github.com/jwilm/racerd";
43− license = licenses.asl20;
44− };
45−}
pkgs/top-level/aliases.nix+1
@@ -782,6 +782,7 @@ mapAliases ({
782782 runCommandNoCC = runCommand;
783783 runCommandNoCCLocal = runCommandLocal;
784784 runwayml = throw "runwayml is now a webapp"; # added 2021-04-17
785+ rustracerd = throw "rustracerd has been removed because it is broken and unmaintained"; # added 2021-10-19
785786 rxvt_unicode-with-plugins = rxvt-unicode; # added 2020-02-02
786787 rxvt_unicode = rxvt-unicode-unwrapped; # added 2020-02-02
787788 subversion19 = throw "subversion19 has been removed as it has reached its end of life"; # added 2021-03-31
pkgs/top-level/all-packages.nix−5
@@ -12784,9 +12784,6 @@ with pkgs;
1278412784 rustracer = callPackage ../development/tools/rust/racer {
1278512785 inherit (darwin.apple_sdk.frameworks) Security;
1278612786 };
12787− rustracerd = callPackage ../development/tools/rust/racerd {
12788− inherit (darwin.apple_sdk.frameworks) Security;
12789− };
1279012787 rust-analyzer-unwrapped = callPackage ../development/tools/rust/rust-analyzer {
1279112788 inherit (darwin.apple_sdk.frameworks) CoreServices;
1279212789 };
@@ -15332,8 +15329,6 @@ with pkgs;
1533215329 ycmd = callPackage ../development/tools/misc/ycmd {
1533315330 inherit (darwin.apple_sdk.frameworks) Cocoa;
1533415331 python = python3;
15335− # currently broken
15336− rustracerd = null;
1533715332 };
1533815333
1533915334 yodl = callPackage ../development/tools/misc/yodl { };