guix/gnu
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
..
bootloader
build
home home: services: Add home-xmodmap-service-type. 2023-03-17 23:20:36 +01:00
installer
machine
packages gnu: emacs-cider: Update to 1.7.0. 2023-03-24 23:53:13 +01:00
services services: xorg-wrapper: Support xorg server input rewriting. 2023-03-25 10:06:36 +08:00
system system: Update skeleton gdbinit. 2023-03-07 16:35:20 +02:00
tests tests: gdm: Remove tmpfs related tests. 2023-03-21 16:53:28 -04:00
artwork.scm
bootloader.scm
ci.scm
compression.scm
home.scm home: 'home-environment-with-provenance' uses the HE location info. 2023-03-20 09:14:23 +04:00
image.scm
installer.scm
local.mk gnu: guile-3.0-latest: Add patch for invalid unicode handling. 2023-03-24 13:39:05 +00:00
machine.scm
packages.scm
services.scm services: etc-service: Deprecate etc-service procedure. 2023-03-16 12:37:03 +01:00
system.scm services: etc-service: Deprecate etc-service procedure. 2023-03-16 12:37:03 +01:00
tests.scm