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>
This commit is contained in:
Nicolas Graves 2025-05-20 18:58:07 +02:00 committed by Hilton Chain
parent 24f10c7051
commit 86f184a060
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

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