summaryrefslogtreecommitdiffstats
path: root/librewolf.scm
diff options
context:
space:
mode:
authormsglm <msglm@techchud.xyz>2024-02-26 03:49:31 -0600
committermsglm <msglm@techchud.xyz>2024-02-26 03:49:31 -0600
commiteb4164e6964c18e46ab2ec460e5db8a75b265438 (patch)
tree0007ea057510c6138cf90725f6dda150936f39c7 /librewolf.scm
parentc1a928cf1d30d176cb32618d5865580a0be12b78 (diff)
downloadguix-msglm-eb4164e6964c18e46ab2ec460e5db8a75b265438.tar.gz
guix-msglm-eb4164e6964c18e46ab2ec460e5db8a75b265438.tar.bz2
guix-msglm-eb4164e6964c18e46ab2ec460e5db8a75b265438.zip
use snippets instead of patches
Diffstat (limited to 'librewolf.scm')
-rw-r--r--librewolf.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/librewolf.scm b/librewolf.scm
index 8e53410..45c6224 100644
--- a/librewolf.scm
+++ b/librewolf.scm
@@ -4,8 +4,8 @@
#:use-module (guix build-system trivial)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
- #:use-module (guix gexp)
#:use-module (guix packages)
+ #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module ((guix build utils) #:select (alist-replace))
#:use-module (gnu packages)
@@ -47,6 +47,7 @@
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xorg)
+
#:use-module (nongnu packages mozilla)
)
;; Update this id with every firefox update to its release date.
@@ -65,12 +66,17 @@
version "/librewolf-" version ".source.tar.gz"))
(sha256
(base32 "050kg717jy70fvjfh91aydmq25mqaz6cbf9cqsdsgh6hvpxrw873"))
- (patches (search-patches "librewolf-msglm-browser.patch"))
))
(arguments
(substitute-keyword-arguments (package-arguments firefox-esr)
((#:phases phases)
#~(modify-phases #$phases
+ ;(add-before 'build 'replace-policies
+ (add-before 'patch-cargo-checksums 'replace-policies
+ (lambda _
+ (copy-file #$(local-file "policies.json") "lw/policies.json"))
+ )
+
(replace 'set-build-id
(lambda _
(setenv "MOZ_BUILD_DATE" #$%firefox-build-id)))))))