rustfmt: make sure to test rustfmt instead of rustc
Co-Authored-By: symphorien <symphorien@users.noreply.github.com>
This commit is contained in:
parent
16cb2611d9
commit
dc374218c9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user