summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/rust-bootstrap/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/rust-bootstrap/package.py b/var/spack/repos/builtin/packages/rust-bootstrap/package.py
index b4cd9b1baa..ea73046f9c 100644
--- a/var/spack/repos/builtin/packages/rust-bootstrap/package.py
+++ b/var/spack/repos/builtin/packages/rust-bootstrap/package.py
@@ -126,4 +126,5 @@ class RustBootstrap(Package):
def install(self, spec, prefix):
install_script = Executable("./install.sh")
- install_script(f"--prefix={prefix}")
+ install_args = [f"--prefix={prefix}", "--without=rust-docs"]
+ install_script(" ".join(install_args))