about summary refs log tree commit diff
path: root/pkgs/development/compilers/rust
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2024-04-12 06:33:38 +0200
committerVladimír Čunát <v@cunat.cz>2024-04-12 06:33:38 +0200
commit8cb7d7cc7f936644e2c1180c4e02e893ac5fdbce (patch)
tree3e781befc9519e26e297a2ca2abcf852c4b0c40b /pkgs/development/compilers/rust
parentffd49d1029a463a7af628f0765c11b42fb7e2748 (diff)
parent9e0eb58032bcb3db9e37b3b0755f84e5fa902d51 (diff)
Merge #303214: rustc: build rustdoc even when cross compiling
...into staging
Diffstat (limited to 'pkgs/development/compilers/rust')
-rw-r--r--pkgs/development/compilers/rust/rustc.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/rust/rustc.nix b/pkgs/development/compilers/rust/rustc.nix
index 0a4a351b1cfda..ee4ee37dfc98b 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}"