diff options
author | Yureka <yuka@yuka.dev> | 2023-03-26 13:25:25 +0200 |
---|---|---|
committer | zowoq <59103226+zowoq@users.noreply.github.com> | 2023-03-27 08:08:40 +1000 |
commit | 91c36201aa02ea8495747624e3b6b321c4a94f74 (patch) | |
tree | f1d8d631a2b61bf3e88fe2c81bd0343f325be805 | |
parent | 370040c2f1b9504b9506ac0d4253cfc4e7b397aa (diff) |
rustfmt: fix build for 1.68
-rw-r--r-- | pkgs/development/compilers/rust/rustfmt.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/compilers/rust/rustfmt.nix b/pkgs/development/compilers/rust/rustfmt.nix index 2c2a144609315..1ff36e71e82ba 100644 --- a/pkgs/development/compilers/rust/rustfmt.nix +++ b/pkgs/development/compilers/rust/rustfmt.nix @@ -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; |