gnu: librewolf: Tidy code formatting.

* gnu/packages/librewolf.scm (librewolf): Tidy code formatting.

Change-Id: I0341da820f170c26888800ea433e539f2a6a2520
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
This commit is contained in:
Ian Eure 2025-01-21 19:45:50 -08:00 committed by Zheng Junjie
parent a99ddc8b53
commit fd351356e0
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -570,10 +570,13 @@
(string-append (assoc-ref inputs (string-append (assoc-ref inputs
lib-name) lib-name)
"/lib")) "/lib"))
'("mesa" "libpng-apng" "libnotify" "libva" '("eudev" ; For U2F and WebAuthn
"pulseaudio" "gtk+" "pipewire" "libnotify"
;; For U2F and WebAuthn "libpng-apng"
"eudev"))) "libva"
"mesa"
"pipewire" ; For sharing on Wayland
"pulseaudio")))
;; VA-API is run in the RDD (Remote Data Decoder) sandbox ;; VA-API is run in the RDD (Remote Data Decoder) sandbox
;; and must be explicitly given access to files it needs. ;; and must be explicitly given access to files it needs.
@ -584,11 +587,12 @@
;; runpaths of the needed libraries to add everything to ;; runpaths of the needed libraries to add everything to
;; LD_LIBRARY_PATH. These will then be accessible in the ;; LD_LIBRARY_PATH. These will then be accessible in the
;; RDD sandbox. ;; RDD sandbox.
(rdd-whitelist (map (cut string-append <> "/") (rdd-whitelist
(delete-duplicates (append-map (map (cut string-append <> "/")
runpaths-of-input (delete-duplicates
'("mesa" (append-map runpaths-of-input
"ffmpeg"))))) '("mesa"
"ffmpeg")))))
(gtk-share (string-append (assoc-ref inputs (gtk-share (string-append (assoc-ref inputs
"gtk+") "gtk+")
"/share"))) "/share")))