summaryrefslogtreecommitdiff
path: root/gnu/packages/xorg.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2025-01-11 11:33:29 +0800
committer宋文武 <iyzsong@member.fsf.org>2025-01-11 11:33:29 +0800
commit841b26811d657f5072d852ee10466f7f4894c845 (patch)
treeae771ab66fae82cb96db9971537e9f97b42810d3 /gnu/packages/xorg.scm
parent8ce68fba447755c036f657be64c50d074fb36b9f (diff)
gnu: libxcursor: Set a better default XCURSORPATH.xorg-updates
* gnu/packages/xorg.scm (libxcursor)[arguments]: Add "--with-cursorpath" to configure-flags. Change-Id: I821cd440cf4e9e6fcc67c9164a38b81e8d793dff
Diffstat (limited to 'gnu/packages/xorg.scm')
-rw-r--r--gnu/packages/xorg.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index a169e06861..64a8408bd8 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5423,7 +5423,17 @@ Wayland.")
"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