summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Richert <82525672+AlexanderRichert-NOAA@users.noreply.github.com>2024-02-21 10:04:13 -0800
committerGitHub <noreply@github.com>2024-02-21 11:04:13 -0700
commite196978c7cf44b0f7531b2594a7d67dd6d3cefb5 (patch)
tree94142911595a06027d1c8fc229b4acbca6c19fb4
parentde3d1e6c66896f90f090c298fa05c5aefb42bde8 (diff)
downloadspack-e196978c7cf44b0f7531b2594a7d67dd6d3cefb5.tar.gz
spack-e196978c7cf44b0f7531b2594a7d67dd6d3cefb5.tar.bz2
spack-e196978c7cf44b0f7531b2594a7d67dd6d3cefb5.tar.xz
spack-e196978c7cf44b0f7531b2594a7d67dd6d3cefb5.zip
Add 'docs' variant to rust-bootstrap (#42768)
* Add 'docs' variant to rust-bootstrap * remove docs for rust-bootstrap
-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))