From e196978c7cf44b0f7531b2594a7d67dd6d3cefb5 Mon Sep 17 00:00:00 2001 From: Alex Richert <82525672+AlexanderRichert-NOAA@users.noreply.github.com> Date: Wed, 21 Feb 2024 10:04:13 -0800 Subject: Add 'docs' variant to rust-bootstrap (#42768) * Add 'docs' variant to rust-bootstrap * remove docs for rust-bootstrap --- var/spack/repos/builtin/packages/rust-bootstrap/package.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)) -- cgit v1.2.3-70-g09d2