From 4cecce696023186ac547e3cb36e21ce8a95e3e41 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 3 Jan 2022 12:35:14 -0500 Subject: 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(-) (limited to 'gnu/packages') 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"))) -- cgit v1.2.3