This is an automated email from the git hooks/post-receive script.
snape pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 6489f97f4a gnu: make-torbrowser: Fix file picker.
6489f97f4a is described below
commit 6489f97f4a999b9b5e9b1a16d51c905e0cde4cdf
Author: Clément Lassieur <[email protected]>
AuthorDate: Mon Apr 29 14:02:43 2024 +0200
gnu: make-torbrowser: Fix file picker.
* gnu/packages/tor-browsers.scm (make-torbrowser): Set
"widget.use-xdg-desktop-portal.file-picker" to 1 (Always) instead of 2
(Auto)
to force the use of XDG portal.
Change-Id: Id3c24a292a309c3a079a3843e8cb1c00f2cf9551
---
gnu/packages/tor-browsers.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tor-browsers.scm b/gnu/packages/tor-browsers.scm
index f25a5c9269..0c43804881 100644
--- a/gnu/packages/tor-browsers.scm
+++ b/gnu/packages/tor-browsers.scm
@@ -805,7 +805,11 @@ Browser.")
"https://gnuzilla.gnu.org/mozzarella")
(format #t "pref(~s, ~s);~%"
"lightweightThemes.getMoreURL"
- "https://gnuzilla.gnu.org/mozzarella"))))))
+ "https://gnuzilla.gnu.org/mozzarella")
+ ;; FIXME: https://github.com/NixOS/nixpkgs/issues/307095
+ (format #t "pref(~s, ~a);~%"
+ "widget.use-xdg-desktop-portal.file-picker"
+ "1"))))))
(add-after 'autoconfig 'autoconfig-tor
(lambda* (#:key inputs #:allow-other-keys)
(let ((lib (in-vicinity #$output "lib/torbrowser"))