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.
This commit is contained in:
Ricardo Wurmus 2021-12-02 10:52:45 +01:00
parent e1cb787870
commit f1fd313e48
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -8836,15 +8836,7 @@ (define-public gnome-shell
(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)