rustracer: remove rustup dependency
racer builds fine on Linux and macOS without racer as a dependency. racer does not actually use rustup, but 'rustc --print sysroot', which is already available through the rustc dependency.
This commit is contained in:
parent
4c0d5c0c79
commit
f780a982cf
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper, rustup, substituteAll }:
|
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper, substituteAll }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "racer-${version}";
|
name = "racer-${version}";
|
||||||
@ -13,8 +13,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
cargoSha256 = "1j3fviimdxn6xa75z0l9wkgdnznp8q20jjs42mql6ql782dga5lk";
|
cargoSha256 = "1j3fviimdxn6xa75z0l9wkgdnznp8q20jjs42mql6ql782dga5lk";
|
||||||
|
|
||||||
# rustup is required for test
|
buildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ makeWrapper rustup ];
|
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export RUST_SRC_PATH="${rustPlatform.rustcSrc}"
|
export RUST_SRC_PATH="${rustPlatform.rustcSrc}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user