* setxkbmap: add a symlink to xkeyboard-config so that it can find the
rules files. Maybe this should be done through an environment variable. svn path=/nixpkgs/trunk/; revision=8496
This commit is contained in:
parent
e3d318da8b
commit
c214c7525d
3 changed files with 7 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
# This is a generated file. Do not edit!
|
||||
{ stdenv, fetchurl, pkgconfig, freetype, fontconfig
|
||||
, libxslt, expat, libdrm, libpng, zlib, perl, mesa, mesaHeaders
|
||||
, xkeyboard_config
|
||||
}:
|
||||
|
||||
rec {
|
||||
|
@ -1274,6 +1275,7 @@ rec {
|
|||
sha256 = "19jxlksl90i674yad1n7w42s3nv0hhlkwczya2lnavpl0570jr34";
|
||||
};
|
||||
buildInputs = [pkgconfig libX11 libxkbfile ];
|
||||
postInstall = "ln -sfn ${xkeyboard_config}/etc $out/share";
|
||||
}) // {inherit libX11 libxkbfile ;};
|
||||
|
||||
showfont = (stdenv.mkDerivation {
|
||||
|
|
|
@ -44,6 +44,8 @@ $extraAttrs{"xorgserver"} = " mesaSrc = mesa.src; x11BuildHook = ./xorgserver.sh
|
|||
|
||||
$extraAttrs{"imake"} = " inherit xorgcffiles; x11BuildHook = ./imake.sh; patches = [./imake.patch]; ";
|
||||
|
||||
$extraAttrs{"setxkbmap"} = " postInstall = \"ln -sfn ${xkeyboard_config}/etc $out/share\"; ";
|
||||
|
||||
# Used to avoid the following assertion error:
|
||||
# java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
|
||||
$extraAttrs{"libxcb"} = " patches = [./xcb_xlib-no-assert-on-lock.patch]; ";
|
||||
|
@ -201,6 +203,7 @@ print OUT <<EOF;
|
|||
# This is a generated file. Do not edit!
|
||||
{ stdenv, fetchurl, pkgconfig, freetype, fontconfig
|
||||
, libxslt, expat, libdrm, libpng, zlib, perl, mesa, mesaHeaders
|
||||
, xkeyboard_config
|
||||
}:
|
||||
|
||||
rec {
|
||||
|
|
|
@ -2147,7 +2147,8 @@ rec {
|
|||
|
||||
xorg = recurseIntoAttrs (import ../servers/x11/xorg {
|
||||
inherit fetchurl stdenv pkgconfig freetype fontconfig
|
||||
libxslt expat libdrm libpng zlib perl mesa mesaHeaders;
|
||||
libxslt expat libdrm libpng zlib perl mesa mesaHeaders
|
||||
xkeyboard_config;
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue