me
/
guix
Archived
1
0
Fork 0

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.
master
Maxim Cournoyer 2022-01-03 12:35:14 -05:00
parent 9495b7800b
commit 4cecce6960
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 0 additions and 5 deletions

View File

@ -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")))