apteryx pushed a commit to branch version-1.4.0
in repository guix.

commit 4d58611cfabd02888cd78e63535a68b4713faf70
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Mon Jan 3 12:35:14 2022 -0500

    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.
---
 gnu/packages/rust.scm | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 40678d77ed..e227b08aac 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")))

Reply via email to