summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-01-03 12:35:14 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-01-10 11:51:30 -0500
commit4cecce696023186ac547e3cb36e21ce8a95e3e41 (patch)
treee1e6a0be97b83e455c540acfabe840dc3eab8131 /gnu
parent9495b7800b18f43375278c9f11b06c95af129ac5 (diff)
downloadguix-4cecce696023186ac547e3cb36e21ce8a95e3e41.tar.gz
gnu: rust: Do not generate doc.
The share/doc directory weights 527 MiB and bundles fonts.

* gnu/packages/rust.scm (rust-1.57)[phases]{enable-docs}: Delete phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/rust.scm5
1 files changed, 0 insertions, 5 deletions
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 0500dead90..739ffb3192 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -733,11 +733,6 @@ safety and thread safety guarantees.")
                                 ((file) file))
                    (("fn ctrl_c_kills_everyone")
                     "#[ignore]\nfn ctrl_c_kills_everyone"))))
-             (add-after 'configure 'enable-docs
-               (lambda _
-                 (substitute* "config.toml"
-                   (("docs = false")
-                    "docs = true"))))
              (add-after 'configure 'add-gdb-to-config
                (lambda* (#:key inputs #:allow-other-keys)
                  (let ((gdb (assoc-ref inputs "gdb")))