summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2026-02-10 08:46:50 +0800
committerHilton Chain <hako@ultrarare.space>2026-02-10 10:46:27 +0800
commitb95f168675e3d419f43547ad2909c98bf9159587 (patch)
treefb98e8f4ce20bf124d5464aad53e76a5a1d08232
parent2a4baaabda2779696affaa1708a8a1e78e70cb52 (diff)
nongnu: mozilla: Search patches with ‘nongnu-patches’.
* nongnu/packages/mozilla.scm (firefox-esr, firefox) [source]: Use ‘nongnu-patches’.
-rw-r--r--nongnu/packages/mozilla.scm29
1 files changed, 11 insertions, 18 deletions
diff --git a/nongnu/packages/mozilla.scm b/nongnu/packages/mozilla.scm
index 691033e..3f165e1 100644
--- a/nongnu/packages/mozilla.scm
+++ b/nongnu/packages/mozilla.scm
@@ -38,6 +38,7 @@
#:use-module ((guix build utils) #:select (alist-replace))
#:use-module (gnu packages)
+ #:use-module (nongnu packages)
#:use-module (gnu packages assembly)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
@@ -101,15 +102,11 @@
(sha256
(base32 "0a8mrc4pja4cjhayg4af5lsfrf7161gfq03idwik0vvjf68772k0"))
(patches
- (map (lambda (patch)
- (search-path
- (map (cut string-append <> "/nongnu/packages/patches")
- %load-path)
- patch))
- '("firefox-restore-desktop-files.patch"
- "firefox-ge-138-compare-paths.patch"
- "firefox-esr-use-system-wide-dir.patch"
- "firefox-esr-add-store-to-rdd-allowlist.patch")))
+ (nongnu-patches
+ "firefox-restore-desktop-files.patch"
+ "firefox-ge-138-compare-paths.patch"
+ "firefox-esr-use-system-wide-dir.patch"
+ "firefox-esr-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)))
@@ -544,15 +541,11 @@ Release (ESR) version.")
(sha256
(base32 "064w9nk928jydig31ph18k93ain152nabv6fgl3zz20sslb8m8xz"))
(patches
- (map (lambda (patch)
- (search-path
- (map (cut string-append <> "/nongnu/packages/patches")
- %load-path)
- patch))
- '("firefox-restore-desktop-files.patch"
- "firefox-ge-138-compare-paths.patch"
- "firefox-use-system-wide-dir.patch"
- "firefox-add-store-to-rdd-allowlist.patch")))
+ (nongnu-patches
+ "firefox-restore-desktop-files.patch"
+ "firefox-ge-138-compare-paths.patch"
+ "firefox-use-system-wide-dir.patch"
+ "firefox-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)))