rustracerd: remove
This commit is contained in:
parent
5b3ac7b07e
commit
28aa1f987c
4 changed files with 1 additions and 55 deletions
|
@ -3,7 +3,6 @@
|
||||||
, godef ? null
|
, godef ? null
|
||||||
, gotools ? null
|
, gotools ? null
|
||||||
, nodePackages ? null
|
, nodePackages ? null
|
||||||
, rustracerd ? null
|
|
||||||
, fixDarwinDylibNames, Cocoa ? null
|
, fixDarwinDylibNames, Cocoa ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
@ -74,10 +73,6 @@ stdenv.mkDerivation {
|
||||||
'' + lib.optionalString (nodePackages != null) ''
|
'' + lib.optionalString (nodePackages != null) ''
|
||||||
TARGET=$out/lib/ycmd/third_party/tsserver
|
TARGET=$out/lib/ycmd/third_party/tsserver
|
||||||
ln -sf ${nodePackages.typescript} $TARGET
|
ln -sf ${nodePackages.typescript} $TARGET
|
||||||
'' + lib.optionalString (rustracerd != null) ''
|
|
||||||
TARGET=$out/lib/ycmd/third_party/racerd/target/release
|
|
||||||
mkdir -p $TARGET
|
|
||||||
ln -sf ${rustracerd}/bin/racerd $TARGET
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# fixup the argv[0] and replace __file__ with the corresponding path so
|
# fixup the argv[0] and replace __file__ with the corresponding path so
|
||||||
|
|
|
@ -1,45 +0,0 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, rustPlatform, makeWrapper, Security }:
|
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
|
||||||
pname = "racerd";
|
|
||||||
version = "unstable-2019-09-02";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "jwilm";
|
|
||||||
repo = "racerd";
|
|
||||||
rev = "e3d380b9a1d3f3b67286d60465746bc89fea9098";
|
|
||||||
sha256 = "13jqdvjk4savcl03mrn2vzgdsd7vxv2racqbyavrxp2cm9h6cjln";
|
|
||||||
};
|
|
||||||
|
|
||||||
cargoPatches = [
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/jwilm/racerd/commit/856f3656e160cd2909c5166e962f422c901720ee.patch";
|
|
||||||
sha256 = "1qq2k4bnwjz5qgn7s8yxd090smwn2wvdm8dd1rrlgpln0a5vxkpb";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
cargoSha256 = "08zn65c5ivhn2qs02aiixyqwhywrw8kfvs0kgzxdzsipic47n2qq";
|
|
||||||
|
|
||||||
# a nightly compiler is required unless we use this cheat code.
|
|
||||||
RUSTC_BOOTSTRAP=1;
|
|
||||||
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
|
||||||
buildInputs = lib.optional stdenv.isDarwin Security;
|
|
||||||
|
|
||||||
RUST_SRC_PATH = rustPlatform.rustcSrc;
|
|
||||||
|
|
||||||
installPhase = ''
|
|
||||||
mkdir -p $out/bin
|
|
||||||
cp -p $releaseDir/racerd $out/bin/
|
|
||||||
wrapProgram $out/bin/racerd --set-default RUST_SRC_PATH "$RUST_SRC_PATH"
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
broken = true;
|
|
||||||
description = "JSON/HTTP Server based on racer for adding Rust support to editors and IDEs";
|
|
||||||
homepage = "https://github.com/jwilm/racerd";
|
|
||||||
license = licenses.asl20;
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -807,6 +807,7 @@ mapAliases ({
|
||||||
runCommandNoCC = runCommand;
|
runCommandNoCC = runCommand;
|
||||||
runCommandNoCCLocal = runCommandLocal;
|
runCommandNoCCLocal = runCommandLocal;
|
||||||
runwayml = throw "runwayml is now a webapp"; # added 2021-04-17
|
runwayml = throw "runwayml is now a webapp"; # added 2021-04-17
|
||||||
|
rustracerd = throw "rustracerd has been removed because it is broken and unmaintained"; # added 2021-10-19
|
||||||
rxvt_unicode-with-plugins = rxvt-unicode; # added 2020-02-02
|
rxvt_unicode-with-plugins = rxvt-unicode; # added 2020-02-02
|
||||||
rxvt_unicode = rxvt-unicode-unwrapped; # added 2020-02-02
|
rxvt_unicode = rxvt-unicode-unwrapped; # added 2020-02-02
|
||||||
subversion19 = throw "subversion19 has been removed as it has reached its end of life"; # added 2021-03-31
|
subversion19 = throw "subversion19 has been removed as it has reached its end of life"; # added 2021-03-31
|
||||||
|
|
|
@ -12734,9 +12734,6 @@ with pkgs;
|
||||||
rustracer = callPackage ../development/tools/rust/racer {
|
rustracer = callPackage ../development/tools/rust/racer {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
};
|
};
|
||||||
rustracerd = callPackage ../development/tools/rust/racerd {
|
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
|
||||||
};
|
|
||||||
rust-analyzer-unwrapped = callPackage ../development/tools/rust/rust-analyzer {
|
rust-analyzer-unwrapped = callPackage ../development/tools/rust/rust-analyzer {
|
||||||
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||||
};
|
};
|
||||||
|
@ -15278,8 +15275,6 @@ with pkgs;
|
||||||
ycmd = callPackage ../development/tools/misc/ycmd {
|
ycmd = callPackage ../development/tools/misc/ycmd {
|
||||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||||
python = python3;
|
python = python3;
|
||||||
# currently broken
|
|
||||||
rustracerd = null;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
yodl = callPackage ../development/tools/misc/yodl { };
|
yodl = callPackage ../development/tools/misc/yodl { };
|
||||||
|
|
Loading…
Reference in a new issue