rustracer: Enable doCheck and fix typo.

This commit is contained in:
Moritz Ulrich 2016-07-25 21:31:53 +02:00
parent f2cdd55412
commit a6562f77d0

View file

@ -17,9 +17,11 @@ buildRustPackage rec {
buildInputs = [ makeWrapper ];
preCheck = ''
export RUST_SRC;_PATH="${rustPlatform.rust.rustc.src}/src"
export RUST_SRC_PATH="${rustPlatform.rust.rustc.src}/src"
'';
doCheck = true;
installPhase = ''
mkdir -p $out/bin
cp -p target/release/racer $out/bin/