aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2024-04-29 14:02:43 +0200
committerClément Lassieur <clement@lassieur.org>2024-04-29 14:07:06 +0200
commit6489f97f4a999b9b5e9b1a16d51c905e0cde4cdf (patch)
treeeb452be71fed7ab07f56554e4f1fecf7946eb1ab /gnu
parent3bd8d238aba718bf949691d0e37fa310e2cfc12a (diff)
downloadguix-6489f97f4a999b9b5e9b1a16d51c905e0cde4cdf.tar.gz
guix-6489f97f4a999b9b5e9b1a16d51c905e0cde4cdf.zip
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/tor-browsers.scm6
1 files changed, 5 insertions, 1 deletions
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"))