summaryrefslogtreecommitdiff
path: root/nongnu/packages
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-05-20 18:58:07 +0200
committerHilton Chain <hako@ultrarare.space>2025-06-12 20:52:22 +0800
commit86f184a060723e3559e6bddc9a1cce4624180734 (patch)
treee9997a8f50be2138e75e6fbb440234ec2f37f627 /nongnu/packages
parent24f10c70518ae0eeaf77332bf15f70790e981d84 (diff)
nongnu: firefox, firefox-esr: Delete testing/web-platform.
* nongnu/packages/mozilla.scm (firefox, firefox-esr)[source]: Delete testing/web-platform to allow build with 1G less RAM. Signed-off-by: Hilton Chain <hako@ultrarare.space>
Diffstat (limited to 'nongnu/packages')
-rw-r--r--nongnu/packages/mozilla.scm14
1 files changed, 11 insertions, 3 deletions
diff --git a/nongnu/packages/mozilla.scm b/nongnu/packages/mozilla.scm
index c75fd1c..f1654fa 100644
--- a/nongnu/packages/mozilla.scm
+++ b/nongnu/packages/mozilla.scm
@@ -106,7 +106,11 @@
%load-path)
patch))
'("firefox-esr-compare-paths.patch"
- "firefox-esr-use-system-wide-dir.patch")))))
+ "firefox-esr-use-system-wide-dir.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"))))
(build-system gnu-build-system)
(arguments
(list
@@ -536,6 +540,8 @@ Release (ESR) version.")
(method url-fetch)
(uri (string-append "https://archive.mozilla.org/pub/firefox/releases/"
version "/source/firefox-" version ".source.tar.xz"))
+ (sha256
+ (base32 "12si1538mdgmvkpsqkc42x7rdll7mmapkczx8vipp53qbwafgp4c"))
(patches
(map (lambda (patch)
(search-path
@@ -545,8 +551,10 @@ Release (ESR) version.")
'("firefox-restore-desktop-files.patch"
"firefox-ge-138-compare-paths.patch"
"firefox-use-system-wide-dir.patch")))
- (sha256
- (base32 "12si1538mdgmvkpsqkc42x7rdll7mmapkczx8vipp53qbwafgp4c"))))
+ ;; 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"))))
(arguments
(substitute-keyword-arguments (package-arguments firefox-esr)
((#:phases phases)