gnu: libxcursor: Set a better default XCURSORPATH.

* gnu/packages/xorg.scm (libxcursor)[arguments]: Add "--with-cursorpath" to
configure-flags.

Change-Id: I821cd440cf4e9e6fcc67c9164a38b81e8d793dff
This commit is contained in:
宋文武 2025-01-11 11:33:29 +08:00
parent 8ce68fba44
commit 841b26811d
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -5423,7 +5423,17 @@ (define-public libxcursor
"1h62narayrhrkqalrmx7z3s6yppw1acbp5id3skrvrygshnl1sgx"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags '("--disable-static")))
(list
#:configure-flags
#~(list "--disable-static"
;; Set default path, used when XCURSOR_PATH is unset.
(string-append "--with-cursorpath="
(string-join
'("~/.local/share/icons" "~/.icons"
"~/.guix-profile/share/icons"
"/run/current-system/profile/share/icons"
"/usr/share/icons")
":")))))
(propagated-inputs
(list libx11 libxrender libxfixes xorgproto))
(native-inputs