1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-12 16:10:39 +02:00
Files
guix/gnu/services
r0man a7f118d062 services: xorg-wrapper: Support xorg server input rewriting.
This patch adds support for proper xorg server input rewriting. It uses the
lookup-package-direct-input procedure to configure the X server paths
dynamically, instead of always using the hard coded package. Something like
this is now possible:

(define other-mesa
  (package-input-rewriting/spec `(("mesa" . ,(const other-mesa)))))

(xorg-configuration
 (xorg-configuration
  (server (other-mesa xorg-server))))

Without this patch the X server would still be configured with mesa (causing
version issues), and not with other-mesa (as per the input rewrite).

* gnu/services/xorg.scm (xorg-configuration-server-package-path)
(xorg-configuration-dri-driver-path, xorg-configuration-xkb-bin-dir)
(xorg-configuration-xkb-dir): New procedures.
(xorg-wrapper): Use them for dri and xkb paths.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-03-25 10:06:36 +08:00
..
2023-01-14 07:53:21 -05:00
2022-12-25 14:15:59 +01:00
2023-03-22 10:09:03 -04:00
2023-03-07 11:39:50 +01:00
2022-11-20 12:00:04 +00:00