Merge pull request #50142 from danieldk/racer-no-rustup

rustracer: remove rustup dependency
This commit is contained in:
Timo Kaufmann 2018-11-10 14:20:03 +01:00 committed by GitHub
commit 28d2ab7ed3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper, rustup, substituteAll }:
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper, substituteAll }:
rustPlatform.buildRustPackage rec {
name = "racer-${version}";
@ -13,8 +13,7 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "1j3fviimdxn6xa75z0l9wkgdnznp8q20jjs42mql6ql782dga5lk";
# rustup is required for test
buildInputs = [ makeWrapper rustup ];
buildInputs = [ makeWrapper ];
preCheck = ''
export RUST_SRC_PATH="${rustPlatform.rustcSrc}"