rustfmt: fix build for 1.68

This commit is contained in:
Yureka 2023-03-26 13:25:25 +02:00 committed by zowoq
parent 370040c2f1
commit 91c36201aa

View file

@ -11,7 +11,9 @@ rustPlatform.buildRustPackage rec {
# changes hash of vendor directory otherwise
dontUpdateAutotoolsGnuConfigScripts = true;
buildInputs = lib.optional stdenv.isDarwin Security;
buildInputs = [
rustPlatform.rust.rustc.llvm
] ++ lib.optional stdenv.isDarwin Security;
# As of 1.0.0 and rustc 1.30 rustfmt requires a nightly compiler
RUSTC_BOOTSTRAP = 1;