xorg.xserver: configure --with-xkb-path= (#21653)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, makeWrapper, xkbcomp, xorgserver, getopt, xkeyboard_config
|
||||
{ stdenv, fetchurl, makeWrapper, xkbcomp, xorgserver, getopt
|
||||
, xauth, utillinux, which, fontsConf, gawk, coreutils }:
|
||||
let
|
||||
xvfb_run = fetchurl {
|
||||
@@ -12,7 +12,6 @@ stdenv.mkDerivation {
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin
|
||||
cp ${xvfb_run} $out/bin/xvfb-run
|
||||
sed -i 's|XVFBARGS="|XVFBARGS="-xkbdir ${xkeyboard_config}/etc/X11/xkb |' $out/bin/xvfb-run
|
||||
|
||||
chmod a+x $out/bin/xvfb-run
|
||||
wrapProgram $out/bin/xvfb-run \
|
||||
|
||||
Reference in New Issue
Block a user