~ruther/guix-local

674880d12220fa47ed9676ff219fc4a7d8f78321 — Ian Eure 1 year, 5 months ago e16c933
gnu: librewolf: Remove 'fix-preferences phase.

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

Change-Id: I36708b416e60fff8f239d6ba8621cbba9a8c3c14
1 files changed, 0 insertions(+), 20 deletions(-)

M gnu/packages/librewolf.scm
M gnu/packages/librewolf.scm => gnu/packages/librewolf.scm +0 -20
@@ 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"))