[bug#78558,1/2] gnu: make-librewolf-source: Delete testing/web-platform.
Commit Message
* gnu/packages/librewolf.scm (make-librewolf-source): Delete
testing/web-platform. This frees more than 800M of RAM during the
build. Removing it seems to be enough to allow build on some
machines.
---
gnu/packages/librewolf.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
@@ -193,7 +193,11 @@ (define* (make-librewolf-source #:key version firefox-hash librewolf-hash l10n)
(search-patches
"librewolf-compare-paths.patch"
"librewolf-use-system-wide-dir.patch"
- "librewolf-add-store-to-rdd-allowlist.patch")))))
+ "librewolf-add-store-to-rdd-allowlist.patch"))
+ ;; XXX: 75 Mo (800+ Mo uncompressed) of unused tests.
+ ;; Removing it makes it possible to compile on some systems.
+ (modules '((guix build utils)))
+ (snippet #~(delete-file-recursively "testing/web-platform")))))
;;; Define the versions of rust needed to build firefox, trying to match
;;; upstream. See table at [0], `Uses' column for the specific version.