* Make sure that the X server can write the compiled xkb keymap. This

requires $out/share/X11/xkb/compiled to be writable, so symlink it
  to /var/tmp.  Using --with-xkb-output doesn't work in a chroot build
  because `make install' tries to write a README.compiled file to
  /var/tmp, which doesn't exist in the chroot.

svn path=/nixpkgs/trunk/; revision=17000
This commit is contained in:
Eelco Dolstra 2009-09-09 22:16:09 +00:00
parent cb3722a72a
commit 9d15693163

View File

@ -69,12 +69,11 @@
patches = [./xorgserver-dri-path.patch ./xorgserver-xkbcomp-path.patch]; patches = [./xorgserver-dri-path.patch ./xorgserver-xkbcomp-path.patch];
buildInputs = attrs.buildInputs ++ [args.zlib xorg.xf86bigfontproto]; buildInputs = attrs.buildInputs ++ [args.zlib xorg.xf86bigfontproto];
propagatedBuildInputs = [xorg.libpciaccess]; propagatedBuildInputs = [xorg.libpciaccess];
/* postInstall =
configureFlags = "--with-xkb-output=/var/tmp"; ''
postPatch = '' rm -rf $out/share/X11/xkb/compiled
sed -i -e 's@ -w @ -I${args.xkeyboard_config}/etc/X11/xkb -w @' xkb/ddxLoad.c ln -s /var/tmp $out/share/X11/xkb/compiled
''; '';
*/
}; };
} }