diff options
author | 宋文武 <[email protected]> | 2025-01-11 11:33:29 +0800 |
---|---|---|
committer | 宋文武 <[email protected]> | 2025-01-31 16:39:27 +0800 |
commit | 2acfafffb246dedd6c2c4102a52ef795c9592629 (patch) | |
tree | 1afcd775c147a9ddc3a4300bd3ac2a38f81e9b58 | |
parent | 3794e67b5b5dd7da5b844f82428a340c2d0e3257 (diff) |
gnu: libxcursor: Set a better default XCURSORPATH.
* gnu/packages/xorg.scm (libxcursor)[arguments]: Add "--with-cursorpath" to
configure-flags.
Change-Id: I821cd440cf4e9e6fcc67c9164a38b81e8d793dff
-rw-r--r-- | gnu/packages/xorg.scm | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 56e0e47f22..3944aec0d4 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -5424,7 +5424,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 |