rustfmt: make sure to test rustfmt instead of rustc

Co-Authored-By: symphorien <symphorien@users.noreply.github.com>
This commit is contained in:
Bas van Dijk 2019-08-19 12:54:40 +02:00 committed by GitHub
parent 16cb2611d9
commit dc374218c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ rustPlatform.buildRustPackage rec {
# the rust source tarball already has all the dependencies vendored, no need to fetch them again
cargoVendorDir = "vendor";
preBuild = "pushd src/tools/rustfmt";
postBuild = "popd";
preInstall = "popd";
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;