gnu: librewolf: Remove 'fix-preferences phase.

* gnu/packages/librewolf.scm (librewolf):
[phase 'fix-preferences]: Remove.

Change-Id: I36708b416e60fff8f239d6ba8621cbba9a8c3c14
This commit is contained in:
Ian Eure 2025-04-19 17:03:08 -07:00
parent e16c9332df
commit 674880d122
No known key found for this signature in database
GPG key ID: 8499AC88F1A71CF2

View file

@ -273,26 +273,6 @@
,@%default-gnu-imported-modules)
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-preferences
(lambda* (#:key inputs #:allow-other-keys)
(call-with-port (open-file "browser/app/profile/firefox.js" "a")
(lambda (port)
(define (write-setting key value)
(format port "~%pref(\"~a\", ~a);~%" key value)
(format #t
"fix-preferences: setting value of ~a to ~a~%" key
value))
;; We should allow the sandbox to read the store directory,
;; because the sandbox has access to /usr on FHS distros.
(write-setting
"security.sandbox.content.read_path_whitelist"
(string-append "\""
(%store-directory) "/\""))
;; XDG settings should be managed by Guix.
(write-setting "browser.shell.checkDefaultBrowser"
"false")))))
(add-after 'unpack 'fix-ffmpeg-runtime-linker
(lambda* (#:key inputs #:allow-other-keys)
(let* ((ffmpeg (assoc-ref inputs "ffmpeg"))