Merge pull request #50142 from danieldk/racer-no-rustup
rustracer: remove rustup dependency
This commit is contained in:
commit
28d2ab7ed3
@ -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…
Reference in New Issue
Block a user