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
This commit is contained in:
Clément Lassieur 2024-04-29 14:02:43 +02:00
parent 3bd8d238ab
commit 6489f97f4a
No known key found for this signature in database
GPG key ID: 89F96D4808F359C7

View file

@ -805,7 +805,11 @@ (define (runpaths-of-input label)
"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"))