~ruther/guix-local

f1fd313e486491caf1ff5874810f2ee06091e825 — Ricardo Wurmus 4 years ago e1cb787
gnu: gnome-shell: Do not wrap in LD_LIBRARY_PATH.

Fixes <https://bugs.gnu.org/37123>.

* gnu/packages/gnome.scm (gnome-shell)[arguments]: Remove LD_LIBRARY_PATH from
wrapper.
1 files changed, 1 insertions(+), 9 deletions(-)

M gnu/packages/gnome.scm
M gnu/packages/gnome.scm => gnu/packages/gnome.scm +1 -9
@@ 8836,15 8836,7 @@ properties, screen resolution, and other GNOME parameters.")
                   (gi-typelib-path  (getenv "GI_TYPELIB_PATH"))
                   (python-path      (getenv "GUIX_PYTHONPATH")))
               (wrap-program (string-append out "/bin/gnome-shell")
                 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path))
                 ;; FIXME: gnome-shell loads these libraries with unqualified
                 ;; names only, so they need to be on LD_LIBRARY_PATH.  The
                 ;; alternative might be to patch gnome-shell.
                 `("LD_LIBRARY_PATH" ":" prefix
                   ,(map (lambda (pkg)
                           (string-append (assoc-ref inputs pkg) "/lib"))
                         '("gdk-pixbuf"
                           "gnome-bluetooth" "librsvg" "libgweather"))))
                 `("GI_TYPELIB_PATH" ":" prefix (,gi-typelib-path)))
               (for-each
                (lambda (prog)
                  (wrap-program (string-append out "/bin/" prog)