diff --git a/pkgs/development/compilers/rust/rustc.nix b/pkgs/development/compilers/rust/rustc.nix index 0a4a351b1cfd..ee4ee37dfc98 100644 --- a/pkgs/development/compilers/rust/rustc.nix +++ b/pkgs/development/compilers/rust/rustc.nix @@ -93,7 +93,7 @@ in stdenv.mkDerivation (finalAttrs: { # attempts to download the missing source tarball "--set=build.rustfmt=${rustfmt}/bin/rustfmt" ] ++ [ - "--tools=rustc,rust-analyzer-proc-macro-srv" + "--tools=rustc,rustdoc,rust-analyzer-proc-macro-srv" "--enable-rpath" "--enable-vendor" "--build=${stdenv.buildPlatform.rust.rustcTargetSpec}"