I tried the following patch, setting some xkb-related options for configuring xorg-server:
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 9a0e3e2..096ad54 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -4279,10 +4279,23 @@ emulation to complete hardware acceleration for modern GPUs.") ("xf86dgaproto" ,xf86dgaproto) ("xf86driproto" ,xf86driproto) ("xf86vidmodeproto" ,xf86vidmodeproto) -;; ("xkbutils" ,xkbutils) -;; ("xkeyboard-config" ,xkeyboard-config) +("setxkbmap" ,setxkbmap) +("xkbcomp" ,xkbcomp) +("xkbevd" ,xkbevd) +("xkbutils" ,xkbutils) +("xkeyboard-config" ,xkeyboard-config) ("xtrans" ,xtrans) ("zlib" ,zlib))) + (arguments + `(#:configure-flags + (list (string-append "--with-xkb-path=" + (assoc-ref %build-inputs "xkeyboard-config") + "/share/X11/xkb") + (string-append "--with-xkb-output=" + "/tmp") + (string-append "--with-xkb-bin-directory=" + (assoc-ref %build-inputs "xkbcomp") + "/bin")))) (home-page "http://www.x.org/wiki/") (synopsis "xorg implementation of the X Window System") (description "X.org provides an implementation of the X Window System") The same error occurs. Inspired by nixpkgs, I also tried the following patch to xkeyboard-config: + (arguments + `(#:configure-flags + (list (string-append "--with-xkb-base=" + (assoc-ref %outputs "out") + "/etc/X11/xkb") + "--with-xkb-rules-symlink=xorg,xfree86"))) Always the same error. Should nix not have the same problem? Andreas