rustfmt: fix build for 1.68

This commit is contained in:
Yureka
2023-03-27 08:08:40 +10:00
committed by zowoq
parent 370040c2f1
commit 91c36201aa
+3 -1
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;