mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: librewolf: Remove 'fix-preferences phase.
* gnu/packages/librewolf.scm (librewolf): [phase 'fix-preferences]: Remove. Change-Id: I36708b416e60fff8f239d6ba8621cbba9a8c3c14
This commit is contained in:
parent
e16c9332df
commit
674880d122
1 changed files with 0 additions and 20 deletions
|
@ -273,26 +273,6 @@
|
||||||
,@%default-gnu-imported-modules)
|
,@%default-gnu-imported-modules)
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-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
|
(add-after 'unpack 'fix-ffmpeg-runtime-linker
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(let* ((ffmpeg (assoc-ref inputs "ffmpeg"))
|
(let* ((ffmpeg (assoc-ref inputs "ffmpeg"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue