~ruther/guix-local

fd351356e0f63b9efc5dad7ff06f6b22e000b93f — Ian Eure 1 year, 2 months ago a99ddc8
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>
1 files changed, 13 insertions(+), 9 deletions(-)

M gnu/packages/librewolf.scm
M gnu/packages/librewolf.scm => gnu/packages/librewolf.scm +13 -9
@@ 570,10 570,13 @@
                                       (string-append (assoc-ref inputs
                                                                 lib-name)
                                                      "/lib"))
                                     '("mesa" "libpng-apng" "libnotify" "libva"
                                       "pulseaudio" "gtk+" "pipewire"
                                       ;; For U2F and WebAuthn
                                       "eudev")))
                                     '("eudev" ; For U2F and WebAuthn
                                       "libnotify"
                                       "libpng-apng"
                                       "libva"
                                       "mesa"
                                       "pipewire" ; For sharing on Wayland
                                       "pulseaudio")))

                              ;; VA-API is run in the RDD (Remote Data Decoder) sandbox
                              ;; and must be explicitly given access to files it needs.


@@ 584,11 587,12 @@
                              ;; runpaths of the needed libraries to add everything to
                              ;; LD_LIBRARY_PATH.  These will then be accessible in the
                              ;; RDD sandbox.
                              (rdd-whitelist (map (cut string-append <> "/")
                                                  (delete-duplicates (append-map
                                                                      runpaths-of-input
                                                                      '("mesa"
                                                                        "ffmpeg")))))
                              (rdd-whitelist
                               (map (cut string-append <> "/")
                                    (delete-duplicates
                                     (append-map runpaths-of-input
                                                 '("mesa"
                                                   "ffmpeg")))))
                              (gtk-share (string-append (assoc-ref inputs
                                                                   "gtk+")
                                                        "/share")))