gnu: make-torbrowser: Add store to rdd allowlist.

Without this patch, some extensions break when the browsers are built with
system nss and livestreams are broken on these browsers due to a default
deny sandboxing rule.

See commit ab24e2ebe5 and issues #546 on
codeberg and #77559 on debbugs.

* gnu/packages/tor-browsers.scm (make-torbrowser) [arguments] <#:phases>
'apply-guix-specific-patches: Add torbrowsers-add-store-to-rdd-allowlist.patch.
* gnu/packages/patches/torbrowsers-add-store-to-rdd-allowlist.patch: Add it.
* gnu/local.mk: Register it.

Change-Id: I4c9cb514131eae35db6149492e0ee1c4916bcfde
This commit is contained in:
André Batista 2025-06-30 14:31:43 -03:00 committed by Ian Eure
parent 04393803a1
commit 6ee9cd170b
No known key found for this signature in database
GPG key ID: 8499AC88F1A71CF2
3 changed files with 38 additions and 0 deletions

View file

@ -385,6 +385,9 @@ Browser.")
(lambda (file) (invoke "patch" "--force" "-p1" "-i" file))
'(#$(local-file
(search-patch "torbrowser-compare-paths.patch"))
#$(local-file
(search-patch
"torbrowsers-add-store-to-rdd-allowlist.patch"))
#$(local-file
(search-patch "icecat-use-system-wide-dir.patch"))))))
(add-after 'apply-guix-specific-patches 'remove-bundled-libraries