diff options
Diffstat (limited to 'librewolf.scm')
-rw-r--r-- | librewolf.scm | 10 |
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))))))) |